@@ -19,37 +19,39 @@ import (
1919// Source relationship and namespace list, associated prefixes and schema in which it was
2020// introduced.
2121var (
22- SourceRelationship = xml.Attr {Name : xml.Name {Local : "r" , Space : "xmlns" }, Value : "http://schemas.openxmlformats.org/officeDocument/2006/relationships" }
23- SourceRelationshipCompatibility = xml.Attr {Name : xml.Name {Local : "mc" , Space : "xmlns" }, Value : "http://schemas.openxmlformats.org/markup-compatibility/2006" }
24- SourceRelationshipChart20070802 = xml.Attr {Name : xml.Name {Local : "c14" , Space : "xmlns" }, Value : "http://schemas.microsoft.com/office/drawing/2007/8/2/chart" }
25- SourceRelationshipChart2014 = xml.Attr {Name : xml.Name {Local : "c16" , Space : "xmlns" }, Value : "http://schemas.microsoft.com/office/drawing/2014/chart" }
26- SourceRelationshipChart201506 = xml.Attr {Name : xml.Name {Local : "c16r2" , Space : "xmlns" }, Value : "http://schemas.microsoft.com/office/drawing/2015/06/chart" }
27- NameSpaceSpreadSheet = xml.Attr {Name : xml.Name {Local : "xmlns" }, Value : "http://schemas.openxmlformats.org/spreadsheetml/2006/main" }
28- NameSpaceSpreadSheetX14 = xml.Attr {Name : xml.Name {Local : "x14" , Space : "xmlns" }, Value : "http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" }
29- NameSpaceDrawingML = xml.Attr {Name : xml.Name {Local : "a" , Space : "xmlns" }, Value : "http://schemas.openxmlformats.org/drawingml/2006/main" }
30- NameSpaceDrawingMLChart = xml.Attr {Name : xml.Name {Local : "c" , Space : "xmlns" }, Value : "http://schemas.openxmlformats.org/drawingml/2006/chart" }
31- NameSpaceDrawingMLSpreadSheet = xml.Attr {Name : xml.Name {Local : "xdr" , Space : "xmlns" }, Value : "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing" }
32- NameSpaceSpreadSheetX15 = xml.Attr {Name : xml.Name {Local : "x15" , Space : "xmlns" }, Value : "http://schemas.microsoft.com/office/spreadsheetml/2010/11/main" }
33- NameSpaceSpreadSheetExcel2006Main = xml.Attr {Name : xml.Name {Local : "xne" , Space : "xmlns" }, Value : "http://schemas.microsoft.com/office/excel/2006/main" }
34- NameSpaceMacExcel2008Main = xml.Attr {Name : xml.Name {Local : "mx" , Space : "xmlns" }, Value : "http://schemas.microsoft.com/office/mac/excel/2008/main" }
22+ SourceRelationship = xml.Attr {Name : xml.Name {Local : "r" , Space : "xmlns" }, Value : "http://schemas.openxmlformats.org/officeDocument/2006/relationships" }
23+ SourceRelationshipCompatibility = xml.Attr {Name : xml.Name {Local : "mc" , Space : "xmlns" }, Value : "http://schemas.openxmlformats.org/markup-compatibility/2006" }
24+ SourceRelationshipChart20070802 = xml.Attr {Name : xml.Name {Local : "c14" , Space : "xmlns" }, Value : "http://schemas.microsoft.com/office/drawing/2007/8/2/chart" }
25+ SourceRelationshipChart2014 = xml.Attr {Name : xml.Name {Local : "c16" , Space : "xmlns" }, Value : "http://schemas.microsoft.com/office/drawing/2014/chart" }
26+ SourceRelationshipChart201506 = xml.Attr {Name : xml.Name {Local : "c16r2" , Space : "xmlns" }, Value : "http://schemas.microsoft.com/office/drawing/2015/06/chart" }
27+ NameSpaceSpreadSheet = xml.Attr {Name : xml.Name {Local : "xmlns" }, Value : "http://schemas.openxmlformats.org/spreadsheetml/2006/main" }
28+ NameSpaceSpreadSheetX14 = xml.Attr {Name : xml.Name {Local : "x14" , Space : "xmlns" }, Value : "http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" }
29+ NameSpaceDrawingML = xml.Attr {Name : xml.Name {Local : "a" , Space : "xmlns" }, Value : "http://schemas.openxmlformats.org/drawingml/2006/main" }
30+ NameSpaceDrawingMLChart = xml.Attr {Name : xml.Name {Local : "c" , Space : "xmlns" }, Value : "http://schemas.openxmlformats.org/drawingml/2006/chart" }
31+ NameSpaceDrawingMLSpreadSheet = xml.Attr {Name : xml.Name {Local : "xdr" , Space : "xmlns" }, Value : "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing" }
32+ NameSpaceSpreadSheetX15 = xml.Attr {Name : xml.Name {Local : "x15" , Space : "xmlns" }, Value : "http://schemas.microsoft.com/office/spreadsheetml/2010/11/main" }
33+ NameSpaceSpreadSheetExcel2006Main = xml.Attr {Name : xml.Name {Local : "xne" , Space : "xmlns" }, Value : "http://schemas.microsoft.com/office/excel/2006/main" }
34+ NameSpaceMacExcel2008Main = xml.Attr {Name : xml.Name {Local : "mx" , Space : "xmlns" }, Value : "http://schemas.microsoft.com/office/mac/excel/2008/main" }
35+ NameSpaceDocumentPropertiesVariantTypes = xml.Attr {Name : xml.Name {Local : "vt" , Space : "xmlns" }, Value : "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes" }
3536)
3637
3738// Source relationship and namespace.
3839const (
39- SourceRelationshipOfficeDocument = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"
40- SourceRelationshipChart = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart"
41- SourceRelationshipComments = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments"
42- SourceRelationshipImage = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"
43- SourceRelationshipTable = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"
44- SourceRelationshipDrawingML = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing"
45- SourceRelationshipDrawingVML = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing"
46- SourceRelationshipHyperLink = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink"
47- SourceRelationshipWorkSheet = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"
48- SourceRelationshipChartsheet = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet"
49- SourceRelationshipDialogsheet = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet"
50- SourceRelationshipPivotTable = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotTable"
51- SourceRelationshipPivotCache = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition"
52- SourceRelationshipSharedStrings = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings"
40+ SourceRelationshipOfficeDocument = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"
41+ SourceRelationshipChart = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart"
42+ SourceRelationshipComments = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments"
43+ SourceRelationshipImage = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"
44+ SourceRelationshipTable = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"
45+ SourceRelationshipDrawingML = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing"
46+ SourceRelationshipDrawingVML = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing"
47+ SourceRelationshipHyperLink = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink"
48+ SourceRelationshipWorkSheet = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"
49+ SourceRelationshipChartsheet = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet"
50+ SourceRelationshipDialogsheet = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet"
51+ SourceRelationshipPivotTable = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotTable"
52+ SourceRelationshipPivotCache = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition"
53+ SourceRelationshipSharedStrings = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings"
54+
5355 SourceRelationshipVBAProject = "http://schemas.microsoft.com/office/2006/relationships/vbaProject"
5456 NameSpaceXML = "http://www.w3.org/XML/1998/namespace"
5557 NameSpaceXMLSchemaInstance = "http://www.w3.org/2001/XMLSchema-instance"
0 commit comments