377 Commits

Author SHA1 Message Date
Vyacheslav Zgordan
dd7713e1e3 Functions2 (#348)
* MATCH, IFS, MAXA, MINA
* OFFSET fixed
* ISBLANK, ISERR, ISERROR, ISEVEN ,ISFORMULA, ISNONTEXT, ISNUMBER, ISODD, ISTEXT
* ISLEAPYEAR, ISLOGICAL, ISNA, ISREF
* FIND, FINDB
* SEARCH, SEARCHB
* CONCAT, CONCATENATE
* YEAR, YEARFRAC
* CONCAT is fixed, now TRUE and FALSE are concatenated instead of 1 and 0 in case of boolean results
* NOW, TODAY, TIME, TIMEVALUE
* DATE
* DATEDIF
2019-11-20 23:21:00 +00:00
Gunnsteinn Hall
ec23b64dee
Create greetings.yml workflow 2019-11-19 19:44:48 +00:00
Gunnsteinn Hall
cbb8a8a9a2
Update README.md 2019-11-19 18:44:09 +00:00
Vyacheslav Zgordan
415c045839 Spreadsheed Formula Functions (#345)
* CELL function
* CELL moved to fninformation.go
* CHOOSE function
* CHOOSE function add one test
* COLUMN function
* COLUMNS function
* COUNTIF function
* COUNTIF, COUNTIFS, MINIFS, MAXIFS, SUMIF, SUMIFS, some style fixes
* SUMIF and SUMIFS moved to the right location
* VALUE function
* wildcard is added
* CELL format fix
2019-11-05 16:36:09 +00:00
Gunnsteinn Hall
a0ab7d537f
Set threshold on testing coverage changes (#342) v1.2.1 2019-10-23 21:35:55 +00:00
Vyacheslav Zgordan
d1ac9ebe5b Optional custom.xml (#340)
* Optional custom.xml
2019-10-23 19:06:11 +00:00
Vyacheslav Zgordan
2bd51b004c watermarks for spreadsheets and presentations (#335) 2019-10-10 11:26:10 +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
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
Lunny Xiao
8a700b536d add hh time format support (#306) 2019-07-08 09:19:59 +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
Marc Coury
f61dcc30ae Fix runtime panic when making a presentation from a template (#291) 2019-06-21 19:37:04 +00:00
Nikita Kryuchkov
9b742a3505 Fix comment on the AddSheet (#299) 2019-06-17 18:27:10 +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.
v1.2.0
2019-06-09 11:56:06 +00:00
Nikita Kryuchkov
1783b652de Functions to copy and remove sheets (#281)
* Add funcs to remove sheet from workbook
- RemoveSheet added to remove sheet by index
- RemoveSheetByName added to remove sheet by its name
* Add `CopyRelationship` func to `Relationships`
* Add funcs `CopySheet`, `CopySheetByName`
- `CopySheet` copies sheet at the specified index
- `CopySheetByName` copies sheet with the specified name
* Make `CopyRelationship` return copied rel and bool flag
* Add func `CopyOverride` to `ContentTypes`
* Add test for `CopyRelationship`
* Add tests for sheet removing funcs
* Add test for `CopyOverride`
* Add tests for `CopySheet`, `CopySheetByName`
v1.1.0
2019-05-12 12:12:11 +00:00
Nikita Kryuchkov
06b1c96f8f Add tables loop to document's Paragraphs func (#280) 2019-05-11 16:06:59 +00:00
Gunnsteinn Hall
c01764e24e Update README.md (#275) 2019-05-04 16:00:14 +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
Gunnsteinn Hall
5db1a51c57 Update README.md (#271) 2019-04-29 14:52:52 +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
Alfred Hall
8b9073797c Update README.md (#242) 2019-02-20 21:59:30 +00:00
Alfred Chou
a2d0a4b5ce Added RGBA constructor. 2018-12-27 20:50:31 -06:00
Todd
29b701ce7b spreadsheet: set custom row height attribute
Set the custom row height attribute which is required
for Excel to use the row height property.

Fixes #232
2018-12-24 09:34:58 -06:00
Todd
15d7d72c01 spreadsheet: support rotated cells
Fixes #226
2018-12-18 19:20:19 -06: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
4f678e9952 spreadsheet: add a RemoveCalcChain function
This allows removing the cached calculation change which
can contain bad data if rows are inserted/removed.

Fixes #215
2018-10-17 17:11:41 -05:00
Todd
a367a88248 spreadsheet: update merged cell references when inserting rows
Fixes #212
v1.0.1
2018-10-14 18:26:02 -05:00
Todd
e917b8a1e8 schema: unit test for issue #207 2018-09-30 11:51:46 -04:00
Sol Cates
7236b2c061 Added empty struct to avoid nill pointer error 2018-09-30 11:32:05 -04:00
Todd
31484197ea spreadsheet: support inserting rows within a sheet
Fixes #203
v1.0.0 v0.9.2
2018-09-28 05:49:56 -05: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
70dbd44232 common: handle unordered relationships correctly
Continued part of #198 after @JasonFromSpace pointed out
an error with the original fix.
v0.9.1
2018-09-17 17:58:35 -05:00
Todd
0b5e389ad4 meta: add go.mod v0.9.0 v0.9 2018-09-14 15:12:25 -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