summaryrefslogtreecommitdiff
path: root/sheet.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2018-04-26 11:41:13 +0800
committerRi Xu <xuri.me@gmail.com>2018-04-26 11:41:13 +0800
commita9c7d6637cbf0419365aee9cc743a066bdd06b6a (patch)
tree02d9caeb2d397903f94c710ef18ea165bebaf6ee /sheet.go
parent9ee57fdb388e6e0a50dd8c945c27f051205fa23d (diff)
- Support to set the positioning of a picture, relate issue #214;
- go test and godoc has been updated
Diffstat (limited to 'sheet.go')
-rw-r--r--sheet.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/sheet.go b/sheet.go
index bc7cb75..f2b6e17 100644
--- a/sheet.go
+++ b/sheet.go
@@ -12,9 +12,9 @@ import (
"unicode/utf8"
)
-// NewSheet provides function to create a new sheet by given index, when
-// creating a new XLSX file, the default sheet will be create, when you create
-// a new file.
+// NewSheet provides function to create a new sheet by given worksheet name,
+// when creating a new XLSX file, the default sheet will be create, when you
+// create a new file.
func (f *File) NewSheet(name string) int {
// Check if the worksheet already exists
if f.GetSheetIndex(name) != 0 {