summaryrefslogtreecommitdiff
path: root/numfmt.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-02-17 00:09:11 +0800
committerxuri <xuri.me@gmail.com>2022-02-17 00:09:11 +0800
commitf87c39c41ddcb2fbb75a6035ba1dd28e4de8c71b (patch)
tree5f01b95e3b5c7f3b68f2164c838f17a568f247f2 /numfmt.go
parentad09698515b4f70496c950cca02ce612af8170e0 (diff)
This closes #1148, resolve limitations when adding VBA project to the workbook
Added two exported functions `SetWorkbookPrOptions` and `GetWorkbookPrOptions` to support setting and getting the code name property of the workbook Re-order fields of the workbook properties group to improve the compatibility Go Modules dependencies upgrade Put workbook related operating in new `workbook.go` source code Library introduction docs block updated
Diffstat (limited to 'numfmt.go')
-rw-r--r--numfmt.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/numfmt.go b/numfmt.go
index 1f41f19..4549110 100644
--- a/numfmt.go
+++ b/numfmt.go
@@ -2,12 +2,12 @@
// this source code is governed by a BSD-style license that can be found in
// the LICENSE file.
//
-// Package excelize providing a set of functions that allow you to write to
-// and read from XLSX / XLSM / XLTM files. Supports reading and writing
-// spreadsheet documents generated by Microsoft Excelâ„¢ 2007 and later. Supports
-// complex components by high compatibility, and provided streaming API for
-// generating or reading data from a worksheet with huge amounts of data. This
-// library needs Go version 1.15 or later.
+// Package excelize providing a set of functions that allow you to write to and
+// read from XLAM / XLSM / XLSX / XLTM / XLTX files. Supports reading and
+// writing spreadsheet documents generated by Microsoft Excelâ„¢ 2007 and later.
+// Supports complex components by high compatibility, and provided streaming
+// API for generating or reading data from a worksheet with huge amounts of
+// data. This library needs Go version 1.15 or later.
package excelize
@@ -37,8 +37,8 @@ type numberFormat struct {
ap, afterPoint, beforePoint, localCode, result, value, valueSectionType string
}
-// supportedTokenTypes list the supported number format token types currently.
var (
+ // supportedTokenTypes list the supported number format token types currently.
supportedTokenTypes = []string{
nfp.TokenTypeCurrencyLanguage,
nfp.TokenTypeDateTimes,