248 Commits

Author SHA1 Message Date
Todd
bbc2b9fde2 schema: add marshal/unmarshal on a newly created type 2017-09-02 13:13:12 -05:00
Todd
a9cf6c7867 schema: cleanup
- force qualify spreadsheet drawing elements
- treat EG_RPrBase as singular, meaning we can move it's elements up a level
2017-09-02 11:16:56 -05:00
Todd
90d005a914 document: add more styling support
- support character spacing and kerning in run style
- support contextual spacing in paragraph style
- add title style to new documents
- fix en-us -> en-US typo
2017-09-02 10:52:56 -05:00
Todd
09041bcba5 document: fix space preserve on run text content 2017-09-02 10:52:56 -05:00
Todd
10ca06e4c6 document: add Heading1 style to new documents 2017-09-02 10:52:56 -05:00
Todd
0bbb5d2ba5 document: rename RunStyle to RunStyleProperties 2017-09-02 10:52:56 -05:00
Todd
1651f31e02 gooxml: add more unit tests 2017-09-02 07:50:52 -05:00
Todd
180c0f958d common: flesh out core properties wrapper and add an example 2017-09-01 21:38:55 -05:00
Todd
a0e6e37780 meta: add import comment 2017-09-01 19:26:26 -05:00
Todd
3e3b42c2a9 schema: remove some unneeded conversions 2017-09-01 19:26:26 -05:00
Todd
caebe001a8 document: add more documentation and examples 2017-09-01 19:26:26 -05:00
Todd
3820294523 document: fix lint errors and add documentation 2017-09-01 18:12:43 -05:00
Todd
7d798273eb document: support round tripping unknown elements on document/settings 2017-09-01 17:13:33 -05:00
Todd
f28708bf97 schema: add better error messages when unmarshaling an unknown element 2017-09-01 17:13:33 -05:00
Todd
ec7c4ce013 document: add support for extracting/saving document thumbnail 2017-09-01 17:13:33 -05:00
Todd
9675d9e2db meta: update README
- add link to GO report card
- add examples
2017-09-01 15:49:39 -05:00
Todd
35912f079b schema: add comments to validate methods 2017-09-01 15:42:20 -05:00
Todd
d1d44902d1 schema: remove un-needed attr clearing 2017-09-01 15:42:20 -05:00
Todd
a17c96a558 example: add a Word form fill example 2017-08-31 22:17:52 -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
84b30dd75a schema: handle nested choices 2017-08-31 22:17:52 -05:00
Todd
d1012cdbc4 meta: remove unused files 2017-08-31 22:16:05 -05:00
Todd
025b88bb31 document: add more paragraph properties control methods 2017-08-31 19:55:05 -05:00
Todd
9dae249a88 document: move paragraph properties to their own type 2017-08-31 19:55:05 -05:00
Todd
eb1b8ef793 examples: add merged cells to table example 2017-08-31 19:55:05 -05:00
Todd
a16a7edaa2 example: add docx2md (.docx to markdown) example 2017-08-31 18:52:40 -05:00
Todd
6fc206be4c test: use Go XML marshaler to indent
This removes the dependency on xmlindent.
2017-08-31 18:27:34 -05:00
Todd
59d34fa7a0 schema: handle xsd:any differently
Instead of accumulating tokens, parse it using Go 1.8's
attr/element collection tags.
2017-08-31 18:27:34 -05:00
Todd
16cda3ea7a schema: treat xsd:integer as 64 bit
It's arbitrary precision per XSD, so may have to
change again. Treating it as a 64 bit value for now.
2017-08-31 18:12:29 -05:00
Todd
dbfdc74c9f meta: remove coveralls.io
takes forever on 250k+ SLOC and doesn't want to work
with vanity import URL
2017-08-30 20:33:21 -05:00
Todd
d2f44b6655 meta: add coveralls.io support 2017-08-30 20:17:09 -05:00
Todd
5f7ff0029f schema: add constructor tests 2017-08-30 20:17:09 -05:00
Todd
2d3cc73ea6 schema: initialize non-optional members in constructors
- initialize enums
- initialize native types using constraints
- initialize patterns
2017-08-30 20:17:09 -05:00
Todd
8e630657bf examples: add Word template example
Add an example that shows how to use a Word document
as a template and pull its styles for use in a new document.
2017-08-30 17:25:49 -05:00
Todd
9237920cf3 meta: add more documentation 2017-08-29 23:12:33 -05:00
Todd
d27beada57 meta: don't let travis try to install deps
I removed the Makefile which causes travis to run
go get -t -v ./... from the checkout directory. This is
wrong since it doesn't checkout to the correct vanity path.
2017-08-29 22:40:44 -05:00
Todd
0da5ce4a82 schema: rework xsd:any type 2017-08-29 22:40:44 -05:00
Todd
c22fc148de schema: qualify core properties 2017-08-29 22:40:44 -05:00
Todd
8e3907464b schema: handle occurs=multi sequence elements 2017-08-29 22:40:44 -05:00
Todd
105ef6916e document: read/restore all contents of a Word 2016 file
Adds support for serializing/deserializing of:

- webSettings
- fontTable
- endnotes
- footnotes
- themes
- optional numbering
2017-08-29 22:40:44 -05:00
Todd
13f1b33002 examples: remove makefile and rebuild-examples 2017-08-29 17:07:50 -05:00
Todd
366c3b51ec schema: rework xsd:any handling 2017-08-29 16:55:03 -05:00
Todd
528202b6e8 meta: update docs and .travis.yml 2017-08-29 16:54:24 -05:00
Todd
4b781edcf7 docs: fix typos and reword 2017-08-29 15:06:12 -05:00
Todd
720a9a8fc0 zippkg: fix typo in conditional 2017-08-29 15:06:12 -05:00
Todd
934dc9ea6b document: move benchmarks to another file 2017-08-29 15:06:12 -05:00
Todd
4bd04dd2e5 initial commit 2017-08-29 15:06:08 -05:00
tbaliance
48722f0679 Initial commit 2017-08-28 20:25:48 -05:00