summaryrefslogtreecommitdiff
path: root/xmlWorksheet.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2016-09-07 21:26:58 +0800
committerRi Xu <xuri.me@gmail.com>2016-09-07 21:26:58 +0800
commit9c14741a6beaab9048d107f2ac47d79416d51c62 (patch)
tree8a1278c86a1b83872d6042a8f27d023b191493dd /xmlWorksheet.go
parent0dd0fba96b8a33eb5fd365131bfc4a2361a9fe3f (diff)
Fix missing show grid lines property and godoc updated.
Diffstat (limited to 'xmlWorksheet.go')
-rw-r--r--xmlWorksheet.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlWorksheet.go b/xmlWorksheet.go
index fb3639d..975e40e 100644
--- a/xmlWorksheet.go
+++ b/xmlWorksheet.go
@@ -131,7 +131,7 @@ type xlsxSheetViews struct {
type xlsxSheetView struct {
// WindowProtection bool `xml:"windowProtection,attr"`
// ShowFormulas bool `xml:"showFormulas,attr"`
- // ShowGridLines bool `xml:"showGridLines,attr"`
+ ShowGridLines string `xml:"showGridLines,attr,omitempty"`
// ShowRowColHeaders bool `xml:"showRowColHeaders,attr"`
// ShowZeros bool `xml:"showZeros,attr"`
// RightToLeft bool `xml:"rightToLeft,attr"`
@@ -155,7 +155,7 @@ type xlsxSheetView struct {
// as I need.
type xlsxSelection struct {
Pane string `xml:"pane,attr,omitempty"`
- ActiveCell string `xml:"activeCell,attr"`
+ ActiveCell string `xml:"activeCell,attr,omitempty"`
ActiveCellID int `xml:"activeCellId,attr"`
SQRef string `xml:"sqref,attr"`
}