14 Commits

Author SHA1 Message Date
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
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`
2019-05-12 12:12:11 +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
Todd
65256235c2 spreadsheet: fix for sheet ordering bug
Need to test this more, may be working by chance...

Updates #154
2018-02-05 20:27:50 -06:00
Todd
5f6b0bf9f9 spreadsheet: add more unit tests 2017-10-02 18:36:49 -05: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
Todd
d69cf90249 format: implement support for evaluating spreadsheet number formatting
This adds support for extracting a cell's formatted value according to
the number format applied to the cell.  To do this we need to implement
a parser for Excel style format strings and support formatting numbers
according to that style.

This also enhances the General formatting to be much closer to what
Excel normally does. There are likely still a few corner cases where
Excel and gooxml differ, but hopefully not too many.
2017-09-18 22:30:08 -05:00
Todd
3bc4675cf6 spreadsheet: add comment support
This adds comment support for sheets.  Excel requires a VML drawing with
the comment box shape for each comment to display the comment.
LibreOffice displays comments fine with or without the shape, and
creates the shape for its own comments.  For the sake of compatibility,
we create comment shapes as well.

I know of no other use for the legacy VML support other than comment
boxes...
2017-09-10 11:25:29 -05:00
Todd
9b33f72f6e spreadsheet: add spreadsheet golden test 2017-09-08 18:20:52 -04:00
Todd
03540b8c38 spreadsheet: add support for defined names 2017-09-07 07:34:52 -04:00
Todd
d186678dbb spreadsheet: merge spreadsheet/style package into spreadsheet 2017-09-02 17:50:38 -05:00
Todd
105ef6916e document: read/restore all contents of a Word 2016 file
Adds support for serializing/deserializing of:

- webSettings
- fontTable
- endnotes
- footnotes
- themes
- optional numbering
2017-08-29 22:40:44 -05:00
Todd
4bd04dd2e5 initial commit 2017-08-29 15:06:08 -05:00