浏览代码

Fix #483, adjust the order of fields in the structure

xuri 6 年之前
父节点
当前提交
eef232f09e
共有 1 个文件被更改,包括 7 次插入5 次删除
  1. 7 5
      xmlWorksheet.go

+ 7 - 5
xmlWorksheet.go

@@ -209,16 +209,18 @@ type xlsxPane struct {
 // properties.
 type xlsxSheetPr struct {
 	XMLName                           xml.Name         `xml:"sheetPr"`
-	CodeName                          string           `xml:"codeName,attr,omitempty"`
-	EnableFormatConditionsCalculation *bool            `xml:"enableFormatConditionsCalculation,attr"`
-	FilterMode                        bool             `xml:"filterMode,attr,omitempty"`
-	Published                         *bool            `xml:"published,attr"`
 	SyncHorizontal                    bool             `xml:"syncHorizontal,attr,omitempty"`
 	SyncVertical                      bool             `xml:"syncVertical,attr,omitempty"`
+	SyncRef                           string           `xml:"syncRef,attr,omitempty"`
+	TransitionEvaluation              bool             `xml:"transitionEvaluation,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"`
-	PageSetUpPr                       *xlsxPageSetUpPr `xml:"pageSetUpPr,omitempty"`
 	OutlinePr                         *xlsxOutlinePr   `xml:"outlinePr,omitempty"`
+	PageSetUpPr                       *xlsxPageSetUpPr `xml:"pageSetUpPr,omitempty"`
 }
 
 // xlsxOutlinePr maps to the outlinePr element