summaryrefslogtreecommitdiff
path: root/xmlWorksheet.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2020-09-03 23:44:43 +0800
committerxuri <xuri.me@gmail.com>2020-09-03 23:44:43 +0800
commit1111de2fdb7da9aa9f039f5173a6dafa6d98029c (patch)
tree90bfde21945cd6f6182f0471764123a0cf91862c /xmlWorksheet.go
parent98f1a699033b76a1482edc03d533dd1f67bcd2d6 (diff)
improve compatibility for phonetic hint and sheet tab color
Diffstat (limited to 'xmlWorksheet.go')
-rw-r--r--xmlWorksheet.go15
1 files changed, 10 insertions, 5 deletions
diff --git a/xmlWorksheet.go b/xmlWorksheet.go
index bc81b03..0eaa8ee 100644
--- a/xmlWorksheet.go
+++ b/xmlWorksheet.go
@@ -234,11 +234,11 @@ type xlsxSheetPr struct {
SyncVertical bool `xml:"syncVertical,attr,omitempty"`
SyncRef string `xml:"syncRef,attr,omitempty"`
TransitionEvaluation bool `xml:"transitionEvaluation,attr,omitempty"`
+ TransitionEntry bool `xml:"transitionEntry,attr,omitempty"`
Published *bool `xml:"published,attr"`
CodeName string `xml:"codeName,attr,omitempty"`
FilterMode bool `xml:"filterMode,attr,omitempty"`
EnableFormatConditionsCalculation *bool `xml:"enableFormatConditionsCalculation,attr"`
- TransitionEntry bool `xml:"transitionEntry,attr,omitempty"`
TabColor *xlsxTabColor `xml:"tabColor,omitempty"`
OutlinePr *xlsxOutlinePr `xml:"outlinePr,omitempty"`
PageSetUpPr *xlsxPageSetUpPr `xml:"pageSetUpPr,omitempty"`
@@ -247,7 +247,10 @@ type xlsxSheetPr struct {
// xlsxOutlinePr maps to the outlinePr element. SummaryBelow allows you to
// adjust the direction of grouper controls.
type xlsxOutlinePr struct {
- SummaryBelow bool `xml:"summaryBelow,attr"`
+ ApplyStyles *bool `xml:"applyStyles,attr"`
+ SummaryBelow bool `xml:"summaryBelow,attr,omitempty"`
+ SummaryRight bool `xml:"summaryRight,attr,omitempty"`
+ ShowOutlineSymbols bool `xml:"showOutlineSymbols,attr,omitempty"`
}
// xlsxPageSetUpPr expresses page setup properties of the worksheet.
@@ -258,9 +261,11 @@ type xlsxPageSetUpPr struct {
// xlsxTabColor represents background color of the sheet tab.
type xlsxTabColor struct {
- RGB string `xml:"rgb,attr,omitempty"`
- Theme int `xml:"theme,attr,omitempty"`
- Tint float64 `xml:"tint,attr,omitempty"`
+ Auto bool `xml:"auto,attr,omitempty"`
+ Indexed int `xml:"indexed,attr,omitempty"`
+ RGB string `xml:"rgb,attr,omitempty"`
+ Theme int `xml:"theme,attr,omitempty"`
+ Tint float64 `xml:"tint,attr,omitempty"`
}
// xlsxCols defines column width and column formatting for one or more columns