forked from unidoc/unioffice
-
Notifications
You must be signed in to change notification settings - Fork 1
/
schemas.go
96 lines (85 loc) · 6.96 KB
/
schemas.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
// Copyright 2017 Baliance. All rights reserved.
//
// Use of this source code is governed by the terms of the Affero GNU General
// Public License version 3.0 as published by the Free Software Foundation and
// appearing in the file LICENSE included in the packaging of this file. A
// commercial license can be purchased by contacting sales@baliance.com.
package unioffice
// Consts for content types used throughout the package
const (
// Common strict
OfficeDocumentTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/officeDocument"
StylesTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/styles"
ThemeTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/theme"
SettingsTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/settings"
ImageTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/image"
CommentsTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/comments"
ThumbnailTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/metadata/thumbnail"
DrawingTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/drawing"
ChartTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/chart"
ExtendedPropertiesTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/extendedProperties"
CustomXMLTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/customXml"
// SML strict
WorksheetTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"
SharedStingsTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/sharedStrings"
TableTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/table"
// WML strict
HeaderTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/header"
FooterTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/footer"
NumberingTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/numbering"
FontTableTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/fontTable"
WebSettingsTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/webSettings"
FootNotesTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/footnotes"
EndNotesTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/endnotes"
// PML strict
SlideTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/slide"
// VML strict
VMLDrawingTypeStrict = "http://purl.oclc.org/ooxml/officeDocument/relationships/vmlDrawing"
// Common
OfficeDocumentType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"
StylesType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles"
ThemeType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"
ThemeContentType = "application/vnd.openxmlformats-officedocument.theme+xml"
SettingsType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings"
ImageType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"
CommentsType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments"
CommentsContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"
ThumbnailType = "http://schemas.openxmlformats.org/package/2006/relationships/metadata/thumbnail"
DrawingType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing"
DrawingContentType = "application/vnd.openxmlformats-officedocument.drawing+xml"
ChartType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart"
ChartContentType = "application/vnd.openxmlformats-officedocument.drawingml.chart+xml"
HyperLinkType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink"
ExtendedPropertiesType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties"
CorePropertiesType = "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties"
CustomXMLType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml"
// SML
WorksheetType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"
WorksheetContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"
SharedStingsType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings"
SharedStringsContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"
SMLStyleSheetContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"
TableType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"
TableContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"
ViewPropertiesType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/viewProps"
TableStylesType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableStyles"
// WML
HeaderType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header"
FooterType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer"
NumberingType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering"
FontTableType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable"
WebSettingsType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings"
FootNotesType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes"
EndNotesType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes"
// PML
SlideType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide"
SlideContentType = "application/vnd.openxmlformats-officedocument.presentationml.slide+xml"
SlideMasterType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"
SlideMasterContentType = "application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml"
SlideLayoutType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"
SlideLayoutContentType = "application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"
PresentationPropertiesType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/presProps"
// VML
VMLDrawingType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing"
VMLDrawingContentType = "application/vnd.openxmlformats-officedocument.vmlDrawing"
)