Todd
e46a7165b4
formula: more implementations of math/trig functins
...
- MDETERM
- MOD
- MROUND
- MULTINOMIAL
- MUNIT
- ODD
- POWER
- PRODUCT
- QUOTIENT
- RADIANS
- RAND
- RANDBETWEEN
- ROMAN
- ROUND
- ROUNDDOWN
- ROUNDUP
- SERIESSUM
2017-09-16 16:52:14 -05:00
Todd
23e428e770
formula: return array instead of list for ranges
...
This will be required for functions that need to know
the structure of the input.
2017-09-16 16:52:14 -05:00
Todd
5a5c16b89a
formula: add initial support for cell arrays
...
This is a pretty uncommon feature from what I can tell
and is not fully supported. The example for the MDETERM
function uses an array though, so this will at least add
enough support for the examples to compute correctly.
2017-09-16 16:52:14 -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
e0786dae4a
formula: support for more math/trig formulas
...
- EVEN
- EXP
- FACT
- FACTDOUBLE
- FLOOR.MATH
- FLOOR.PRECISE
- GCD
- INT
- ISO.CEILING
- LCM
- LN
- LOG
- LOG10
2017-09-16 09:46:44 -05:00
Todd
341c2ef03e
meta: down too often
2017-09-15 17:48:56 -05:00
Todd
fe93d10dca
meta: add performance numbers
2017-09-15 17:44:25 -05:00
Todd
199db803a0
spreadsheet: fix bug with column to index
2017-09-15 17:43:40 -05:00
Todd
9b89ae1f12
spreadsheet: add fast paths for appending rows/cells
2017-09-15 17:43:40 -05:00
Todd
382c157c11
formula: add more math formulas
...
- ABS
- ACOS
- ACOSH
- ARABIC
- ASIN
- ASINH
- ATAN
- ATANH
- ATAN2
- BASE
- CEILING.MATH
- CEILING.PRECISE
- COMBIN
- COMBINA
- COS
- COSH
- DECIMAL
- DEGREES
- PI
2017-09-15 17:43:40 -05:00
Todd
6778397c6b
meta: update current work on readme
2017-09-14 22:17:42 -05:00
Todd
1f4edc4212
meta: travis-ci don't run tests verbosely
2017-09-14 22:17:42 -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
Todd
111567b74e
spreadsheet: default new cells to numeric with implicit zero value
2017-09-14 22:17:42 -05:00
Todd
1ff1b074f7
spreadsheet: add support for setting the active sheet
...
This is the tab that is initially selected when opening
a spreadsheet.
v0.2.0
2017-09-12 16:32:16 -05:00
Todd
58495a2eb1
meta: fix link to release
2017-09-12 16:32:16 -05:00
Todd
58b6c0700e
spreadsheet: allow multiple anchor types for charts
2017-09-11 20:17:06 -05:00
Todd
558e5ee274
spreadsheet: add image support and example
2017-09-11 20:17:06 -05:00
Todd
90e6416440
spreadsheet: add more fine control over anchoring
2017-09-11 20:17:06 -05:00
Todd
c863154dc0
common: move images to doc base
2017-09-11 20:17:06 -05:00
Todd
ba298d2caa
meta: add frozen example rows/cols to README
2017-09-10 19:38:48 -05:00
Todd
0791b4688b
spreadsheet: add freeze rows/columns support and example
2017-09-10 19:11:53 -05:00
Todd
9e6bfaf6e1
spreadsheet: add method to clear cached formula results
2017-09-10 17:28:36 -05:00
Todd
f3eca9e68e
spreadsheet: add support for data validation rules
2017-09-10 17:13:40 -05:00
Todd
db7145dcbb
spreadsheet: add helper function for applying a border to multiple cells
2017-09-10 16:13:11 -05:00
Todd
2312e6cdc8
spreadsheet: add initial cell border example
2017-09-10 16:13:11 -05:00
Todd
3bc4675cf6
spreadsheet: add comment support
...
This adds comment support for sheets. Excel requires a VML drawing with
the comment box shape for each comment to display the comment.
LibreOffice displays comments fine with or without the shape, and
creates the shape for its own comments. For the sake of compatibility,
we create comment shapes as well.
I know of no other use for the legacy VML support other than comment
boxes...
2017-09-10 11:25:29 -05:00
Todd
2b50dca676
schema: add vml schema
2017-09-10 11:25:29 -05:00
Todd
cba2eae60f
meta: update and fix examples
...
Fixes #54
2017-09-10 10:33:53 -05:00
Todd
50c3c2c990
document/spreadsheet: updates for new schema
2017-09-10 10:33:53 -05:00
Todd
9b53a8ea41
schema: check for namespaces when decoding
...
- check for namespaces when decoding
- merge wordprocessingDrawing into wordprocessingml, this fixes some
issues with cyclic import paths (XML namespaces don't translate to
to valid go namespaces due to this)
2017-09-10 10:33:53 -05:00
Todd
3bde2f3bbf
meta: add complex chart to overview image
2017-09-09 11:02:39 -05:00
Todd
2f3a3e2574
schema: add generated comment line
...
This causes some tools to ignore the generated code.
2017-09-09 11:02:39 -05:00
Todd
3d6b12368b
spreadsheet: add complex example
...
This has some conditional formatting, charts and auto filters.
2017-09-09 11:02:39 -05:00
Todd
ceb8570558
spreadsheet: add support for column formatting
2017-09-09 11:02:39 -05:00
Todd
cdb3f64c4a
spreadsheet: more fill cleanup
2017-09-09 11:02:39 -05:00
Todd
71de4953fd
meta: add conditional formatting example
2017-09-09 09:34:57 -05:00
Todd
3b50df7eb7
spreadsheet: add support for conditional formatting
2017-09-09 09:34:57 -05:00
Todd
9433c08f42
spreadsheet: rework fills
...
Fills were a little odd before, this modifies them to
work similarly to the other type (user API didn't change).
2017-09-09 09:34:57 -05:00
Todd
cf672dfc68
spreadsheet: clean up color code
...
Use our string ptr helper.
2017-09-09 09:34:57 -05:00
Todd
d5c07a59d6
spreadsheet: add method to determine sheet extents
2017-09-09 09:34:57 -05:00
Todd
41e2d6eaec
document: add support for rewriting document filenames
...
The problem this solves is loading and re-saving a document
that uses an odd file structure (e.g. the main body is
not at word/document.xml). I've seen this occur with spreadsheets
but not with a docx in the wild, however it's fairly simple
to handle in case it occurs.
2017-09-08 18:30:40 -04:00
Todd
9b33f72f6e
spreadsheet: add spreadsheet golden test
2017-09-08 18:20:52 -04:00
wangguoliang
6541491518
misspelling
2017-09-07 22:05:29 -04:00
Todd
924140c87d
spreadsheet: add support for merged cells
2017-09-07 19:12:30 -04:00
Todd
8957cf73e3
spreadsheet: add validation for sheet name length
2017-09-07 19:12:30 -04:00
Todd
4d1c3ec657
meta: update README with spreadsheet examples
2017-09-07 16:39:40 -04:00
Todd
f70810321d
spreadsheet: support adding/removing an auto filter
2017-09-07 16:39:40 -04:00
Todd
d8554f54de
spreadsheet: fix bug when saving sheets loaded with themes
2017-09-07 12:44:31 -04:00
Todd
6f25f76689
spreadsheet: support numbers on the category axis
...
Rename SetReference to SetLabelReference and add a new SetNumberReference
2017-09-07 12:44:31 -04:00