summaryrefslogtreecommitdiff
path: root/xmlWorkbook.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2018-12-15 00:08:55 +0800
committerxuri <xuri.me@gmail.com>2018-12-15 00:08:55 +0800
commite728ff14981bda19a18a830e416290cecc5a269e (patch)
tree47fb515de1164d129654a29cd4f92c01cbe2e431 /xmlWorkbook.go
parent62fbc216a7caa7e2932062c0f3554713dafe4c82 (diff)
Fixes #308, refactor `NewSheet()`, `DeleteSheet()`, `SetActiveSheet()` and `GetActiveSheetIndex()`
Diffstat (limited to 'xmlWorkbook.go')
-rw-r--r--xmlWorkbook.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlWorkbook.go b/xmlWorkbook.go
index f00a0b8..6572033 100644
--- a/xmlWorkbook.go
+++ b/xmlWorkbook.go
@@ -151,7 +151,7 @@ type xlsxSheets struct {
// not checked it for completeness - it does as much as I need.
type xlsxSheet struct {
Name string `xml:"name,attr,omitempty"`
- SheetID string `xml:"sheetId,attr,omitempty"`
+ SheetID int `xml:"sheetId,attr,omitempty"`
ID string `xml:"http://schemas.openxmlformats.org/officeDocument/2006/relationships id,attr,omitempty"`
State string `xml:"state,attr,omitempty"`
}