summaryrefslogtreecommitdiff
path: root/drawing.go
diff options
context:
space:
mode:
Diffstat (limited to 'drawing.go')
-rw-r--r--drawing.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/drawing.go b/drawing.go
index 0bc7900..5582bb4 100644
--- a/drawing.go
+++ b/drawing.go
@@ -1160,6 +1160,12 @@ func (f *File) drawingParser(path string) (*xlsxWsDr, int) {
log.Printf("xml decode error: %s", err)
}
content.R = decodeWsDr.R
+ for _, v := range decodeWsDr.AlternateContent {
+ content.AlternateContent = append(content.AlternateContent, &xlsxAlternateContent{
+ Content: v.Content,
+ XMLNSMC: SourceRelationshipCompatibility.Value,
+ })
+ }
for _, v := range decodeWsDr.OneCellAnchor {
content.OneCellAnchor = append(content.OneCellAnchor, &xdrCellAnchor{
EditAs: v.EditAs,