From 4f942255e460d6eb3235c3973fe22eb19c328b43 Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Sat, 15 Jul 2017 20:03:44 +0800 Subject: - Fix missing element in worksheet, workbook and styles. Related issue #81; - Format code and update readme --- xmlWorkbook.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmlWorkbook.go') 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"` -- cgit v1.2.1