386 Commits

Author SHA1 Message Date
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