Crzyrndm
15b3bd1b53
unicode escape sequence for libre office pwd
...
-- to encode: copy the string into unicodelookup.com. Take the hex representation and pad to 4 characters with '0's, prefixing each character with '\u'
2018-06-18 22:40:26 +12:00
Crzyrndm
9bbebe5fdd
Add __LINE__ to test assert failed messages
2018-06-18 22:40:25 +12:00
Crzyrndm
bd90cc4786
add brackets to macro expressions to ensure expected expansion results
2018-06-18 22:40:25 +12:00
Crzyrndm
6d16ffaddf
Final test report now includes the test failure message
2018-06-18 22:40:25 +12:00
Crzyrndm
cfef764ab9
Add exception message and test name to std::cout when a test fails
...
-- '*' doesn't help much when debugging
2018-06-18 22:40:25 +12:00
Crzyrndm
92ae444791
round trip unicode test had the same embedded encoding issue
2018-06-18 22:40:25 +12:00
Crzyrndm
fa2b20da99
fix encoding issues with unicode file test
...
-- unicode string literals don't seem to work in an obvious way. Embedding the encoding using the \u escape sequences (https://en.wikibooks.org/wiki/Unicode/Character_reference/0000-0FFF )
2018-06-18 22:40:24 +12:00
Crzyrndm
fc7c69a724
Base selection on Excel behaviour
...
-- sqref is a block of selected cells containing the active_cell (normally is just == active_cell)
-- active cell is the selected vell in this selection/view/pane
-- inactive selections use the top-left cell as the active_cell
2018-06-18 22:40:24 +12:00
Crzyrndm
6f13002ac6
set selection::sqref in freeze_panes
...
-- NOTE: It doesn't seem likely that these should be 'A1' in all cases (set to 'A1' because current tests demanded it). Purpose of this parameter needs clarification
-- NOTE: [xlnt::selection] needs appropriate ctor's once the purpose of the parameters can be clarified
2018-06-18 22:40:24 +12:00
Crzyrndm
b4e7832419
Fixes to cell hyper links
...
-- additional tests to cover both variants of the set function
-- additional tests to cover hyper links on cells with non-string data
-- modified hyper link set function to handle cells with non-string data
-- fixed test behaviour for a cell with no value (value is set to the string form of the link. Behaviour copied from Excel 2010)
2018-06-18 22:40:24 +12:00
Crzyrndm
04c0b4a1ca
Fix issues with the worksheet "title" setter.
...
-- Resolves two test failures caused by a crash when setting the title to the existing value removing the sheet from the 'sheet_title_rel_id_map_'
-- added empty title check
2018-06-18 22:40:23 +12:00
Thomas Fussell
e350a7734d
implement abspath and archid flags, fixes some serialization problems
2018-05-28 23:13:57 -04:00
Thomas Fussell
50850ffb8a
work on round-tripping for #230
2018-04-24 17:58:17 -04:00
Thomas Fussell
617f7a2525
improve hyperlinks and style round tripping
2018-03-21 09:03:37 -04:00
Thomas Fussell
410e73d594
work on hyperlinks, x14 extentions, other round tripping silliness
2018-03-16 21:21:16 -04:00
Thomas Fussell
2426215801
implement sheet view serialization
2018-03-14 20:12:07 -04:00
Andrii Tkachenko
467dc860c6
Visual Studio 2015 build files for Win32/x64 configurations. Very first working version.
2018-02-14 06:22:33 +01:00
Thomas Fussell
0f0d3de75f
implement sheetFormatPr, x14ac:dyDescent, reordering workbook rels so sheets come first after insertions
2018-01-26 14:32:00 -05:00
Thomas Fussell
90633d0e8e
copyright year bump (2018)
2018-01-22 09:38:48 -05:00
Thomas Fussell
c960453ff4
prevent supression of failing round-trip tests
2017-12-10 15:03:03 -05:00
Thomas Fussell
c4a2bb8c6d
Revert "add row height and column width serialization tests"
...
This reverts commit dc4befd867
.
2017-10-30 19:53:39 -04:00
Thomas Fussell
470c655df6
fix empty row height/cell width, #235
2017-10-30 19:36:24 -04:00
Thomas Fussell
dc4befd867
add row height and column width serialization tests
2017-10-30 17:23:14 -04:00
Thomas Fussell
06b315b352
add interface to worksheet and range for clearing cells entirely, not just their values, for #232
2017-10-26 13:45:56 -04:00
Thomas Fussell
0e0bf0f8a1
continue work on #230 , improves style/xf handling
2017-10-26 12:54:54 -04:00
Thomas Fussell
75de03745b
start fixing serialization for #230
2017-09-28 08:55:16 -04:00
Thomas Fussell
e910666c56
include missing header in path_helper
2017-09-27 17:35:35 -04:00
Thomas Fussell
919c65ceea
Merge pull request #229 from downwash/master
...
Fix for issue #228 : Worksheet ID is not always unique
2017-09-27 17:32:40 -04:00
vervbe
c05b9f33c1
Fix for issue #228 : Worksheet ID is not always unique
...
- Worksheet ID now generated from the maximum of existing IDs
- Worksheet ID no longer copied from existing sheet
- Added tests
2017-09-26 08:33:06 +02:00
Thomas Fussell
b2adee9fd3
implement upper case date/time handling, closes #221 , closes #222 , related to #220
2017-09-13 10:47:18 -04:00
Thomas Fussell
f27df9732c
add option to enable linking with static C runtime when compiling with MSVC, #214
2017-09-13 10:20:51 -04:00
Thomas Fussell
81812d6e29
implement sheet view selection consumption, closes #164
2017-09-13 09:36:42 -04:00
Thomas Fussell
9d71dda531
ensure only exceptions derived from xlnt::exception are thrown by library code plus some minor code cleanup, closes #163
2017-09-13 08:48:22 -04:00
Thomas Fussell
396e6eb948
fix clang warnings
2017-09-08 22:59:19 -04:00
Thomas Fussell
12007fe2d8
change cell numeric value type from long double to double, closes #201
2017-09-08 21:05:34 -04:00
Thomas Fussell
7d0cf59286
correct off-by-one error in range dimension calculation, closes #213
2017-09-08 20:47:10 -04:00
Thomas Fussell
7ed14246b2
clean up cmake files and add d suffix to xlnt debug library, closes #214
2017-09-08 14:33:18 -04:00
Thomas Fussell
b7677d0783
disable stdout in serialization test
2017-09-08 13:58:50 -04:00
Thomas Fussell
0ac12101fc
remove accidental commit of test test
2017-08-18 21:38:53 -04:00
Thomas Fussell
de0e010056
use pybind11 instead of raw C Python API, python_streambuffer is broken for now
2017-07-30 09:48:57 -07:00
Thomas Fussell
eaaa310cef
start implementing xlsx2arrow params
2017-07-19 17:21:55 -07:00
Thomas Fussell
f97ad6c1bd
start working on streaming write
2017-07-04 17:52:46 -07:00
Thomas Fussell
da8fdf6667
remove thousands separator
2017-07-02 19:15:42 -07:00
Thomas Fussell
d7b5374614
fix accidental commit of test file path
2017-06-25 13:14:56 -04:00
Thomas Fussell
56d744b6f9
start cleaning up code
2017-06-25 09:29:45 -04:00
Thomas Fussell
6f716c6e89
work on streaming cell reading, using ugly copy-pasted code for now [ci
...
skip]
2017-06-24 11:39:48 -04:00
Thomas Fussell
d7e7526beb
add failing tests and begin restructuring worksheet reading [ci skip]
2017-06-17 10:53:37 -04:00
Thomas Fussell
d2be054b7c
optimize shared strings and handle formula strings correctly
2017-05-10 08:44:25 -04:00
Thomas Fussell
237fdcc84b
ignore missing calcChain when comparing xlsx files during testing
2017-05-08 11:40:01 -04:00
Thomas Fussell
f32859b257
stop trying to read generated agile encryption info xml for now since it's not valid
2017-05-03 12:16:18 -04:00
Thomas Fussell
239c76659f
work on writing a valid compound document
2017-05-02 22:22:22 -04:00
Thomas Fussell
ee642fc6c1
getting there
2017-04-30 20:21:47 -04:00
Thomas Fussell
b7bf16d47c
implement input and output streambufs for compound document streams
2017-04-30 17:23:28 -04:00
Thomas Fussell
f42d3eee74
move vector_streambuf definitions to a separate file, fix zip buffer bug
2017-04-29 12:29:41 -04:00
Thomas Fussell
f5b5d67594
wip
2017-04-28 17:56:05 -04:00
Thomas Fussell
be37df3c86
intermediate commit
2017-04-28 12:42:42 -04:00
Thomas Fussell
6334907de7
work on short streams
2017-04-28 10:58:55 -04:00
Thomas Fussell
a90b32f386
switch to full in-memory approach, still working
2017-04-26 23:19:28 -04:00
Thomas Fussell
bb91308dd4
work in progress
2017-04-26 12:02:49 -04:00
Thomas Fussell
1e1e8272ae
coding is done finally. time to debug some compound files
2017-04-25 18:14:47 -04:00
Thomas Fussell
c642db6cc2
continue fleshing out cdf writing, getting close now...
2017-04-24 16:06:58 -04:00
Thomas Fussell
b2a5110939
organize detail files, start wiring up encryption logic
2017-04-20 14:03:03 -04:00
Thomas Fussell
adda7b877a
add meta tests (tests that test test functions), optimize sha calls, test incorrect passwords
2017-04-18 18:30:54 -04:00
Thomas Fussell
b3cc07e5db
include header for std::fabs
2017-04-13 22:38:26 -04:00
Thomas Fussell
05c1565a83
link in libstudxml for tests for some reason
2017-04-13 21:53:58 -04:00
Thomas Fussell
104e3bea25
clean up samples and benchmarks, data handling
2017-04-13 20:18:32 -04:00
Thomas Fussell
c68aa8fc84
finish wiring up tests
2017-04-13 19:24:20 -04:00
Thomas Fussell
185d108e82
delete some empty test suites
2017-04-13 19:03:59 -04:00
Thomas Fussell
b85680c5ed
start rewiring tests
2017-04-13 19:01:30 -04:00
Thomas Fussell
835e36d6ae
initial commit withou cxxtest
2017-04-13 14:51:35 -04:00
Thomas Fussell
46df18c12b
improve unicode tests
2017-04-13 10:58:40 -04:00
Thomas Fussell
5b9304960c
accept utf8 passwords for decrypting workbooks, #144
2017-04-12 19:21:21 -04:00
Thomas Fussell
fb59d5b880
fix windows build
2017-04-11 22:25:33 -04:00
Thomas Fussell
a7cd2c9ee5
link in libstudxml as object files
2017-04-11 16:04:17 -04:00
Thomas Fussell
fc4d284615
begin removing external dependencies
2017-04-11 11:08:16 -04:00
Thomas Fussell
8d04b6501c
keep debugging coverage
2017-03-21 22:34:49 -04:00
Thomas Fussell
d7ee03d620
Merge branch 'master' of github.com:tfussell/xlnt
2017-03-18 21:31:05 -04:00
Thomas Fussell
21d05c4572
remove tests requirement on threads, add setting to disable tests
2017-03-18 21:30:26 -04:00
Thomas Fussell
d7cd24c9f2
specify python interpreter for cxxtestgen
2017-03-17 00:13:58 -04:00
Thomas Fussell
c2365b3b31
set dll path before running tests, copy xlnt dll
2017-03-11 17:28:03 -05:00
Thomas Fussell
98d5b64706
link libstudxml to xlnt.test too
2017-03-11 14:57:08 -05:00
Thomas Fussell
5e60b61fe9
specify module path
2017-03-11 14:47:56 -05:00
Thomas Fussell
2bbcb9f7bf
link cryptopp to xlnt.test
2017-03-11 14:40:34 -05:00
Thomas Fussell
80c7664509
add cxxtest to the source tree, external depepdencies are giving me a headache
2017-03-11 14:05:50 -05:00
Thomas Fussell
92eaaeee85
I don't even know at this point
2017-03-11 11:25:03 -05:00
Thomas Fussell
3b35dbb901
specify cryptopp library name for appveyor
2017-03-11 11:15:35 -05:00
Thomas Fussell
f42a0008b7
still need to include libstudxml in xlnt.test, I forgot
2017-03-11 10:48:58 -05:00
Thomas Fussell
b4d84f29f1
link zlib in a better way
2017-03-11 10:37:28 -05:00
Thomas Fussell
4f47087d7e
correct cxxtestgen location
2017-03-11 10:13:42 -05:00
Thomas Fussell
77eeb3b567
fix cxxtestgen directory
2017-03-10 19:10:56 -05:00
Thomas Fussell
db259e9422
workaround for cxxtestgen
2017-03-10 19:08:03 -05:00
Thomas Fussell
e93e8ed091
fix linking
2017-03-10 19:00:10 -05:00
Thomas Fussell
daae577178
stop trying to build zlib and cryptopp locally
2017-03-10 18:33:20 -05:00
Thomas Fussell
0aa26019e2
clean up cmake lists
2017-03-05 22:39:27 -05:00
Thomas Fussell
3db6cc8f0f
use externalproject instead of git submodules for dependencies
2017-03-02 08:41:17 -05:00
Thomas Fussell
9cdf31065c
improve third-party lib handling for vcpkg
2017-02-28 00:00:25 -05:00
Thomas Fussell
767d498dac
separate crypto_helper into header file, fix lots of stuff
2017-02-17 23:11:06 -06:00
Thomas Fussell
84011553a8
rename some things and fix some formatting
2017-02-10 20:22:38 -08:00
Thomas Fussell
85a3f2d60a
add a custom property to the condensed file
2017-02-03 19:40:39 -06:00
Thomas Fussell
7a18c816b6
re-enable round-trip tests, continue condensing test files
2017-01-22 14:54:07 -05:00
Thomas Fussell
0c100e166a
fix up comments, hyperlinks, and formulae consumption tests
2017-01-21 19:12:26 -05:00
Thomas Fussell
e47baaf008
begin condensing test files, no reason to have so many [ci skip]
2017-01-21 11:35:47 -05:00
Thomas Fussell
e4ec1a2850
use system packages for zlib, cryptopp, and cxxtest. WIP [ci skip]
2017-01-21 10:12:08 -05:00
Thomas Fussell
a2bfdee2f2
intermediate commit
2017-01-21 09:04:10 -05:00
Thomas Fussell
cc5952ec19
rename zip to zstream in tests too
2017-01-04 21:14:37 -05:00
Thomas Fussell
cc1a5e15f6
clean up test xml_helper, rename zip to zstream
2017-01-04 19:02:31 -05:00
Thomas Fussell
c43561b4bd
remove calcChain when no formulae remain in any cell, correct calcChain relationship type string, closes #98
2017-01-02 19:13:38 -05:00
Thomas Fussell
78d67ec37d
add test xlsx for custom properties consumption
2017-01-02 17:42:54 -05:00
Thomas Fussell
42c9233ad9
compile and link third-party amalgamation as a static lib instead of object files and fix clang warnings in cryptopp
2017-01-02 17:41:39 -05:00
Thomas Fussell
7de0b05480
fix zip header error when unzipping for #103
2016-12-31 19:15:09 -05:00
Thomas Fussell
66b5187e73
stop trying to produce non-excel style xlsx files
2016-12-29 18:36:29 -05:00
Thomas Fussell
c637f412b6
continue working through xml problems as a result of fixing xml comparison
2016-12-26 09:38:26 -05:00
Thomas Fussell
c8f2ca204b
clang-format all source files, fix broken test helpers--lots of cleanup necessary as a result [ci skip]
2016-12-24 10:04:57 -05:00
Thomas Fussell
008461bf60
finish full header/footer implementation, add support for page breaks, clean up row/column properties interface
2016-12-22 18:57:22 -05:00
Thomas Fussell
886605d643
fix msvc build with some defines
2016-12-15 08:27:16 +01:00
Thomas Fussell
414fe5da39
suppress dev warnings in cryptopp cmake, locate python more flexibly using find_package
2016-12-14 08:27:09 +00:00
Thomas Fussell
e1157625a5
begin refining headers and footers, remove dependency on pugixml
2016-12-10 00:18:50 +00:00
Thomas Fussell
c55aac9ecf
rename getters and setters to the property name, many breaking changes\!
2016-12-02 14:37:50 +01:00
Thomas Fussell
a1ff8c0ed2
parse relationship mode and implement reading hyperlinks, closes #87
2016-11-30 01:05:47 +01:00
Thomas Fussell
2cc3f7947a
clean up xml parsing, fix numbers xlsx decryption, unskip some tests
2016-11-25 13:13:55 +00:00
Thomas Fussell
455be8fb5f
fix mingw build, closes #80
2016-11-19 19:41:21 -05:00
Thomas Fussell
f90e35e007
optimize format garbage collection and apply style fills to formats correctly, fixes #79 , fix cell iteration, closes #73 , add third-party licenses to LICENSE.md, update README, fix all clang and msvc warnings
2016-11-09 19:52:18 -05:00
Thomas Fussell
6c508845cc
link with gcov
2016-10-31 23:03:34 -04:00
Thomas Fussell
0d97105122
clean up zip.cpp, enable and fix compiler warnings, use equality instead of hashing for style components, compile all cpp files in sample directory, track remote branches for submodules
2016-10-31 20:48:43 -04:00
Thomas Fussell
dce2367524
fix clang build
2016-10-30 21:44:43 -04:00
Thomas Fussell
012dd0984e
initial implementation of wstring filenames
2016-10-30 21:17:51 -04:00
Thomas Fussell
5b4de6a150
use streams to access zip files and their contents instead of std::stringstream to reduce memory usage, replaces miniz with zlib, closes #66
2016-10-30 15:48:40 -04:00
Thomas Fussell
82311c96e4
implement reading of cell comments
2016-10-29 10:23:04 -04:00
Thomas Fussell
de23f63314
use pthreads on non-windows builds of xlnt tests
2016-10-27 22:44:08 -04:00
Thomas Fussell
3c7c40cdfa
make build system modular
2016-10-27 18:40:20 -04:00
Thomas Fussell
f0f0607638
revert to old cmake output directory method, fix travis build
2016-10-25 21:12:57 -04:00
Thomas Fussell
c49341c82f
clean up cmake build, fix warnings, improve configuration, general
...
housekeeping, fixes #72 , fixes #70
2016-10-25 20:22:22 -04:00
Thomas Fussell
9c8cba9f3f
finally figured out how to decrypt with botan--swapping back out for botan
2016-10-24 22:09:15 -04:00
Thomas Fussell
aea237a632
implement ooxml decryption (standard and agile)
2016-10-23 22:40:05 -04:00
Thomas Fussell
2d7ecafb67
add missing header
2016-10-18 19:27:26 -04:00
Thomas Fussell
a5d50b8ec6
commit in-progress work for reading/writing password protected workbooks, #69 (not working yet)
2016-10-10 07:28:49 -04:00
Thomas Fussell
941bd2a672
translate theme to libstudxml, ugh...
2016-09-18 21:49:37 -04:00
Thomas Fussell
a03805acbf
begin testing styles more extensively
2016-09-11 14:57:34 -04:00
Thomas Fussell
ba2186ff7b
uncomment/unskip some tests
2016-09-07 22:39:13 -04:00
Thomas Fussell
3d21a83c93
make xml comparisons in xml helper content-type aware, fix excel style workbook generation
2016-09-05 19:17:36 -07:00
Thomas Fussell
182e37958d
Merge branch 'master' of http://github.com/tfussell/xlnt
2016-08-16 00:24:01 -04:00
Thomas Fussell
94881ce660
begin correctly implementing styles and formats
2016-08-16 00:23:49 -04:00
Thomas Fussell
ae1667f58e
add basic numbers-style xlsx
2016-08-15 19:53:38 -04:00
Thomas Fussell
a7067db2ba
unskip a few more tests and fix xml helper node comparison
2016-08-13 19:44:45 -04:00
Thomas Fussell
31911b1afc
remove schemata, remove test xml data, implement minimal round-tripping
2016-08-13 14:45:26 -04:00
Thomas Fussell
1b5bdbeb18
improve manifest interface, work on round-tripping
2016-08-12 00:22:14 -04:00
Thomas Fussell
2fff29ba86
fix non-windows build errors
2016-08-06 10:50:29 -04:00
Thomas Fussell
6c829a235a
improve manifest, implement true thumbnail handling, being refactoring serialization tests
2016-08-06 10:40:17 -04:00
Thomas Fussell
cf80c46b66
a little refactoring
2016-08-05 01:52:05 -04:00
Thomas Fussell
461b9fa106
convert path_helper return to path
2016-08-03 09:00:58 -04:00