diff options
author | xuri <xuri.me@gmail.com> | 2022-02-26 21:32:57 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-02-26 21:32:57 +0800 |
commit | 471c8f22d0ac6cc17915eea25d171e578c06ac7d (patch) | |
tree | 83ba371ac1676eef3083ee1a91be5500907dbc05 /xmlWorkbook.go | |
parent | 92764195dc548ab80f336f83a283000cd45eeb34 (diff) |
This closes #1160, and added 4 new formula functions
* Fix show sheet tabs issue
* Ref #65, new formula functions: ERROR.TYPE, HOUR, SECOND TIMEVALUE
Diffstat (limited to 'xmlWorkbook.go')
-rw-r--r-- | xmlWorkbook.go | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/xmlWorkbook.go b/xmlWorkbook.go index f014bee..2bb417c 100644 --- a/xmlWorkbook.go +++ b/xmlWorkbook.go @@ -139,19 +139,19 @@ type xlsxBookViews struct { // http://schemas.openxmlformats.org/spreadsheetml/2006/main This element // specifies a single Workbook view. type xlsxWorkBookView struct { - ActiveTab int `xml:"activeTab,attr,omitempty"` - AutoFilterDateGrouping bool `xml:"autoFilterDateGrouping,attr,omitempty"` - FirstSheet int `xml:"firstSheet,attr,omitempty"` - Minimized bool `xml:"minimized,attr,omitempty"` - ShowHorizontalScroll bool `xml:"showHorizontalScroll,attr,omitempty"` - ShowSheetTabs bool `xml:"showSheetTabs,attr,omitempty"` - ShowVerticalScroll bool `xml:"showVerticalScroll,attr,omitempty"` - TabRatio int `xml:"tabRatio,attr,omitempty"` Visibility string `xml:"visibility,attr,omitempty"` - WindowHeight int `xml:"windowHeight,attr,omitempty"` - WindowWidth int `xml:"windowWidth,attr,omitempty"` + Minimized bool `xml:"minimized,attr,omitempty"` + ShowHorizontalScroll *bool `xml:"showHorizontalScroll,attr"` + ShowVerticalScroll *bool `xml:"showVerticalScroll,attr"` + ShowSheetTabs *bool `xml:"showSheetTabs,attr"` XWindow string `xml:"xWindow,attr,omitempty"` YWindow string `xml:"yWindow,attr,omitempty"` + WindowWidth int `xml:"windowWidth,attr,omitempty"` + WindowHeight int `xml:"windowHeight,attr,omitempty"` + TabRatio int `xml:"tabRatio,attr,omitempty"` + FirstSheet int `xml:"firstSheet,attr,omitempty"` + ActiveTab int `xml:"activeTab,attr,omitempty"` + AutoFilterDateGrouping *bool `xml:"autoFilterDateGrouping,attr"` } // xlsxSheets directly maps the sheets element from the namespace |