From a65c5846e45fece382f72465f9e858c788dfcfef Mon Sep 17 00:00:00 2001 From: xuri Date: Sun, 10 Jul 2022 18:14:48 +0800 Subject: 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 --- excelize.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'excelize.go') 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 -- cgit v1.2.1