Thomas Fussell
627e6d438e
Merge remote-tracking branch 'xpol/remove-and-ignore-genreated-test-runner'
2016-07-04 12:21:46 -04:00
Thomas Fussell
9ae506c1ea
move serialization classes to detail, recouple with pugixml (no reason to abstract)
2016-07-03 19:22:08 -04:00
Xpol Wan
49e47a57a2
Remove and ignore generated test runner.
2016-06-29 17:30:26 +08:00
Thomas Fussell
135af6e6c9
fix styles -- Excel wanted to repair saved workbooks
2016-05-15 15:03:02 -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
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
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
9bd6e92297
not done yet. I can't beleive how complicated this is
2016-04-30 16:19:45 -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
0649526796
improve build
2016-01-16 21:07:02 -08:00
Thomas Fussell
1ec1b2ac83
add test to reproduce issue #34
2015-12-22 14:39:06 -05:00
Thomas Fussell
c456c920cc
fix travis
2015-11-21 00:43:32 -05:00
Thomas Fussell
21315ce803
forgot to revert test helpers
2015-11-10 19:46:57 -05:00
Thomas Fussell
3e0c666263
add samples to be used in documentation and to be compiled
2015-11-10 19:16:50 -05:00
Thomas Fussell
7b5246f9dd
finish up custom string class implementation
2015-11-07 18:37:23 -05:00
Thomas Fussell
665f8fbebc
made a new string class for dll exports
2015-11-04 18:45:03 -05:00
Thomas Fussell
a2919dfed8
add missing runtime_error include and improperly located headers
2015-11-03 08:46:40 -05:00
Thomas Fussell
2c8ccdfcda
restructure source and clean up cmake scripts
2015-11-03 08:38:09 -05:00
Thomas Fussell
c9b6b9e473
fix windows errors
2015-11-02 14:22:13 -05:00
Thomas Fussell
e16d381b11
remove accidental inclusion of some debug code
2015-11-01 23:56:49 -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
Thomas Fussell
832294ace6
use new windows include in all files
2015-11-01 09:47:52 -05:00
Thomas Fussell
9dce7b8f0c
almost done. phew...
2015-10-30 18:54:04 -04:00
Thomas Fussell
84e9dd099e
keep refactoring serialization code, updating tests
2015-10-29 23:16:31 -04:00
Thomas Fussell
75ec0f8eee
keep refactoring serialization code
2015-10-29 19:37:07 -04:00
Thomas Fussell
c884ad7f82
start refactoring serialization code
2015-10-29 13:46:56 -04:00
Thomas Fussell
ea46558d2c
revert failing test
2015-10-26 18:13:42 -04:00
Thomas Fussell
c113bf0a98
try out failing test
2015-10-26 18:10:43 -04:00
Thomas Fussell
959ba08e4a
fix travis build
2015-10-26 17:35:47 -04:00
Thomas Fussell
0d53471ff7
fix cmake pre build step
2015-10-26 16:26:47 -04:00
Thomas Fussell
c07b97f3e8
improve printing cells to stream and round tripping
2015-10-26 00:26:48 -04:00
Thomas Fussell
c802a1f591
finished minimal styles implementation
2015-10-23 14:42:36 -04:00
Thomas Fussell
21b3d366d6
change some things
2015-10-20 23:30:10 -04:00
Thomas Fussell
3b56af6b8e
still working on styles, so close
2015-10-19 00:03:52 -04:00
Thomas Fussell
2f07e0ae62
continue implementing styles
2015-10-18 15:30:46 -04:00
Thomas Fussell
a63984969e
improve date handling and printing
2015-10-16 18:35:11 -04:00
Thomas Fussell
e3bb0be98e
work on writer
2015-10-14 18:05:13 -04:00
Thomas Fussell
89b1aca602
add wrapper scripts for building, switch from premake to genie
2015-10-14 12:21:18 -04:00
Thomas Fussell
6b3781d03b
begin refactoring writing code
2015-10-14 00:03:48 -04:00
Thomas Fussell
7316e2184c
replace pugiconfig.hpp with local header, fix some constness, dry up code
2015-10-13 16:35:22 -04:00
Thomas Fussell
301e81d698
integrate value into cell, continue synchronizing with openpyxl 2.4
2015-10-13 13:56:07 -04:00
Thomas Fussell
77d6bbb41b
fix precision on time to number, fix type guessing, fix long long on osx
2015-10-06 12:31:49 -04:00
Thomas Fussell
ffedc2cb33
literals should be long doubles to make float comparison exact
2015-10-02 10:02:54 -04:00
Thomas Fussell
c03f7d28e4
begin synchronizing tests with openpyxl 2.4 branch, fix type guessing logic
2015-10-01 23:09:25 -04:00
Thomas Fussell
6d39ac1d31
skip styles tests with less noise
2015-10-01 18:39:15 -04:00
Thomas Fussell
f25945172e
no need to have cxxtest autogenerated file in source control
2015-10-01 18:36:18 -04:00
Thomas Fussell
8f669c11db
update copyright, add overloads for all int sizes, fix line ending in zip_file test
2015-10-01 18:14:42 -04:00