diff options
author | Ri Xu <xuri.me@gmail.com> | 2016-12-23 17:47:25 +0800 |
---|---|---|
committer | Ri Xu <xuri.me@gmail.com> | 2016-12-23 17:47:25 +0800 |
commit | b84bfa7eab84a8e065bd5acedeae3d0ba8dc5f8b (patch) | |
tree | 2f60fefa79f398f8d413f693993c083311ee4e24 /xmlWorkbook.go | |
parent | a08c8eb1aecea4a7d82fc70eb2aa4f886a6ed632 (diff) |
- Update maximum 31 characters allowed in sheet title;
- Fix issue XML tag `headerFooter` and `sheetPr` element self-close errors cause file corruption;
- Fix issue `Section` and `Pane` element order make file corruption in some case;
- Change sheet `rId` calculation method in `/xl/workbook.xml`, fix makes file corruption in some case;
- Compatibility improved: add `xlsxTabColor` struct and some XML element for worksheet
Diffstat (limited to 'xmlWorkbook.go')
-rw-r--r-- | xmlWorkbook.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmlWorkbook.go b/xmlWorkbook.go index 1f355c7..b5c6879 100644 --- a/xmlWorkbook.go +++ b/xmlWorkbook.go @@ -74,7 +74,8 @@ type xlsxWorkbookPr struct { DefaultThemeVersion string `xml:"defaultThemeVersion,attr,omitempty"` BackupFile bool `xml:"backupFile,attr,omitempty"` ShowObjects string `xml:"showObjects,attr,omitempty"` - Date1904 bool `xml:"date1904,attr"` + Date1904 bool `xml:"date1904,attr,omitempty"` + CodeName string `xml:"codeName,attr,omitempty"` } // xlsxBookViews directly maps the bookViews element from the |