25 Commits

Author SHA1 Message Date
Vyacheslav Zgordan
f8b39352f9
dml struct names fix (#413) 2020-06-30 13:13:03 +00:00
Vyacheslav Zgordan
0f98a7e893
Resolve UO-27, UO-28, UO-31 (#407)
* Fixes in CI (#406)

* Create .gitattributes

* Update .travis.yml

* Update .travis.yml

* travis fix

* only errors are printed in travis log

* spreadsheet errors fixed: duplicate ID in non-visual properties and lack of third axis in an example

* set-strict example fix

* build-examples.sh exits with error status in the case of build error

* redundant command deleted from script

* unneeded image relationships removed

* pptx validation errors fixes

* all output to travis

Co-authored-by: Gunnsteinn Hall <gunnsteinn.hall@gmail.com>
2020-06-23 09:24:02 +00:00
Vyacheslav Zgordan
2052cbb728
PPT relationships, image fix (#395)
* PPT relationships, image fix

* filenames fix

* Custom properties fix

* schema update

* Table styles fix

* Scale fix

* path fix

* New schema: cycle imports fix

* xsdAny namespace duplicate fix

* Images names fix

* Images extensions fix

* duplicate chart fix

* chart empty attrs fix

* Choice if fixed, scale is rolled back

* comments

* Rollback license info in schema files

* import path fix

* import path fix 2

* error with incorrect content types names fixed when deleting slides and then adding them again

* template with image example

* MustCompile replaced

* imports fixed

* slideIdx error fix
2020-06-07 13:42:27 +00:00
Vyacheslav Zgordan
72ad869a28
Get all cells in a row with empty ones (#377)
* Get all cells in a row with empty ones
* sheet.MaxColumnIdx() changed
* goimports for all
2020-03-25 13:40:25 +00:00
Vyacheslav Zgordan
26d9caa6f8 Support custom metadata in document properties (#309)
* https://github.com/unidoc/unioffice/issues/302
2019-08-04 18:52:05 +00:00
Vyacheslav Zgordan
73de0318a4 Licanse info fix (#314) 2019-08-02 10:49:16 +00:00
Vyacheslav Zgordan
d351975af1 Baliance replaced for FoxyUtils ehf in License information (#312) 2019-07-25 16:43:46 +00:00
Gunnsteinn Hall
270664ca01
Rename package name to unioffice (#274) 2019-05-04 13:54:29 +00:00
Nikita Kryuchkov
e8bf6a3bb9 Move repository https://github.com/baliance/gooxml to https://github.com/unidoc/unioffice (#273) 2019-05-04 08:18:06 +00:00
Nikita Kryuchkov
e65ced8888 Add purl.oclc.org namespace support (#265)
* Regenerate code to handle purl.oclc.org docs correctly
* Make purl.oclc.org docs be opened just as the openxml ones
* Modify opening routine to change strict docs to non-strict
- `CustomXMLType` and `CustomXMLTypeStrict` were added to properly replace
these in strict docs
- `Decode` of `zippkg` was modified to replace the namespace in
relationships
- `TestOpenStrict` was modified to open the strict file, save it as
non-strict, reopen non-strict and validate its correctness
2019-04-29 15:32:26 +00:00
Sol Cates
7236b2c061 Added empty struct to avoid nill pointer error 2018-09-30 11:32:05 -04:00
Todd
75f877dbab document: Google docs writes out incorrect floating point values
Relax our parsing somewhat so we can read these documents,
truncating at the decimal point back to an integer.

Fixes #196
2018-09-11 20:28:33 -05: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
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
7343e2d31f spreadsheet: don't allow extra content on Workbook
Fixes #107
2017-10-05 08:21:17 -04: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
Todd
5bfa034ef9 gooxml: add and use a Log function
This allows redirecting or discarding any
logs produced by the library.
2017-09-30 07:09:26 -05:00
Todd
ad46a6ae15 schema: preserve extra content on CT_R/CT_SdtPr
The extra content is non-standard, but Libre seems to support
it well so we just round-trip it for now.
2017-09-26 19:34:13 -05:00
Todd
427f7b1e45 schema: rename officeDocument to ofc 2017-09-23 10:01:17 -04:00
Todd
599631208a schema: rename drawingml to dml 2017-09-23 10:01:17 -04:00
Todd
e880adfc5b schema: rename package to pkg 2017-09-23 10:01:17 -04:00
Todd
cfd74875a6 schema: rename presentationml to pml 2017-09-23 10:01:17 -04:00
Todd
ca6c54dc60 schema: rename wordprocessingml to wml 2017-09-23 10:01:17 -04:00
Todd
5c7852d21e schema: rename spreadsheetml to sml 2017-09-23 10:01:17 -04:00
Todd
09825ac816 schema: rework schema namespaces to work around Windows issues
The go command on Windows doesn't like long path name. To
work around this, this is the first in a series of changes to
shorten the schema disk path structure in a few places.

Fixes #89
2017-09-23 10:01:17 -04:00