Todd
f4f42c085d
document: support super/sub script on text runs
...
Fixes #151
2018-01-24 19:50:01 -05: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
a1884f4e37
document: allow controlling numbering level formatting
...
Fixes #144
2018-01-04 19:03:50 -06:00
Todd
8479accfea
document: don't automatically force the numbering ID
...
Previously we hardcoded the numbering ID to 1 instead of leaving
it unset
2018-01-04 19:03:50 -06:00
Todd
2e895a8dad
document: when adding an image, ensure content-types exist for it
...
Fixes #142
2017-12-27 16:48:14 -06:00
Todd
dcf6883ca5
document: support for controlling auto-sized tables
...
Fixes #140
2017-12-27 16:26:28 -06:00
Todd
259724dfab
document: support for controlling paragraph numbering
...
Fixes #136
2017-12-16 07:36:26 -06:00
Todd
12b7484103
document: support creating inline images
...
Fixes #134
2017-12-10 07:40:03 -06:00
Todd
323695ec80
document: support creation of table styles
...
Fixes #132
2017-12-06 17:59:42 -06:00
Todd
f3255af62c
document: add support for using pre-defined table styles
...
- support setting styles on a table
- update document/use-template example to show table style usage
Updates #130
2017-12-06 17:32:50 -06:00
Todd
a323a51e91
document: update typos in comments
2017-12-06 17:32:50 -06:00
Todd
5b7fbecc4e
document: support for enumerating bookmarks
...
- enumerate bookmarks
- validate that bookmark names are unique
2017-12-03 11:27:00 -06:00
Todd
1f1ff04071
document: add support for creating bookmarks
...
- support adding bookmarks
- support hyperlinks that reference a bookmark
- update hyperlink example
Fixes #126
2017-12-01 12:36:29 -06:00
Todd
2dfd95bb54
document: add support for controlling paragraph indentation
...
Fixes #123
2017-11-29 17:32:14 -06:00
Todd
f5a8df0deb
presentation: initial work for presentations
2017-11-18 11:52:13 -06:00
Todd
c38bb81110
document: add Clear method to Run
2017-10-10 19:19:44 -04:00
Todd
acb6173851
document: add header/footer unit tests
2017-10-10 18:18:32 -04:00
Todd
baff4fdfcd
document: support editing headers/footers
...
- adds a Paragraphs() method on Header/Footer
- reworks remove paragraph logic for document to be consistent
Fixes #116
2017-10-10 18:04:34 -04:00
Todd
cb28280f74
document: refactor properties
...
Move functions from Run to the Run's properties
2017-10-10 17:03:43 -04:00
Todd
6884ee78c3
document: support adding hyperlinks to a document
...
Fixes #113
2017-10-10 12:58:20 -05:00
Todd
35ff76f0f2
document: allow controlling table cell width
...
Fixes #112
2017-10-10 12:58:20 -05:00
Todd
97606f33f1
document: allow more table control
...
- Table alignment within a page
- Row Height
- Cell vertical alignment
Fixes #109
2017-10-10 07:49:03 -05:00
Todd
51a92c4642
document: add support for controlling table cell shading
2017-10-03 08:19:10 -05:00
Todd
c887342ed1
document: add validation for table row/cell contents
...
OSX Word is very opinionated about the contents.
2017-10-03 08:19:10 -05:00
Todd
b7c59b4c94
document: support controlling paragraph alignment
2017-10-03 08:19:10 -05: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
5bfa034ef9
gooxml: add and use a Log function
...
This allows redirecting or discarding any
logs produced by the library.
2017-09-30 07:09:26 -05:00
Todd
6cf6944f09
document: support inserting runs mid-paragraph
2017-09-28 19:21:07 -05:00
Todd
1b53d772ee
document: support inserting paragraphs within a document
2017-09-28 18:20:56 -05:00
Todd
89b1416b8f
gooxml: rework how filenames are calculated
...
This is needed for pivot tables, split out from that branch
so any further changes to filename handling will be easier in
master.
2017-09-28 18:20:56 -05:00
Todd
11edbae6be
document: fix rewriting of images within document names
...
I have a better fix for filenames in the pivot table branch
that I intend to break out later.
2017-09-28 16:56:22 -05:00
Todd
82f22691b2
document: support removing runs/paragraphs
2017-09-26 19:34:13 -05:00
Todd
427f7b1e45
schema: rename officeDocument to ofc
2017-09-23 10:01:17 -04:00
Todd
599631208a
schema: rename drawingml to dml
2017-09-23 10:01:17 -04:00
Todd
e880adfc5b
schema: rename package to pkg
2017-09-23 10:01:17 -04:00
Todd
ca6c54dc60
schema: rename wordprocessingml to wml
2017-09-23 10:01:17 -04:00
Todd
09825ac816
schema: rework schema namespaces to work around Windows issues
...
The go command on Windows doesn't like long path name. To
work around this, this is the first in a series of changes to
shorten the schema disk path structure in a few places.
Fixes #89
2017-09-23 10:01:17 -04:00
Todd
558e5ee274
spreadsheet: add image support and example
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
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
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
wangguoliang
6541491518
misspelling
2017-09-07 22:05:29 -04:00
Todd
7e0d2edaab
spreadsheet: add support for named cells/rows
2017-09-06 15:20:51 -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
f07c57cae7
gooxml: move content types to base package
2017-09-04 11:08:29 -05:00
Todd
6164089457
zippkg: start breaking out decoding
...
Decoding was getting fairly complicated, it seems cleaner
to have something handle the relationships file and traversal
and the document just be notified via callback when new
files have been found.
2017-09-04 11:08:29 -05:00