Commit Graph

1291 Commits

Author SHA1 Message Date
Thomas Fussell
333e8c702f set up directory structure 2017-06-28 10:08:39 -04:00
Thomas Fussell
9f9dfe7a75 qualify use of extended_property enum class, fixes #186 2017-06-26 13:26:34 +00:00
Thomas Fussell
d7b5374614 fix accidental commit of test file path 2017-06-25 13:14:56 -04:00
Thomas Fussell
cf2dc9d7fb include streaming reader in xlnt.hpp 2017-06-25 13:14:29 -04:00
Thomas Fussell
56d744b6f9 start cleaning up code 2017-06-25 09:29:45 -04:00
Thomas Fussell
fdd91f817f basic streaming read works now, just need to clean up the logic 2017-06-24 22:07:37 -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
3153600768 read worksheet xml correctly 2017-06-22 08:56:01 -04:00
Thomas Fussell
72b8bd6b67 work out how to handle worksheet rels during streaming parsing 2017-06-21 09:17:06 -04:00
Thomas Fussell
b79221860c show master branch travis build status [ci skip] 2017-06-20 13:36:37 -04:00
Thomas Fussell
a9fd6b064e minor fixes to get it to compile. lots of failing tests for now... 2017-06-20 13:29:50 -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
eb201f5f70 handle absolute relationship targets the correct way 2017-06-16 09:13:42 -04:00
Thomas Fussell
2305eae8b6 pass streaming arg to read_part 2017-06-16 09:11:42 -04:00
Thomas Fussell
7834b564f4 handle absolute relationship targets the correct way 2017-06-16 09:11:24 -04:00
Thomas Fussell
7b391321f6 Merge branch 'master' into feature/streaming 2017-06-15 18:10:37 -04:00
Thomas Fussell
342184139f intermediate commit 2017-06-15 18:10:27 -04:00
Thomas Fussell
15492bdcc4 remove ambiguous wording about project status [ci skip] 2017-06-14 15:56:48 -04:00
Thomas Fussell
cae6276b23 prevent exception from being thrown when a view doesn't contain window attributes 2017-06-14 15:45:01 -04:00
Thomas Fussell
d14f8c2e5f fix canonicalization of relationship chains when the last link is absolute 2017-06-14 15:44:19 -04:00
Thomas Fussell
9d312ee7f4 make the code compile 2017-06-14 15:43:25 -04:00
Thomas Fussell
b3c044948f start architecting streaming read/write api 2017-06-12 10:34:35 -04:00
Thomas Fussell
2c5d579a1b Merge branch 'master' of https://github.com/tfussell/xlnt 2017-05-10 08:44:41 -04:00
Thomas Fussell
d2be054b7c optimize shared strings and handle formula strings correctly 2017-05-10 08:44:25 -04:00
Thomas Fussell
4351dfd4ca Merge pull request #149 from tpmccallum/master
Update documentation
2017-05-09 09:29:46 -04:00
Thomas Fussell
b851d1c143 prevent share string formatting from being overwritten during consumption 2017-05-09 09:01:01 -04:00
Thomas Fussell
f0b1e789a3 use xml:space=preserve when writing shared strings with trailing whitespace 2017-05-09 08:46:12 -04:00
Thomas Fussell
237fdcc84b ignore missing calcChain when comparing xlsx files during testing 2017-05-08 11:40:01 -04:00
Thomas Fussell
7ddd290e92 ignore dateCompatibility attribute too 2017-05-08 11:38:10 -04:00
Thomas Fussell
4aff818a87 kepp calcChain relationship, but don't actually write file to prevent excel file recovery warning 2017-05-08 10:51:56 -04:00
Thomas Fussell
a37a1e102a handle all workbookPr attributes according to ecma 376 2017-05-08 10:50:33 -04:00
Timothy McCallum
e5da1f41cb Adding clarification about the order of arguments
Cell reference arguments are column, row whereas vector arguments are row, column
Just a little more explanation to avoid confusion (as the arguments are reversed for each of the functions which we access on the same line.
2017-05-05 08:35:09 +10:00
Timothy McCallum
213c250751 Fixing indentation
Fixing indentation after transferring code from another area to here; somehow looses the formatting when pasting. No bother, easy fixed and back to Allman indentation.
2017-05-04 18:03:02 +10:00
Timothy McCallum
75052ac97a Adding documentation on writing to a spread sheet
This is a quick and easy example of how create a vector of values and write them to a spread sheet
2017-05-04 16:59:40 +10:00
Timothy McCallum
06fb2cf812 Adding an indication of time to install
Gives the user an idea of how long they need to spend on the task
2017-05-04 14:41:45 +10:00
Timothy McCallum
24ce486ebc Updating the documentation using xlnt 1.x.x
This work is to test the new version of xlnt - released today. The installation is much simpler now due to the fact that xlnt no longer relies on third party libraries. This was a great move! I have confirmed that the minimum gcc version required is 6.2.0. work will still continue into exploring how the newest gcc 7.1 will impact xlnt. However, this will be covered under another heading and documentation issue/ticket and will involve installing gcc 7.1 from source and so forth. the documentation in this commit is purely intended to get a new users off and running with xlnt in the shortest possible time and with the least amount of effort.
2017-05-04 14:11:16 +10:00
Timothy McCallum
94c5ba2e15 Adding tpmccallum
Congratulations on the version 1 release, and the 1000 commit milestone. Looking forward to contributing on version 1 and beyond.
2017-05-04 11:59:33 +10:00
Thomas Fussell
e043aeaff7 Merge pull request #146 from tpmccallum/master
Documentation
2017-05-03 20:34:10 -04:00
Timothy McCallum
32dba95709 Removing using namespace in the header
This has been updated and is ready for deployment. No namespaces used in the header of the code now, just explicit calls in the functions. std::string, std::vector, std::clog, std::endl, xlnt::workbook.
2017-05-04 09:15:18 +10:00
Timothy McCallum
c430fca9ff Removing the third-party runtime dependencies
Removing zlib1g, libssl-dev, cryptopp, and expat.

Cryptography now uses public domain code in the source tree (source/detail/cryptography), zlib was replaced with miniz and added to the source tree (source/detail/serialization/miniz.*), and since it's already a part of libstudxml (i.e. a grandchild dependency), xlnt is now using libstudxml's expat (third-party/libstudxml/xml/details/expat).
2017-05-04 08:48:08 +10:00
Timothy McCallum
b5997bd878 Updating compile command
Removing the -I and -L arguments from the compile command.
I realize that it is unnecessary to specify a list of directories (to be searched) for header files and so forth in the event that the standard xlnt installation process was followed.
2017-05-04 08:31:35 +10:00
Timothy McCallum
4c5e5f3b2c Changing indent level of braces
Using Allman indent style
2017-05-04 08:24:03 +10: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
Timothy McCallum
0dcdb01bf6 Fixing indent
Just formatting
2017-05-02 22:06:47 +10:00
Timothy McCallum
ed900e28dc Providing example of how to data into C++ Vector
Just an example of how to read a spread sheet into memory. Also a little word on performance. More to come on this later.
2017-05-02 22:03:17 +10:00
Timothy McCallum
7298bc0d9d Fixing indenting 2017-05-02 21:34:25 +10:00
Timothy McCallum
356c851dfd Fixing up formatting
Fixing indent
2017-05-02 21:32:16 +10:00
Thomas Fussell
a5c0d03bcc fix windows dll problem due to not exporting vector_streambufs 2017-04-30 23:25:57 -04:00
Thomas Fussell
e26364c388 better 2017-04-30 23:13:13 -04:00