Fix zoom scale and page layout view setting of XLSX.

This commit is contained in:
Ri Xu 2016-09-22 13:29:57 +08:00
parent 9e0aca2223
commit d877d9f246
2 changed files with 6 additions and 6 deletions

Binary file not shown.

View File

@ -143,12 +143,12 @@ type xlsxSheetView struct {
// View string `xml:"view,attr"`
TopLeftCell string `xml:"topLeftCell,attr,omitempty"`
// ColorId int `xml:"colorId,attr"`
// ZoomScale float64 `xml:"zoomScale,attr"`
// ZoomScaleNormal float64 `xml:"zoomScaleNormal,attr"`
// ZoomScalePageLayoutView float64 `xml:"zoomScalePageLayoutView,attr"`
WorkbookViewID int `xml:"workbookViewId,attr"`
Selection []xlsxSelection `xml:"selection"`
Pane *xlsxPane `xml:"pane,omitempty"`
ZoomScale float64 `xml:"zoomScale,attr,omitempty"`
ZoomScaleNormal float64 `xml:"zoomScaleNormal,attr,omitempty"`
ZoomScalePageLayoutView float64 `xml:"zoomScalePageLayoutView,attr,omitempty"`
WorkbookViewID int `xml:"workbookViewId,attr"`
Selection []xlsxSelection `xml:"selection"`
Pane *xlsxPane `xml:"pane,omitempty"`
}
// xlsxSelection directly maps the selection element in the namespace