Todd
9090e4f93c
meta: move filename information out of packages
...
This seems like the better choice, a lot of the logic is shared
between the document types, and it allows generating filenames in
a single place.
The only downside is that you must pass in the document type as
some content types have different typical names depending on the
document type (e.g. an 'office document' is the main document.xml,
workbook.xml and presentation.xml
2017-09-04 11:08:29 -05:00
Todd
f07c57cae7
gooxml: move content types to base package
2017-09-04 11:08:29 -05:00
Todd
d3a4f7b5c3
schema: fix issue where a group was an element of a choice
...
The group as a whole is the choice, not its individual elements.
We don't validate this properly, but it does round-trip correctly.
2017-09-04 11:08:29 -05:00
Todd
3adb927df2
schema: qualify chart elements
2017-09-04 11:08:29 -05:00
Todd
74a59930f2
spreadsheet: write out charts/drawings
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
Todd
01c7b2b8e7
schema: fix error attempting to unmarshal a non-pointer
2017-09-04 11:08:29 -05:00
Todd
4004c7d49d
schema: remove unused code
2017-09-04 11:08:29 -05:00
Todd
8e48ab75a7
color: add more color names
2017-09-04 11:08:29 -05:00
Todd
ef0d194ae2
spreadsheet: fix issue loading spreadsheets with non-standard naming
v0.1.0
2017-09-02 17:50:38 -05:00
Todd
13820691e2
spreadsheet: save worksheet relationships
2017-09-02 17:50:38 -05:00
Todd
a06fea99f7
spreadsheet: add saving/loading of themes
2017-09-02 17:50:38 -05:00
Todd
8f45ea019b
spreadsheet: add thumbnail support
2017-09-02 17:50:38 -05:00
Todd
9929650854
meta: try rewriting paths for coverage
2017-09-02 17:50:38 -05:00
Todd
84c4983a22
zippkg: specify deflate compression
...
If you don't specify deflate, it defaults to store only.
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
3e1bcdd646
examples: add simple spreadsheet example
2017-09-02 17:50:38 -05:00
Todd
d1d718b734
spreadsheet: add validation check for reused sheet names
2017-09-02 17:50:38 -05:00
Todd
1896e7fd06
spreadsheet: allow setting/retrieving sheet name
2017-09-02 17:50:38 -05:00
Todd
a54e7275e4
common: add core properties tests
2017-09-02 14:23:54 -05:00
Todd
cb06f7b80a
common: add AppProperties unit tests
2017-09-02 14:23:54 -05:00
Todd
f8e27cd8f9
meta: rename codecov.yml
2017-09-02 13:26:01 -05:00
Todd
6162cf612e
meta: add codecov.io reporting
2017-09-02 13:13:12 -05:00
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