From faa7285a4f5db13e3629360562abc8a459bad0c2 Mon Sep 17 00:00:00 2001 From: Harris Date: Thu, 13 Dec 2018 13:01:36 -0600 Subject: 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 --- xmlWorksheet.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'xmlWorksheet.go') 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 -- cgit v1.2.1