diff options
author | Christian Fiedler <fdlr.christian@gmail.com> | 2019-09-22 14:52:01 +0200 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2019-09-22 20:52:01 +0800 |
commit | 3280e1b68664e12143cbd2b3a408f9f494a72897 (patch) | |
tree | b21ebb3377bee840191b54497924cd5ab8ae93e6 /sparkline.go | |
parent | 3c636da46029b1c578871dfab3e1692e989af9f7 (diff) |
Allow access to more formula attributes in SetCellFormula (#484)
* Allow access to more formula attributes in SetCellFormula
Make SetCellFormula variadic to not break API.
The new arguments are option arguments in which the type of
the formula and the ref attribute may be set.
These need to be set for an array formula to work.
* Add TestWriteArrayFormula to test optional parameters of SetCellFormula
TestWriteArrayFormula writes a document to the test directory that
contains array formulas that are used to calculate standard deviations.
The file also contains values calculated by the Go testcase, so the
results can be verified. It should be tested, if the array formula
works (i.e. shows a number, not an error) and that the values calculated
by the formula and those calculated by Go are the same.
Diffstat (limited to 'sparkline.go')
0 files changed, 0 insertions, 0 deletions