From c5dc63295186ad35ece6a2c9c940e84665f9f98f Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Sat, 3 Jun 2017 17:36:28 +0800 Subject: - Fix missing relationships in drawing content type shall, relate issue #58; - Add a donation link, related issue #57 ^_^ --- xmlDrawing.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xmlDrawing.go') 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. -- cgit v1.2.1