169 Commits

Author SHA1 Message Date
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
Todd
7835e2b9d9 spreadsheet: add stock chart example 2017-09-07 12:44:31 -04:00
Todd
2d710a2e6d spreadsheet: ensure rows stay sorted
This fixes an issue with Mac Excel being unable to display
unsorted rows.
2017-09-07 12:44:31 -04:00
Todd
0de975d3dd spreadsheet: add support for bubble chart 2017-09-07 12:44:31 -04:00
Todd
677a4cde7a spreadsheet: add support for doughnut chart 2017-09-07 10:53:53 -04:00
Todd
2374694f6c spreadsheet: add support for a pie of pie chart 2017-09-07 10:53:53 -04:00
Todd
4d6533f4a7 spreadsheet: support exploded pie chart 2017-09-07 10:53:53 -04:00
Todd
744babf1bd spreadsheet: add support for scatter charts 2017-09-07 10:53:53 -04:00
Todd
3cfef7d6e9 spreadsheet: add support for a 3D surface chart 2017-09-07 09:39:51 -04:00
Todd
059cbd9e85 spreadsheet: add support for the surface chart 2017-09-07 09:39:51 -04:00
Todd
ca1d399354 meta: remove extra quotes in doc 2017-09-07 09:19:19 -04:00
Todd
b26dccb39a meta: add spreadsheet example 2017-09-07 09:19:19 -04:00
Todd
03540b8c38 spreadsheet: add support for defined names 2017-09-07 07:34:52 -04:00
Todd
878e759954 meta: add missing bar-chart sample 2017-09-07 06:55:20 -04:00
Todd
770b295161 meta: speed up example building 2017-09-07 06:55:20 -04:00
Todd
ef051c7715 meta: fix naming Open Office -> Office Open
Fixes #1
2017-09-07 06:55:20 -04:00
Todd
2498814f67 spreadsheet: add support for hyperlinks 2017-09-07 06:12:41 -04:00
Todd
adb206e663 spreadsheet: always set cell reference numbers 2017-09-07 06:12:41 -04:00
Todd
0aebfb3d95 spreadsheet: pass sheet/row information down to cell wrapper 2017-09-07 06:12:41 -04:00