From 4a9b39afc634a2399c4729f4fb47c9f290ab1ee5 Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Thu, 19 Jan 2017 14:05:32 +0800 Subject: - Add hyperlink and set formula support for cell support; - Character limits for cells added; - Update go test and fix typo --- sheet.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'sheet.go') 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 -- cgit v1.2.1