summaryrefslogtreecommitdiff
path: root/sheet.go
diff options
context:
space:
mode:
Diffstat (limited to 'sheet.go')
-rw-r--r--sheet.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/sheet.go b/sheet.go
index 3f117af..a3df037 100644
--- a/sheet.go
+++ b/sheet.go
@@ -8,10 +8,9 @@ import (
"strings"
)
-// Sprint formats using the default formats for its operands and returns the
-// resulting string. NewSheet provice function to greate a new sheet by given
-// index, when creating a new XLSX file, the default sheet will be create, when
-// you create a new file, you need to ensure that the index is continuous.
+// NewSheet provice function to greate a new sheet by given index, when creating
+// a new XLSX file, the default sheet will be create, when you create a new
+// file, you need to ensure that the index is continuous.
func (f *File) NewSheet(index int, name string) {
// Update docProps/app.xml
f.setAppXML()
@@ -126,7 +125,7 @@ func replaceRelationshipsNameSpace(workbookMarshal string) string {
return strings.Replace(workbookMarshal, oldXmlns, newXmlns, -1)
}
-// SetActiveSheet provide function to set default active sheet of XLSX by given
+// SetActiveSheet provides function to set default active sheet of XLSX by given
// index.
func (f *File) SetActiveSheet(index int) {
var content xlsxWorkbook