Procházet zdrojové kódy

Fix issue struct field `paperHeight` has xml tag but is not exported.

Ri Xu před 9 roky
rodič
revize
2497ccb876
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      xmlWorksheet.go

+ 1 - 1
xmlWorksheet.go

@@ -81,7 +81,7 @@ type xlsxPageSetUp struct {
 	RID                string  `xml:"http://schemas.openxmlformats.org/officeDocument/2006/relationships id,attr,omitempty"`
 	Orientation        string  `xml:"orientation,attr,omitempty"`
 	PageOrder          string  `xml:"pageOrder,attr,omitempty"`
-	paperHeight        string  `xml:"paperHeight,attr,omitempty"`
+	PaperHeight        string  `xml:"paperHeight,attr,omitempty"`
 	PaperSize          string  `xml:"paperSize,attr,omitempty"`
 	PaperWidth         string  `xml:"paperWidth,attr,omitempty"`
 	Scale              int     `xml:"scale,attr,omitempty"`