386 Commits

Author SHA1 Message Date
Todd
a59b472c98 meta: add screenshots of a few examples 2017-09-04 15:11:54 -05:00
Todd
bb72680e01 spreadsheet: fix drawing for Mac Excel 2017-09-04 15:01:14 -05:00
Todd
45fe2ad00c schema: fix element with duplicate attrs on synthetic elements 2017-09-04 15:01:14 -05:00
Todd
f91f68b26a spreadsheet: rename InitializeDefault to InitializeDefaults 2017-09-04 15:01:14 -05:00
Todd
b959b47d29 schema: fix serialization of unions of native go types
We were wrapping the union with an extra element that
wasn't needed.
2017-09-04 15:01:14 -05:00
Todd
b19266aced spreadsheet: initial fixes for Mac Excel 2017-09-04 15:01:14 -05:00
Todd
797458f773 meta: update status in README 2017-09-04 11:19:25 -05:00
Todd
35a2b8026e spreadsheet: add a line chart example and supporting code 2017-09-04 11:08:29 -05:00
Todd
ba68d59d67 schema: serialize booleans as 1/0 instead of true/false
This matches what the MS products and LibreOffice do.
2017-09-04 11:08:29 -05:00
Todd
96a7f9dc80 spreadsheet: allow setting drawing extents 2017-09-04 11:08:29 -05:00
Todd
704a4c6963 schema: remove support for multiple drawing anchors
The OOXML XSD allows it, but I don't see a need for it and
it makes the code more complex keeping it.
2017-09-04 11:08:29 -05:00
Todd
f959cb0c9f spreadsheet: working line chart
- needs major cleanup, but it displays in Libre
2017-09-04 11:08:29 -05:00
Todd
28e4b68715 common: add warning for using urls instead of mime type 2017-09-04 11:08:29 -05:00
Todd
0dae44f002 chart, drawing: start adding chart & drawing support
- Created chart, drawing packages for the chart/drawing stuff common
  between document type
- Need to go back and clean up any drawing related document types after
2017-09-04 11:08:29 -05:00
Todd
dc920417d0 schema: change some charting related slices to singular 2017-09-04 11:08:29 -05:00
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