summaryrefslogtreecommitdiff
path: root/chart.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 /chart.go
parentd372bb977f57b244faf635e21af458bf2e8a98ef (diff)
- Fix missing relationships in drawing content type shall, relate issue #58;
- Add a donation link, related issue #57 ^_^
Diffstat (limited to 'chart.go')
-rw-r--r--chart.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/chart.go b/chart.go
index b8464ad..09cbbad 100644
--- a/chart.go
+++ b/chart.go
@@ -812,6 +812,7 @@ func (f *File) drawingParser(drawingXML string, content *xlsxWsDr) int {
if ok { // Append Model
decodeWsDr := decodeWsDr{}
xml.Unmarshal([]byte(f.readXML(drawingXML)), &decodeWsDr)
+ content.R = decodeWsDr.R
cNvPrID = len(decodeWsDr.OneCellAnchor) + len(decodeWsDr.TwoCellAnchor) + 1
for _, v := range decodeWsDr.OneCellAnchor {
content.OneCellAnchor = append(content.OneCellAnchor, &xdrCellAnchor{