diff options
author | xuri <xuri.me@gmail.com> | 2022-03-05 14:48:34 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-03-05 14:48:34 +0800 |
commit | f0cb29cf6668ab96992b1e48278d9f5b1f9e4976 (patch) | |
tree | 3bcc69e973d070edf0d3a0f7764bb7e91d7774ca /xmlDrawing.go | |
parent | 129052ae7db0fd2c59b1ea9158df0e75450cad42 (diff) |
This closes #1162, improve the compatibility with alternate content
Preserve alternate content in the workbook, worksheet, and drawingML
Diffstat (limited to 'xmlDrawing.go')
-rw-r--r-- | xmlDrawing.go | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/xmlDrawing.go b/xmlDrawing.go index c96034c..4bf43ec 100644 --- a/xmlDrawing.go +++ b/xmlDrawing.go @@ -320,13 +320,14 @@ type xlsxPoint2D struct { // wsDr. type xlsxWsDr struct { sync.Mutex - XMLName xml.Name `xml:"xdr:wsDr"` - AbsoluteAnchor []*xdrCellAnchor `xml:"xdr:absoluteAnchor"` - OneCellAnchor []*xdrCellAnchor `xml:"xdr:oneCellAnchor"` - TwoCellAnchor []*xdrCellAnchor `xml:"xdr:twoCellAnchor"` - A string `xml:"xmlns:a,attr,omitempty"` - Xdr string `xml:"xmlns:xdr,attr,omitempty"` - R string `xml:"xmlns:r,attr,omitempty"` + XMLName xml.Name `xml:"xdr:wsDr"` + A string `xml:"xmlns:a,attr,omitempty"` + Xdr string `xml:"xmlns:xdr,attr,omitempty"` + R string `xml:"xmlns:r,attr,omitempty"` + AlternateContent []*xlsxAlternateContent `xml:"mc:AlternateContent"` + AbsoluteAnchor []*xdrCellAnchor `xml:"xdr:absoluteAnchor"` + OneCellAnchor []*xdrCellAnchor `xml:"xdr:oneCellAnchor"` + TwoCellAnchor []*xdrCellAnchor `xml:"xdr:twoCellAnchor"` } // xlsxGraphicFrame (Graphic Frame) directly maps the xdr:graphicFrame element. |