From 5ce3fe8cb89f5f278b3857bab8e69c117c2a6027 Mon Sep 17 00:00:00 2001 From: xuri Date: Wed, 21 Jul 2021 23:24:49 +0800 Subject: Improvement compatibility with invalid first-page number attribute in the page layout --- xmlWorksheet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmlWorksheet.go') 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"` -- cgit v1.2.1