summaryrefslogtreecommitdiff
path: root/xmlWorksheet.go
diff options
context:
space:
mode:
authorHarris <mike.harris@cerner.com>2018-12-13 13:01:36 -0600
committerHarris <mike.harris@cerner.com>2018-12-13 14:01:57 -0600
commitfaa7285a4f5db13e3629360562abc8a459bad0c2 (patch)
treed8e816e6c04634a7a9e53884705198b39370bd40 /xmlWorksheet.go
parent4094e0019f08bb771eb45ee90b1ae119c71a0f3a (diff)
Add support to flip outline summaries
This adds outlinePr support, with the summaryBelow attribute which defaults to true. Closes #304 Signed-off-by: Michael Harris
Diffstat (limited to 'xmlWorksheet.go')
-rw-r--r--xmlWorksheet.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmlWorksheet.go b/xmlWorksheet.go
index 42f8ddb..d35b40e 100644
--- a/xmlWorksheet.go
+++ b/xmlWorksheet.go
@@ -211,6 +211,13 @@ type xlsxSheetPr struct {
TransitionEntry bool `xml:"transitionEntry,attr,omitempty"`
TabColor *xlsxTabColor `xml:"tabColor,omitempty"`
PageSetUpPr *xlsxPageSetUpPr `xml:"pageSetUpPr,omitempty"`
+ OutlinePr *xlsxOutlinePr `xml:"outlinePr,omitempty"`
+}
+
+// xlsxOutlinePr maps to the outlinePr element
+// SummaryBelow allows you to adjust the direction of grouper controls
+type xlsxOutlinePr struct {
+ SummaryBelow bool `xml:"summaryBelow,attr"`
}
// xlsxPageSetUpPr directly maps the pageSetupPr element in the namespace