165 Commits

Author SHA1 Message Date
Vyacheslav Zgordan
d1ac9ebe5b Optional custom.xml (#340)
* Optional custom.xml
2019-10-23 19:06:11 +00:00
Vyacheslav Zgordan
ae4e2e35b9 #315, #323, #329 (#330)
* #315, #323, #329

* New testfile
2019-10-01 07:11:17 +00:00
Sandro Trianni
541b6a88da Refactor header/footer reusing document.tables (#308)
* Refactor header.go  Reuse document.tables
* Refactor footer.go  Reuse document.tables
2019-08-05 19:14:04 +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
f7abdfa23d issue with paragraph containing several form fields #305 fix (#311) 2019-08-03 12:40:05 +00:00
Vyacheslav Zgordan
d351975af1 Baliance replaced for FoxyUtils ehf in License information (#312) 2019-07-25 16:43:46 +00:00
Marc Coury
c6ab0e98df Add images from bytes for presentation and workbook (#295) 2019-07-02 14:54:55 +00:00
Nikita Kryuchkov
a3c3e9ba5b Add tables loop to Paragraphs funcs of Header and Footer (#303)
* Add `Tables` func for `Header`, `Footer`
* Embed tables loop into `Header.Paragraphs`, `Footer.Paragraphs`
2019-06-24 21:37:53 +00:00
Alfred Hall
2e7943e809 New license based on the unidoc model (#294)
* Style fixes.  Fixes for tests. Should not fail with version updates in the future.
2019-06-09 11:56:06 +00:00
Nikita Kryuchkov
06b1c96f8f Add tables loop to document's Paragraphs func (#280) 2019-05-11 16:06:59 +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
Jeff Stiles
001376ca65 include CT_SdtRow entries in table.Rows() (#261) 2019-04-10 23:07:05 +00:00
Jeff Stiles
bd218fda99 include CT_SdtCell entries in row.Cells() (#260) 2019-04-10 22:17:28 +00:00
Jeff Stiles
32d0f79893 Included nested tables in document.Tables() output (#257)
* included nested tables in document.Tables() output

* add test case for getting tables

remove comments

* cleanups
2019-04-03 16:56:05 +00:00
Jeff Stiles
167fc12abe Support fetching bookmarks within tables, including recursively (#255)
* support fetching bookmarks withing tables, including recursively

* change to pointer receiver
2019-04-03 10:02:32 +00:00
Tom Weber
b746aceced Image from data (#251)
* ability to create image from in-memory data

* gitignore: vim swap files
2019-03-29 16:26:51 +00:00
Todd
08d318b31d document: look for merge fields in tables
Fixes #223
2018-11-29 08:41:12 -05:00
Tom Weber
a4556291f8 Added Run.AddPageBreak() 2018-11-15 07:03:24 -06:00
Tom Weber
0e43c60303 Added ParagraphStyleProperties methods for alignment and indent 2018-11-15 07:03:24 -06:00
Tom Weber
372ab211c7 Added MultiLevelType methods, set level Start to 1 2018-11-15 07:03:24 -06:00
Tom Weber
17957ac779 Added Cell.AddTable() 2018-11-14 07:11:04 -06:00
Todd
ed84939b3b document: fix IsBold check
We used existence to indicate non-boldness, but the element
can exist with a false value which also means bold is disabled.

Fixes #204
2018-09-28 05:49:39 -05:00
Todd
3115a2ad3c document: support controlling table cell margins
Fixes #202
2018-09-26 20:02:06 -05:00
Todd
d8887513e0 document: fix jpg image support
The earlier fix was not correct, it fixed filenames in the
package, but not the relationship reference.

Fixes #188
2018-09-14 14:48:38 -05:00
Todd
e6c056205f meta: fix pdf export ole example 2018-07-27 16:30:49 -05:00
Todd
acf3430d9b document: support for adding rows before/after
This makes editing document templates easier as you can insert
rows mid-table.
2018-07-27 16:30:49 -05:00
Todd
3e25a7246b document: support for replacing mail merge fields
Fixes #170
2018-07-27 15:34:01 -05:00
Evgeniy Kulikov
1f94b99711 document: add footer image support
Add support for adding images to footers.
2018-07-16 16:35:15 -05:00
Todd
7f7bedb858 document: fix non-PNG image support
Fixes #188
2018-07-08 18:15:14 -05:00
Todd
9471100d92 document: add more fine grained control of line spacing 2018-05-28 07:35:39 -05:00
jjjabc
4293d9cb58 document: support inserting table before/after paragraph 2018-05-25 15:51:48 -05:00
jjjabc
e44d93ec4d document: support inserting table anywhere 2018-05-25 15:51:48 -05:00
Todd
06e12203b2 document: set east asia font family
Fixes #175
2018-05-13 15:37:17 -05:00
Todd
b601beb3ec document: support non-dirty fields
Fixes #171
2018-03-30 20:52:37 -05:00
Todd
bc4407804f document: support for vertically merging cells
Fixes #164
2018-03-13 09:21:39 -04:00
Todd
efd47ee66a document: support for iterating over tables
Thanks to lishuu for the issue and fix.

Fixes #162
2018-03-13 08:46:03 -04:00
Hariharan Srinath
9c067b3fdd document: adds a helper method to set section margins
Fixes #165
2018-03-03 10:59:17 -05:00
Todd
e3714d27a7 fix paragraph numbering id
Fixes #161
2018-02-28 17:36:59 -05:00
Todd
fd26e4bbcf document: support for embedding images in headers
Fixes #150
2018-01-24 20:05:00 -05:00
Todd
f4f42c085d document: support super/sub script on text runs
Fixes #151
2018-01-24 19:50:01 -05:00
Todd
33a8645f66 common: fix app version
Our app version wasn't correct per MS's spec.  Modify it
to match the XX.YYYY format.
2018-01-18 17:30:07 -05:00
Todd
01883a5e87 common: support more app/core properties
Support language, links up to date, and document security
flag and update unit test golden files.
2018-01-18 10:53:35 -06:00
Todd
a1884f4e37 document: allow controlling numbering level formatting
Fixes #144
2018-01-04 19:03:50 -06:00
Todd
8479accfea document: don't automatically force the numbering ID
Previously we hardcoded the numbering ID to 1 instead of leaving
it unset
2018-01-04 19:03:50 -06:00
Todd
2e895a8dad document: when adding an image, ensure content-types exist for it
Fixes #142
2017-12-27 16:48:14 -06:00
Todd
dcf6883ca5 document: support for controlling auto-sized tables
Fixes #140
2017-12-27 16:26:28 -06:00
Todd
259724dfab document: support for controlling paragraph numbering
Fixes #136
2017-12-16 07:36:26 -06:00
Todd
12b7484103 document: support creating inline images
Fixes #134
2017-12-10 07:40:03 -06:00