summaryrefslogtreecommitdiff
path: root/xmlWorksheet.go
diff options
context:
space:
mode:
authorkkxkkxkkgh <kkxkkxkk@163.com>2019-01-13 21:58:50 +0800
committerkkxkkxkkgh <kkxkkxkk@163.com>2019-01-13 21:58:50 +0800
commit81948d9e1ee807a1e5f9b654f2edc47b121c4b0e (patch)
tree2138dacf352af0206679e6b98a0940fef3e73050 /xmlWorksheet.go
parent7f1323f7ac7037670848fb8ab103ace59748c28e (diff)
The function SetPageLayout support set paper size
Diffstat (limited to 'xmlWorksheet.go')
-rw-r--r--xmlWorksheet.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlWorksheet.go b/xmlWorksheet.go
index b3e8877..f3323cb 100644
--- a/xmlWorksheet.go
+++ b/xmlWorksheet.go
@@ -90,7 +90,7 @@ type xlsxPageSetUp struct {
Orientation string `xml:"orientation,attr,omitempty"`
PageOrder string `xml:"pageOrder,attr,omitempty"`
PaperHeight string `xml:"paperHeight,attr,omitempty"`
- PaperSize string `xml:"paperSize,attr,omitempty"`
+ PaperSize int `xml:"paperSize,attr,omitempty"`
PaperWidth string `xml:"paperWidth,attr,omitempty"`
Scale int `xml:"scale,attr,omitempty"`
UseFirstPageNumber bool `xml:"useFirstPageNumber,attr,omitempty"`