This closes #1767, change struct field tabRatio date type to float64
This commit is contained in:
parent
37e2d946be
commit
e998c374ac
|
@ -142,19 +142,19 @@ type xlsxBookViews struct {
|
||||||
// http://schemas.openxmlformats.org/spreadsheetml/2006/main This element
|
// http://schemas.openxmlformats.org/spreadsheetml/2006/main This element
|
||||||
// specifies a single Workbook view.
|
// specifies a single Workbook view.
|
||||||
type xlsxWorkBookView struct {
|
type xlsxWorkBookView struct {
|
||||||
Visibility string `xml:"visibility,attr,omitempty"`
|
Visibility string `xml:"visibility,attr,omitempty"`
|
||||||
Minimized bool `xml:"minimized,attr,omitempty"`
|
Minimized bool `xml:"minimized,attr,omitempty"`
|
||||||
ShowHorizontalScroll *bool `xml:"showHorizontalScroll,attr"`
|
ShowHorizontalScroll *bool `xml:"showHorizontalScroll,attr"`
|
||||||
ShowVerticalScroll *bool `xml:"showVerticalScroll,attr"`
|
ShowVerticalScroll *bool `xml:"showVerticalScroll,attr"`
|
||||||
ShowSheetTabs *bool `xml:"showSheetTabs,attr"`
|
ShowSheetTabs *bool `xml:"showSheetTabs,attr"`
|
||||||
XWindow string `xml:"xWindow,attr,omitempty"`
|
XWindow string `xml:"xWindow,attr,omitempty"`
|
||||||
YWindow string `xml:"yWindow,attr,omitempty"`
|
YWindow string `xml:"yWindow,attr,omitempty"`
|
||||||
WindowWidth int `xml:"windowWidth,attr,omitempty"`
|
WindowWidth int `xml:"windowWidth,attr,omitempty"`
|
||||||
WindowHeight int `xml:"windowHeight,attr,omitempty"`
|
WindowHeight int `xml:"windowHeight,attr,omitempty"`
|
||||||
TabRatio int `xml:"tabRatio,attr,omitempty"`
|
TabRatio float64 `xml:"tabRatio,attr,omitempty"`
|
||||||
FirstSheet int `xml:"firstSheet,attr,omitempty"`
|
FirstSheet int `xml:"firstSheet,attr,omitempty"`
|
||||||
ActiveTab int `xml:"activeTab,attr,omitempty"`
|
ActiveTab int `xml:"activeTab,attr,omitempty"`
|
||||||
AutoFilterDateGrouping *bool `xml:"autoFilterDateGrouping,attr"`
|
AutoFilterDateGrouping *bool `xml:"autoFilterDateGrouping,attr"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// xlsxSheets directly maps the sheets element from the namespace
|
// xlsxSheets directly maps the sheets element from the namespace
|
||||||
|
@ -349,30 +349,30 @@ type xlsxCustomWorkbookViews struct {
|
||||||
// to implement configurable display modes, the customWorkbookView element
|
// to implement configurable display modes, the customWorkbookView element
|
||||||
// should be used to persist the settings for those display modes.
|
// should be used to persist the settings for those display modes.
|
||||||
type xlsxCustomWorkbookView struct {
|
type xlsxCustomWorkbookView struct {
|
||||||
ActiveSheetID *int `xml:"activeSheetId,attr"`
|
ActiveSheetID *int `xml:"activeSheetId,attr"`
|
||||||
AutoUpdate *bool `xml:"autoUpdate,attr"`
|
AutoUpdate *bool `xml:"autoUpdate,attr"`
|
||||||
ChangesSavedWin *bool `xml:"changesSavedWin,attr"`
|
ChangesSavedWin *bool `xml:"changesSavedWin,attr"`
|
||||||
GUID *string `xml:"guid,attr"`
|
GUID *string `xml:"guid,attr"`
|
||||||
IncludeHiddenRowCol *bool `xml:"includeHiddenRowCol,attr"`
|
IncludeHiddenRowCol *bool `xml:"includeHiddenRowCol,attr"`
|
||||||
IncludePrintSettings *bool `xml:"includePrintSettings,attr"`
|
IncludePrintSettings *bool `xml:"includePrintSettings,attr"`
|
||||||
Maximized *bool `xml:"maximized,attr"`
|
Maximized *bool `xml:"maximized,attr"`
|
||||||
MergeInterval int `xml:"mergeInterval,attr"`
|
MergeInterval int `xml:"mergeInterval,attr"`
|
||||||
Minimized *bool `xml:"minimized,attr"`
|
Minimized *bool `xml:"minimized,attr"`
|
||||||
Name *string `xml:"name,attr"`
|
Name *string `xml:"name,attr"`
|
||||||
OnlySync *bool `xml:"onlySync,attr"`
|
OnlySync *bool `xml:"onlySync,attr"`
|
||||||
PersonalView *bool `xml:"personalView,attr"`
|
PersonalView *bool `xml:"personalView,attr"`
|
||||||
ShowComments *string `xml:"showComments,attr"`
|
ShowComments *string `xml:"showComments,attr"`
|
||||||
ShowFormulaBar *bool `xml:"showFormulaBar,attr"`
|
ShowFormulaBar *bool `xml:"showFormulaBar,attr"`
|
||||||
ShowHorizontalScroll *bool `xml:"showHorizontalScroll,attr"`
|
ShowHorizontalScroll *bool `xml:"showHorizontalScroll,attr"`
|
||||||
ShowObjects *string `xml:"showObjects,attr"`
|
ShowObjects *string `xml:"showObjects,attr"`
|
||||||
ShowSheetTabs *bool `xml:"showSheetTabs,attr"`
|
ShowSheetTabs *bool `xml:"showSheetTabs,attr"`
|
||||||
ShowStatusbar *bool `xml:"showStatusbar,attr"`
|
ShowStatusbar *bool `xml:"showStatusbar,attr"`
|
||||||
ShowVerticalScroll *bool `xml:"showVerticalScroll,attr"`
|
ShowVerticalScroll *bool `xml:"showVerticalScroll,attr"`
|
||||||
TabRatio *int `xml:"tabRatio,attr"`
|
TabRatio *float64 `xml:"tabRatio,attr"`
|
||||||
WindowHeight *int `xml:"windowHeight,attr"`
|
WindowHeight *int `xml:"windowHeight,attr"`
|
||||||
WindowWidth *int `xml:"windowWidth,attr"`
|
WindowWidth *int `xml:"windowWidth,attr"`
|
||||||
XWindow *int `xml:"xWindow,attr"`
|
XWindow *int `xml:"xWindow,attr"`
|
||||||
YWindow *int `xml:"yWindow,attr"`
|
YWindow *int `xml:"yWindow,attr"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// DefinedName directly maps the name for a cell or cell range on a
|
// DefinedName directly maps the name for a cell or cell range on a
|
||||||
|
|
Loading…
Reference in New Issue