diff options
author | xuri <xuri.me@gmail.com> | 2022-10-08 22:08:06 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-10-08 22:08:16 +0800 |
commit | b1e776ee33ec78b7f6c2a0de8109009963dea521 (patch) | |
tree | 2a769b090171be17d3d1d6dacb7cc987f34d28ad /xmlWorksheet.go | |
parent | 57051326d06cea02774dc0ace3293906ec5f281e (diff) |
Support to set summary columns to appear to the right of detail in an outline
- Simplify calculation engine code
- Update documentation for the functions
- Update dependencies module
Diffstat (limited to 'xmlWorksheet.go')
-rw-r--r-- | xmlWorksheet.go | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/xmlWorksheet.go b/xmlWorksheet.go index 28e785f..e55406c 100644 --- a/xmlWorksheet.go +++ b/xmlWorksheet.go @@ -250,9 +250,9 @@ type xlsxSheetPr struct { // adjust the direction of grouper controls. type xlsxOutlinePr struct { ApplyStyles *bool `xml:"applyStyles,attr"` - SummaryBelow bool `xml:"summaryBelow,attr"` - SummaryRight bool `xml:"summaryRight,attr"` - ShowOutlineSymbols bool `xml:"showOutlineSymbols,attr"` + SummaryBelow *bool `xml:"summaryBelow,attr"` + SummaryRight *bool `xml:"summaryRight,attr"` + ShowOutlineSymbols *bool `xml:"showOutlineSymbols,attr"` } // xlsxPageSetUpPr expresses page setup properties of the worksheet. @@ -989,6 +989,9 @@ type SheetPropsOptions struct { // OutlineSummaryBelow indicating whether summary rows appear below detail // in an outline, when applying an outline. OutlineSummaryBelow *bool `json:"outline_summary_below,omitempty"` + // OutlineSummaryRight indicating whether summary columns appear to the + // right of detail in an outline, when applying an outline. + OutlineSummaryRight *bool `json:"outline_summary_right,omitempty"` // BaseColWidth specifies the number of characters of the maximum digit // width of the normal style's font. This value does not include margin // padding or extra padding for grid lines. It is only the number of |