summaryrefslogtreecommitdiff
path: root/xmlDrawing.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2020-11-04 00:28:20 +0800
committerxuri <xuri.me@gmail.com>2020-11-04 00:28:20 +0800
commitc82a185af83b8b3934efcb0b227e494a18f426ea (patch)
treecb87009836fd0b879c4af1516ff9e6daf6faa043 /xmlDrawing.go
parentfcca8a38389c7a7f99639dc142b9b10c827ac7ce (diff)
Compatibility improvement: parse document core part (workbook) dynamically
Diffstat (limited to 'xmlDrawing.go')
-rw-r--r--xmlDrawing.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlDrawing.go b/xmlDrawing.go
index 91b6b59..d2a59e1 100644
--- a/xmlDrawing.go
+++ b/xmlDrawing.go
@@ -33,6 +33,7 @@ var (
// Source relationship and namespace.
const (
+ SourceRelationshipOfficeDocument = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"
SourceRelationshipChart = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart"
SourceRelationshipComments = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments"
SourceRelationshipImage = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"
@@ -50,6 +51,7 @@ const (
NameSpaceXML = "http://www.w3.org/XML/1998/namespace"
NameSpaceXMLSchemaInstance = "http://www.w3.org/2001/XMLSchema-instance"
StrictSourceRelationship = "http://purl.oclc.org/ooxml/officeDocument/relationships"
+ StrictSourceRelationshipOfficeDocument = "http://purl.oclc.org/ooxml/officeDocument/relationships/officeDocument"
StrictSourceRelationshipChart = "http://purl.oclc.org/ooxml/officeDocument/relationships/chart"
StrictSourceRelationshipComments = "http://purl.oclc.org/ooxml/officeDocument/relationships/comments"
StrictSourceRelationshipImage = "http://purl.oclc.org/ooxml/officeDocument/relationships/image"