353 Commits

Author SHA1 Message Date
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
df08d555d4 schema: fix charts
Add missing reference to http://schemas.openxmlformats.org/drawingml/2006/main

Fixes #155
2018-01-31 13:49:24 -06:00
Todd
fd26e4bbcf document: support for embedding images in headers
Fixes #150
2018-01-24 20:05:00 -05:00
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
2c86cf181d common: use path.Clean instead of filepath.Clean
This ensures correctly formatted relative filenames on
Windows.  filepath.Clean uses the system seprator character,
while path.Clean always uses a forward slash.

Thanks to @AlexeyUzhva for noticing.

Fixes #146
2018-01-16 15:42:24 -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
dff033708f presentation: add complex example 2017-11-29 19:19:01 -06:00
Todd
320ce7148f presentation: support vertical text anchoring 2017-11-29 19:19:01 -06:00
Todd
adffc05b78 drawing: support flipped shapes 2017-11-29 19:19:01 -06:00
Todd
df837018b0 drawing: support setting bullet font/character 2017-11-29 19:19:01 -06:00
Todd
2dfd95bb54 document: add support for controlling paragraph indentation
Fixes #123
2017-11-29 17:32:14 -06:00
Todd
96b01f8d98 presentation: add support for images 2017-11-20 18:28:46 -06:00
Todd
8b1da53e6d meta: update version information v0.5 2017-11-18 11:55:06 -06:00
Todd
56c83b7163 meta: update README with presentation examples 2017-11-18 11:52:13 -06:00
Todd
8030eab007 presentation: support adding textboxes
Allow adding a textbox to a slide
2017-11-18 11:52:13 -06:00
Todd
f5a8df0deb presentation: initial work for presentations 2017-11-18 11:52:13 -06:00
Todd
629cfb008c schema: for xml ref attributes, check the namespace
One of the pml types has two attributes named 'id' with
one being a reference.  This allows that to be unmarshaled
correctly.
2017-11-18 11:52:13 -06:00
Todd
d63671f406
Update .travis.yml
Remove build with tip for now
2017-11-12 19:16:07 -06:00
Todd
a22ecaffcc meta: update README 2017-10-12 11:22:56 -04:00
Todd
e74c739f40 common: fix some lint issues 2017-10-10 20:07:57 -04: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
fd1beee82a example: remove binaries that shouldn't be committed 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
693acf8c3f example: fix old example after namespace change 2017-10-10 07:58:58 -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
7343e2d31f spreadsheet: don't allow extra content on Workbook
Fixes #107
2017-10-05 08:21:17 -04:00
Todd
0805be88ba examples: add a table example with shading and centering
Fixes #104
2017-10-03 08:19:10 -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
5f6b0bf9f9 spreadsheet: add more unit tests 2017-10-02 18:36:49 -05:00
Todd
76cd395f6a spreadsheet: clear temp files when closing sheets
We don't bother keeping all files in memory as there
can be several, and we don't need them all.  This just
adds a Close() method that can be used to ensure the
temporary files are removed.
2017-10-02 18:36:49 -05:00
Todd
56e9890d9f schema: round trip extra content on Workbook
Excel occasionally drops some alternate content with
path information here.
2017-10-02 18:36:49 -05:00