diff options
author | Ri Xu <xuri.me@gmail.com> | 2017-06-03 17:36:28 +0800 |
---|---|---|
committer | Ri Xu <xuri.me@gmail.com> | 2017-06-03 17:36:28 +0800 |
commit | c5dc63295186ad35ece6a2c9c940e84665f9f98f (patch) | |
tree | f009632d6837ac4ce98ff5b7fceffabf449336c8 /chart.go | |
parent | d372bb977f57b244faf635e21af458bf2e8a98ef (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.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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{ |