summaryrefslogtreecommitdiff
path: root/excelize.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-07-10 18:14:48 +0800
committerxuri <xuri.me@gmail.com>2022-07-10 18:14:48 +0800
commita65c5846e45fece382f72465f9e858c788dfcfef (patch)
treeff6d3bfe0ec854e5f46a15ff04b44c3acb37db39 /excelize.go
parent1dbed64f105db2a715d963933642839460b6642a (diff)
This closes #1262, support for dependence formulas calculation
- Add export option `MaxCalcIterations` for specifies the maximum iterations for iterative calculation - Update unit test for the database formula functions
Diffstat (limited to 'excelize.go')
-rw-r--r--excelize.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/excelize.go b/excelize.go
index 580bc29..da51b13 100644
--- a/excelize.go
+++ b/excelize.go
@@ -63,6 +63,9 @@ type charsetTranscoderFn func(charset string, input io.Reader) (rdr io.Reader, e
// Options define the options for open and reading spreadsheet.
//
+// MaxCalcIterations specifies the maximum iterations for iterative
+// calculation, the default value is 0.
+//
// Password specifies the password of the spreadsheet in plain text.
//
// RawCellValue specifies if apply the number format for the cell value or get
@@ -78,6 +81,7 @@ type charsetTranscoderFn func(charset string, input io.Reader) (rdr io.Reader, e
// should be less than or equal to UnzipSizeLimit, the default value is
// 16MB.
type Options struct {
+ MaxCalcIterations uint
Password string
RawCellValue bool
UnzipSizeLimit int64