diff options
| author | Olivier Mengué <dolmen@cpan.org> | 2017-11-14 15:09:50 +0100 |
|---|---|---|
| committer | Olivier Mengué <dolmen@cpan.org> | 2017-11-17 18:45:20 +0100 |
| commit | 954612157bbb7d2bce5602801019cb172a80b7d6 (patch) | |
| tree | 4fcd1ebe83b27291f08a5eb7e63af946fdaf802f /xmlWorksheet.go | |
| parent | 90998bfb4daac6e38346c03f41cb3c4e78b1ef7a (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.go | 2 |
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"` |
