summaryrefslogtreecommitdiff
path: root/xmlWorksheet.go
diff options
context:
space:
mode:
authorOlivier Mengué <dolmen@cpan.org>2017-11-14 15:09:50 +0100
committerOlivier Mengué <dolmen@cpan.org>2017-11-17 18:45:20 +0100
commit954612157bbb7d2bce5602801019cb172a80b7d6 (patch)
tree4fcd1ebe83b27291f08a5eb7e63af946fdaf802f /xmlWorksheet.go
parent90998bfb4daac6e38346c03f41cb3c4e78b1ef7a (diff)
Add {G,S}etSheetPrOptions()
Add SetSheetPrOptions and GetSheetPrOptions to allow to set options on <sheetPr> and <pageSetUpPr>. The following options are implemented: - CodeName (string) - EnableFormatConditionsCalculation (bool) - Published (bool) - FitToPage (bool) - AutoPageBreaks (bool)
Diffstat (limited to 'xmlWorksheet.go')
-rw-r--r--xmlWorksheet.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlWorksheet.go b/xmlWorksheet.go
index 9b46a28..748ca1f 100644
--- a/xmlWorksheet.go
+++ b/xmlWorksheet.go
@@ -196,7 +196,7 @@ type xlsxSheetPr struct {
CodeName string `xml:"codeName,attr,omitempty"`
EnableFormatConditionsCalculation *bool `xml:"enableFormatConditionsCalculation,attr"`
FilterMode bool `xml:"filterMode,attr,omitempty"`
- Published bool `xml:"published,attr,omitempty"`
+ Published *bool `xml:"published,attr"`
SyncHorizontal bool `xml:"syncHorizontal,attr,omitempty"`
SyncVertical bool `xml:"syncVertical,attr,omitempty"`
TransitionEntry bool `xml:"transitionEntry,attr,omitempty"`