forked from plandem/xlsx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
files_types.go
26 lines (22 loc) · 1.46 KB
/
files_types.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
// Copyright (c) 2017 Andrey Gayvoronsky <plandem@gmail.com>
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package internal
import (
"github.com/plandem/ooxml/ml"
)
//List of all supported RelationType and ContentType
const (
RelationTypeWorkbook ml.RelationType = ml.NamespaceRelationships + "/officeDocument"
RelationTypeSharedStrings ml.RelationType = ml.NamespaceRelationships + "/sharedStrings"
RelationTypeWorksheet ml.RelationType = ml.NamespaceRelationships + "/worksheet"
RelationTypeStyles ml.RelationType = ml.NamespaceRelationships + "/styles"
RelationTypeHyperlink ml.RelationType = ml.NamespaceRelationships + "/hyperlink"
RelationTypeComments ml.RelationType = ml.NamespaceRelationships + "/comments"
RelationTypeVmlDrawing ml.RelationType = ml.NamespaceRelationships + "/vmlDrawing"
ContentTypeWorkbook ml.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"
ContentTypeSharedStrings ml.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"
ContentTypeWorksheet ml.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"
ContentTypeStyles ml.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"
ContentTypeComments ml.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"
)