summaryrefslogtreecommitdiff
path: root/xmlWorkbook.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2017-07-15 20:03:44 +0800
committerRi Xu <xuri.me@gmail.com>2017-07-15 20:03:44 +0800
commit4f942255e460d6eb3235c3973fe22eb19c328b43 (patch)
tree6fb7ded8d21e36eb9e95b7595bd3fe5857f03e2f /xmlWorkbook.go
parent4b7d21bb63addb580c3ac533b1fd2b4236bd31a5 (diff)
- Fix missing element in worksheet, workbook and styles. Related issue #81;
- Format code and update readme
Diffstat (limited to 'xmlWorkbook.go')
-rw-r--r--xmlWorkbook.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlWorkbook.go b/xmlWorkbook.go
index 5b3a77c..ddf8ce2 100644
--- a/xmlWorkbook.go
+++ b/xmlWorkbook.go
@@ -203,7 +203,7 @@ type xlsxDefinedName struct {
FunctionGroupID int `xml:"functionGroupId,attr,omitempty"`
Help string `xml:"help,attr,omitempty"`
Hidden bool `xml:"hidden,attr,omitempty"`
- LocalSheetID int `xml:"localSheetId,attr,omitempty"`
+ LocalSheetID int `xml:"localSheetId,attr"`
Name string `xml:"name,attr,omitempty"`
PublishToServer bool `xml:"publishToServer,attr,omitempty"`
ShortcutKey string `xml:"shortcutKey,attr,omitempty"`
@@ -223,7 +223,7 @@ type xlsxCalcPr struct {
CalcID string `xml:"calcId,attr,omitempty"`
CalcMode string `xml:"calcMode,attr,omitempty"`
CalcOnSave bool `xml:"calcOnSave,attr,omitempty"`
- ConcurrentCalc bool `xml:"concurrentCalc,attr,omitempty"`
+ ConcurrentCalc *bool `xml:"concurrentCalc,attr"`
ConcurrentManualCount int `xml:"concurrentManualCount,attr,omitempty"`
ForceFullCalc bool `xml:"forceFullCalc,attr,omitempty"`
FullCalcOnLoad bool `xml:"fullCalcOnLoad,attr,omitempty"`