diff options
author | Ri Xu <xuri.me@gmail.com> | 2017-01-19 14:05:32 +0800 |
---|---|---|
committer | Ri Xu <xuri.me@gmail.com> | 2017-01-19 14:05:32 +0800 |
commit | 4a9b39afc634a2399c4729f4fb47c9f290ab1ee5 (patch) | |
tree | 71d673195ccae30d6ef174611f6cf362be7e9133 /xmlWorkbook.go | |
parent | 52796f6e58e95145e2964d0d313a2f721dcc040e (diff) |
- Add hyperlink and set formula support for cell support;
- Character limits for cells added;
- Update go test and fix typo
Diffstat (limited to 'xmlWorkbook.go')
-rw-r--r-- | xmlWorkbook.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/xmlWorkbook.go b/xmlWorkbook.go index 775d01b..22e9e48 100644 --- a/xmlWorkbook.go +++ b/xmlWorkbook.go @@ -16,11 +16,12 @@ type xlsxWorkbookRels struct { Relationships []xlsxWorkbookRelation `xml:"Relationship"` } -// xmlxWorkbookRelation maps sheet id and xl/worksheets/sheet%d.xml +// xmlxWorkbookRelation maps sheet id and xl/worksheets/_rels/sheet%d.xml.rels type xlsxWorkbookRelation struct { - ID string `xml:"Id,attr"` - Target string `xml:",attr"` - Type string `xml:",attr"` + ID string `xml:"Id,attr"` + Target string `xml:",attr"` + Type string `xml:",attr"` + TargetMode string `xml:",attr,omitempty"` } // xlsxWorkbook directly maps the workbook element from the namespace |