22 Commits

Author SHA1 Message Date
Todd
e6c056205f meta: fix pdf export ole example 2018-07-27 16:30:49 -05:00
Todd
65256235c2 spreadsheet: fix for sheet ordering bug
Need to test this more, may be working by chance...

Updates #154
2018-02-05 20:27:50 -06:00
Todd
33a8645f66 common: fix app version
Our app version wasn't correct per MS's spec.  Modify it
to match the XX.YYYY format.
2018-01-18 17:30:07 -05:00
Todd
01883a5e87 common: support more app/core properties
Support language, links up to date, and document security
flag and update unit test golden files.
2018-01-18 10:53:35 -06:00
Todd
f8b73698a6 gooxml: don't put a 'v' in version number metadata
OSX Word requires that this be only numbers, or it will
display an error indicating a corrupted file.
2017-10-03 07:40:50 -05:00
Todd
d0820f1553 gooxml: add release info to metadata in generated files 2017-10-01 11:45:06 -05:00
Todd
551e748377 spreadsheet: recompute sheet dimensions prior to save 2017-09-27 18:27:53 -05: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
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
50c3c2c990 document/spreadsheet: updates for new schema 2017-09-10 10:33:53 -05:00
Todd
9b33f72f6e spreadsheet: add spreadsheet golden test 2017-09-08 18:20:52 -04:00
Todd
adb206e663 spreadsheet: always set cell reference numbers 2017-09-07 06:12:41 -04:00
Todd
e83404616d Revert "schema: apply more default values"
This caused problems with Libre.

This reverts commit 59b2711e1b87be534c9cd3d155710d13cfe7743b.
2017-09-05 06:33:38 -05:00
Todd
59b2711e1b schema: apply more default values
These are implied values as they are the defaults in the XSD
for optional attributes/elements. However I've noticed that
I keep running into issues where Mac Excel/Word fail to open
a file unless an optional default is provided.

I'll just add them all to hopefully increase compatibility and
save painful file format debugging sessions later.
2017-09-04 17:14:06 -05:00
Todd
ba68d59d67 schema: serialize booleans as 1/0 instead of true/false
This matches what the MS products and LibreOffice do.
2017-09-04 11:08:29 -05:00
Todd
ef0d194ae2 spreadsheet: fix issue loading spreadsheets with non-standard naming 2017-09-02 17:50:38 -05:00
Todd
d186678dbb spreadsheet: merge spreadsheet/style package into spreadsheet 2017-09-02 17:50:38 -05:00
Todd
a54e7275e4 common: add core properties tests 2017-09-02 14:23:54 -05:00
Todd
7c630b0030 schema: update prefix for http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes
Use the same prefix that Word uses
2017-08-31 22:17:52 -05:00
Todd
0da5ce4a82 schema: rework xsd:any type 2017-08-29 22:40:44 -05:00
Todd
366c3b51ec schema: rework xsd:any handling 2017-08-29 16:55:03 -05:00
Todd
4bd04dd2e5 initial commit 2017-08-29 15:06:08 -05:00