소스 검색

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

Ri Xu 9 년 전
부모
커밋
2497ccb876
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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"`