summaryrefslogtreecommitdiff
path: root/xmlWorksheet.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2021-07-21 23:24:49 +0800
committerxuri <xuri.me@gmail.com>2021-07-21 23:24:49 +0800
commit5ce3fe8cb89f5f278b3857bab8e69c117c2a6027 (patch)
tree5bcc3f9bb05cc916fe2c9e69180219130f256cd7 /xmlWorksheet.go
parent1ec0207fb5fe772e47b257ab2b0c26ff85f94598 (diff)
Improvement compatibility with invalid first-page number attribute in the page layout
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 d280bfd..4499546 100644
--- a/xmlWorksheet.go
+++ b/xmlWorksheet.go
@@ -111,7 +111,7 @@ type xlsxPageSetUp struct {
Copies int `xml:"copies,attr,omitempty"`
Draft bool `xml:"draft,attr,omitempty"`
Errors string `xml:"errors,attr,omitempty"`
- FirstPageNumber int `xml:"firstPageNumber,attr,omitempty"`
+ FirstPageNumber string `xml:"firstPageNumber,attr,omitempty"`
FitToHeight int `xml:"fitToHeight,attr,omitempty"`
FitToWidth int `xml:"fitToWidth,attr,omitempty"`
HorizontalDPI int `xml:"horizontalDpi,attr,omitempty"`