summaryrefslogtreecommitdiff
path: root/xmlDrawing.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2017-06-03 17:36:28 +0800
committerRi Xu <xuri.me@gmail.com>2017-06-03 17:36:28 +0800
commitc5dc63295186ad35ece6a2c9c940e84665f9f98f (patch)
treef009632d6837ac4ce98ff5b7fceffabf449336c8 /xmlDrawing.go
parentd372bb977f57b244faf635e21af458bf2e8a98ef (diff)
- Fix missing relationships in drawing content type shall, relate issue #58;
- Add a donation link, related issue #57 ^_^
Diffstat (limited to 'xmlDrawing.go')
-rw-r--r--xmlDrawing.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/xmlDrawing.go b/xmlDrawing.go
index 966ca7b..bf263a5 100644
--- a/xmlDrawing.go
+++ b/xmlDrawing.go
@@ -198,8 +198,9 @@ type xlsxWsDr struct {
XMLName xml.Name `xml:"xdr:wsDr"`
OneCellAnchor []*xdrCellAnchor `xml:"xdr:oneCellAnchor"`
TwoCellAnchor []*xdrCellAnchor `xml:"xdr:twoCellAnchor"`
- Xdr string `xml:"xmlns:xdr,attr"`
- A string `xml:"xmlns:a,attr"`
+ A string `xml:"xmlns:a,attr,omitempty"`
+ Xdr string `xml:"xmlns:xdr,attr,omitempty"`
+ R string `xml:"xmlns:r,attr,omitempty"`
}
// xlsxGraphicFrame (Graphic Frame) directly maps the xdr:graphicFrame element.