6 Commits

Author SHA1 Message Date
Todd
801388a119 gooxml: clean up some old TODOs 2017-09-30 07:09:26 -05:00
Todd
e7da598399 spreadsheet: return empty values from sheet context
This is required as AVERAGE/AVERAGEA need to distinguish between
empty and non-empty cells.
2017-09-20 20:47:03 -04:00
Todd
d69cf90249 format: implement support for evaluating spreadsheet number formatting
This adds support for extracting a cell's formatted value according to
the number format applied to the cell.  To do this we need to implement
a parser for Excel style format strings and support formatting numbers
according to that style.

This also enhances the General formatting to be much closer to what
Excel normally does. There are likely still a few corner cases where
Excel and gooxml differ, but hopefully not too many.
2017-09-18 22:30:08 -05:00
Todd
92c902e6bd formula: support for using named ranges/tables from formulas 2017-09-17 14:56:58 -05:00
Todd
fb43078e87 formula: add support for referencing other sheets
This adds support references like 'Sheet 1'! so that formulas
can pull values from other sheets.
2017-09-16 10:33:13 -05:00
Todd
17a365ee93 spreadsheet: start adding support for formula evaluation
We can take advantage of cached formula results that Excel/LibreOffice
insert to ensure that our formula results match the expected results.
2017-09-14 22:17:42 -05:00