Commit Graph

1479 Commits

Author SHA1 Message Date
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
Thomas Fussell
c677a14969 fix some stream reading. all tests passing (very very slowly) so now it's time for optimization 2017-04-30 21:16:05 -04:00
Thomas Fussell
ee642fc6c1 getting there 2017-04-30 20:21:47 -04:00
Timothy McCallum
e122494495 Update Installation.md 2017-05-01 09:46:18 +10:00
Timothy McCallum
f3e475d4ae Adding a simple read example
A simple writing example to come soon.
More complex examples also coming soon and hopefully high performance examples will not be too far away.
2017-05-01 09:45:41 +10:00
Timothy McCallum
292c7faea4 Adding ldconfig command at the end of Ubunbtu doc
Need to run ldconf so that the shared libraries are found when running cpp executable (your xlnt program)
2017-05-01 08:53:53 +10:00
Timothy McCallum
30914a930f Fixing up some formatting
Removing the TODO from last commit
2017-05-01 07:52:02 +10:00
Timothy McCallum
0a6d093010 Finalizing Ubuntu installation documentation
Ready for pull request
2017-05-01 07:49:59 +10:00
Thomas Fussell
4da901d387 forgot to commit new vector_streambuf source file 2017-04-30 17:37:35 -04:00
Thomas Fussell
b7bf16d47c implement input and output streambufs for compound document streams 2017-04-30 17:23:28 -04:00
Timothy McCallum
3ce51089cd Finished installing xlnt
Need to test some code now
2017-04-30 19:13:59 +10: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