Thomas Fussell
2d28cd93e5
add missing header
2016-06-11 10:03:58 -04:00
Thomas Fussell
85e1b4a333
refactor styles... again
2016-06-10 13:40:50 -04:00
Thomas Fussell
3a589fe8ef
define some built-in rgb colors, missing fill method
2016-05-16 19:31:44 -04:00
Thomas Fussell
b8e7931b10
remove accidental commit of temporary test
2016-05-15 15:06:55 -04:00
Thomas Fussell
135af6e6c9
fix styles -- Excel wanted to repair saved workbooks
2016-05-15 15:03:02 -04:00
Thomas Fussell
365e2f93fc
fix round-tripping of text runs with formatting
2016-05-15 11:51:32 -04:00
Thomas Fussell
3d4941e61d
wire up text and text run serialization
2016-05-14 15:19:08 -04:00
Thomas Fussell
74cc503215
clarify naming of styles and formats
2016-05-14 13:57:07 -04:00
Thomas Fussell
916883e427
fix last few tests
2016-05-14 12:42:34 -04:00
Thomas Fussell
e1e29e1f30
Merge remote-tracking branch 'xpol/shared-string-with-different-formatted-parts' into styles-refactoring
2016-05-14 09:30:05 -04:00
Xpol Wan
6500f71f70
Remove log code.
2016-05-14 16:36:14 +08:00
Xpol Wan
c18110e282
add support for one cell with different formatted text nodes.
...
Eg, In one cell the text is abcdef, where abc and def have different format (e.g., different colours or fonts).
The the sharedString.xml in xlsx have multiple r node in si node:
```xml
<si>
<r>
<t>abc</t>
</r>
<r>
<rPr><sz val="10"/><color rgb="FFFF0000"/><rFont val="微软雅黑"/><charset val="134"/></rPr>
<t>def</t>
</r>
</si>
```
Currently `shared_strings_serializer::read_shared_strings()` only reads the first r node, and should consider as a bug.
This commit fixes this bug by read all `r.t.text` values in one `si` node and concat the text into one single string.
2016-05-14 16:24:21 +08:00
Thomas Fussell
d2d53dfc6d
only a few failing tests remain
2016-05-13 14:40:17 -04:00
Thomas Fussell
739be9d850
merge changes from other computer
2016-05-13 12:32:44 -04:00
Thomas Fussell
31b546b1d5
general API improvements
2016-05-11 19:24:53 -04:00
Thomas Fussell
713bd1ea12
almost done finally. still need to figure out the interaction between styles and named styles, maybe improve naming
2016-05-03 15:37:34 -04:00
Thomas Fussell
198483c88e
the library compiles now. tests don't
2016-05-01 11:08:56 -04:00
Thomas Fussell
9bd6e92297
not done yet. I can't beleive how complicated this is
2016-04-30 16:19:45 -04:00
Thomas Fussell
720edc143f
allow duplicate shared strings (why excel?). eventually we should do a garbage collection step that deduplicates shared strings after the workbook is loaded
2016-04-26 13:09:17 -04:00
Adam Nielsen
62c00744b0
Add test for duplicate shared string
2016-04-26 13:28:57 +10:00
Adam Nielsen
c20795dd9f
Add test for charset error when opening valid .xlsx
2016-04-22 16:30:32 +10:00
Thomas Fussell
1e045d7e95
implement more cell formatting
2016-03-14 11:46:01 +08:00
Thomas Fussell
5a9c18834d
work on round-tripping of a workbook with complex formatting
2016-03-10 17:12:51 +08:00
Thomas Fussell
ce7b30d7ab
wrong header...
2016-03-09 14:02:14 +08:00
Thomas Fussell
bb1cbdb4ac
add missing header
2016-03-09 13:57:37 +08:00
Thomas Fussell
0c3a167f7c
implement app properties reading/writing, case-insenstive border enum->string conversions for some style enums
2016-03-09 11:32:32 +08:00
Thomas Fussell
b56722ed65
fix unsigned signed conversion warning
2016-03-07 13:42:33 +08:00
Thomas Fussell
74bfdb6f7d
clean up iterators
2016-01-24 11:15:49 -05:00
Thomas Fussell
d62ad6731d
update copyright year
2015-12-24 17:10:02 -05:00
Thomas Fussell
537b76dd3f
clean up styles and hashing, add license boilerplate to all files, update readme, finish moving implementations to source files
2015-12-24 15:51:11 -05:00
Thomas Fussell
7dc48c7c0b
fix issue #34
2015-12-22 14:39:41 -05:00
Thomas Fussell
b2b9732a09
work on tests
2015-11-22 12:41:27 -05:00
Thomas Fussell
acfb5c642b
keep cleaning up iterators, documenting classes, and moving implementations to source files
2015-11-20 20:41:32 -05:00
Thomas Fussell
47b81a83de
start moving all implementations to source files
2015-11-19 22:54:54 -05:00
Thomas Fussell
1e746ad587
fix windows configuration
2015-11-10 20:47:07 -05:00
Thomas Fussell
990c2a926f
fix minor issues and configure script
2015-11-10 19:47:31 -05:00
Thomas Fussell
40fc54f55e
revert to 3bb988c422
reluctantly
2015-11-10 18:58:54 -05:00
Thomas Fussell
7b5246f9dd
finish up custom string class implementation
2015-11-07 18:37:23 -05:00
Thomas Fussell
4919e7ea00
fix some failing tests
2015-11-04 22:03:18 -05:00
Thomas Fussell
665f8fbebc
made a new string class for dll exports
2015-11-04 18:45:03 -05:00
Thomas Fussell
73f1a8b9ee
work on documentation
2015-11-03 18:26:33 -05:00
Thomas Fussell
7ec6e2d4df
finish documenting all classes in cell module and clean up their APIs
2015-11-03 14:53:48 -05:00
Thomas Fussell
3e99225652
forgot to update some includes
2015-11-03 09:06:01 -05:00
Thomas Fussell
500303b303
fix issue #18
2015-11-03 08:50:36 -05:00
Thomas Fussell
2c8ccdfcda
restructure source and clean up cmake scripts
2015-11-03 08:38:09 -05:00
Thomas Fussell
90d8d545ed
fix windows build and warnings
2015-11-02 17:25:10 -05:00
Thomas Fussell
9c05e04f70
fix -Wall -Wextra -pedantic warnings
2015-11-02 16:45:05 -05:00
Thomas Fussell
c9b6b9e473
fix windows errors
2015-11-02 14:22:13 -05:00
Thomas Fussell
2f8032437c
fix all tests
2015-11-01 23:52:19 -05:00
Thomas Fussell
fef68e460f
restructure build system
2015-11-01 12:31:29 -05:00