From e728ff14981bda19a18a830e416290cecc5a269e Mon Sep 17 00:00:00 2001 From: xuri Date: Sat, 15 Dec 2018 00:08:55 +0800 Subject: Fixes #308, refactor `NewSheet()`, `DeleteSheet()`, `SetActiveSheet()` and `GetActiveSheetIndex()` --- xmlWorkbook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmlWorkbook.go') 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"` } -- cgit v1.2.1