Commit Graph

10293 Commits

Author SHA1 Message Date
Andreas Beeker 0f4f91c769 fix ooxml-lite
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879032 13f79535-47bb-0310-9956-ffa450edef68
2020-06-20 13:57:01 +00:00
PJ Fanning 1d24ec06c1 remove old mockito jar
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879023 13f79535-47bb-0310-9956-ffa450edef68
2020-06-20 07:59:35 +00:00
Andreas Beeker c1b0256d51 remove old ooxml-libs on build - update path
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879021 13f79535-47bb-0310-9956-ffa450edef68
2020-06-20 05:27:08 +00:00
Andreas Beeker 01717a3fd6 #64411 - Provide JigSaw modules - use XmlBeans 4.0.0 (preview)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879018 13f79535-47bb-0310-9956-ffa450edef68
2020-06-20 00:14:32 +00:00
Andreas Beeker 9be2598119 limit xmlbeans archived files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879017 13f79535-47bb-0310-9956-ffa450edef68
2020-06-19 23:43:37 +00:00
Andreas Beeker 8fb019a313 try to fix windows failures
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879011 13f79535-47bb-0310-9956-ffa450edef68
2020-06-19 21:53:37 +00:00
Dominik Stadler 8e9d10a5ce Handle more detected FileMagic types gracefully when running regression testing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878871 13f79535-47bb-0310-9956-ffa450edef68
2020-06-15 20:51:50 +00:00
Dominik Stadler fd7c926a4c Throw an exception with more information instead of an NPE
This seems to be a corrupted document and shows up in regression tests and should at least be reported with some more information

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878870 13f79535-47bb-0310-9956-ffa450edef68
2020-06-15 20:51:47 +00:00
Dominik Stadler c9912a7e92 Always close Reader in test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878869 13f79535-47bb-0310-9956-ffa450edef68
2020-06-15 20:51:43 +00:00
Dominik Stadler 863659f48c Add some more tests for bug 63624
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878868 13f79535-47bb-0310-9956-ffa450edef68
2020-06-15 20:51:39 +00:00
Dominik Stadler 6eafee01d4 Add some more tests from bug 63819
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878867 13f79535-47bb-0310-9956-ffa450edef68
2020-06-15 20:51:36 +00:00
PJ Fanning b6ea06d220 try to fix broken test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878750 13f79535-47bb-0310-9956-ffa450edef68
2020-06-11 11:04:23 +00:00
PJ Fanning 30f909e05b remove unnecessary imports
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878749 13f79535-47bb-0310-9956-ffa450edef68
2020-06-11 09:31:07 +00:00
PJ Fanning 5a205dbee8 [bug-64516] XSSFSheet.shiftRows has a bug when shifting rows affect the order of the rows. Thanks to Alex Richter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878747 13f79535-47bb-0310-9956-ffa450edef68
2020-06-11 09:20:29 +00:00
PJ Fanning 2a8dfb353e [bug-64516] XSSFSheet.shiftRows has a bug when shifting rows affect the order of the rows. Thanks to Alex Richter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878746 13f79535-47bb-0310-9956-ffa450edef68
2020-06-11 09:19:26 +00:00
Andreas Beeker d559feb7de 64512 - Ole10Native aka embedded / object packager - handle UTF16 variants
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878730 13f79535-47bb-0310-9956-ffa450edef68
2020-06-11 00:43:45 +00:00
PJ Fanning 0181d2abd9 [github-182] Fix root property size calculation. Thanks to netmackan. This closes #182
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878721 13f79535-47bb-0310-9956-ffa450edef68
2020-06-10 17:30:28 +00:00
PJ Fanning ff67cdf116 test tidy up
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878675 13f79535-47bb-0310-9956-ffa450edef68
2020-06-09 21:04:31 +00:00
PJ Fanning f235d3357c upgrade and mockito
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878542 13f79535-47bb-0310-9956-ffa450edef68
2020-06-06 10:02:21 +00:00
PJ Fanning b7930fc65c [github-181] make Value function work with arrays. Thanks to Miłosz Rembisz. This closes #181
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878541 13f79535-47bb-0310-9956-ffa450edef68
2020-06-06 09:30:30 +00:00
Andreas Beeker 5a18307eb0 63290 - PPTX To Png changes font sizes and colors
various fixes to HSLF
moved line spacing to the following line
refactored PropertyFetcher with lambdas

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878492 13f79535-47bb-0310-9956-ffa450edef68
2020-06-04 23:17:44 +00:00
PJ Fanning 84330c6aa3 [bug-64489] Make Zip64 the default mode for saving SXSSF spreadsheets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878389 13f79535-47bb-0310-9956-ffa450edef68
2020-06-02 10:52:03 +00:00
PJ Fanning ce8b90155a remove stray refs to jaxb
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878259 13f79535-47bb-0310-9956-ffa450edef68
2020-05-29 08:20:22 +00:00
PJ Fanning 3e669d3549 include commons-compress jar in distribution
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878246 13f79535-47bb-0310-9956-ffa450edef68
2020-05-28 19:49:23 +00:00
PJ Fanning aa2a43e2a2 [bug-64477] prevent duplicate call to delete temporary file (SXSSF finalizer)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878227 13f79535-47bb-0310-9956-ffa450edef68
2020-05-28 09:25:15 +00:00
PJ Fanning 682a17bf57 [github-183] Fix gradle build. Thanks to Eugene Kortov. This close #183
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878202 13f79535-47bb-0310-9956-ffa450edef68
2020-05-27 20:27:38 +00:00
Alain Béarez 8cbc3703c3 Bug 63290: retrieve default run properties from paragraph
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878147 13f79535-47bb-0310-9956-ffa450edef68
2020-05-27 01:18:15 +00:00
Alain Béarez 6126c3d24c Get rid of redundant getParentParagraph
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878146 13f79535-47bb-0310-9956-ffa450edef68
2020-05-27 01:18:10 +00:00
PJ Fanning 5cbe3bb7f1 next version will be 5.0.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877875 13f79535-47bb-0310-9956-ffa450edef68
2020-05-17 19:16:57 +00:00
PJ Fanning 00185c2857 next version will be 5.0.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877872 13f79535-47bb-0310-9956-ffa450edef68
2020-05-17 17:29:37 +00:00
Dominik Stadler 6a1e8dbb70 Fix test-failure
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877847 13f79535-47bb-0310-9956-ffa450edef68
2020-05-17 07:46:21 +00:00
Dominik Stadler c61cd6fa03 Fix some IDE warnings, make lock-objects final, use generics, remove unused allocated fields to reduce memory overhead of DocumentInputStream
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877818 13f79535-47bb-0310-9956-ffa450edef68
2020-05-16 13:06:20 +00:00
Dominik Stadler eb497bac79 Update ToCSV example to print out file-names in error messages
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877817 13f79535-47bb-0310-9956-ffa450edef68
2020-05-16 13:06:15 +00:00
Dominik Stadler 3cad9e6851 Bug 64322: Optimize performance of reading ole2 files
Remember channel-size to no re-read it for every read-access,
but reset it if we extend the size of the file
profiling indicates Channel.size() sometimes has similar runtime
overhead as position() or read()!

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877816 13f79535-47bb-0310-9956-ffa450edef68
2020-05-16 13:06:07 +00:00
Dominik Stadler ff919eb0e4 Bug 64393: Adjust relational operators to handle MissingArgEval correctly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877815 13f79535-47bb-0310-9956-ffa450edef68
2020-05-16 13:05:58 +00:00
Dominik Stadler d2ad752e1c Fix bug 64420: NPE in XSSFReader for files with macro-sheets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877814 13f79535-47bb-0310-9956-ffa450edef68
2020-05-16 13:05:53 +00:00
PJ Fanning 5bad296845 forbidden-apis-check issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877801 13f79535-47bb-0310-9956-ffa450edef68
2020-05-16 08:17:32 +00:00
PJ Fanning af8137a6e4 [github-180] Add DateValue function. Thanks to Milosz Rembisz. This closes #180
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877793 13f79535-47bb-0310-9956-ffa450edef68
2020-05-15 20:15:00 +00:00
PJ Fanning 9bddb8729e [github-179] add an option for RangeCopier.copyRange() to clone styles. Thanks to xjlin0. This closes #179
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877792 13f79535-47bb-0310-9956-ffa450edef68
2020-05-15 19:46:17 +00:00
PJ Fanning 237d55b3e3 [bug-64441] synchronize code that initialises WorkbookFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877776 13f79535-47bb-0310-9956-ffa450edef68
2020-05-15 07:36:27 +00:00
PJ Fanning 9e39db8119 mark test code as ok to suppress forbidden-apis check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877759 13f79535-47bb-0310-9956-ffa450edef68
2020-05-14 20:47:33 +00:00
PJ Fanning 24345edd5e [bug-64441] add test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877747 13f79535-47bb-0310-9956-ffa450edef68
2020-05-14 19:42:06 +00:00
Andreas Beeker 23337fa03d fix errors due to new lib structure
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877466 13f79535-47bb-0310-9956-ffa450edef68
2020-05-07 10:27:52 +00:00
Andreas Beeker e1621cdca0 ignore errors on delete
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877454 13f79535-47bb-0310-9956-ffa450edef68
2020-05-06 19:09:44 +00:00
Andreas Beeker 725196c1d2 fix typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877437 13f79535-47bb-0310-9956-ffa450edef68
2020-05-06 14:22:34 +00:00
Andreas Beeker aab888643e Update FindBugs to SpotBugs - it seems the jenkins findbugs plugin could process the output (findbugs.xml)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877436 13f79535-47bb-0310-9956-ffa450edef68
2020-05-06 13:48:25 +00:00
Andreas Beeker 9558f2b36a fix findbugs packaging/url
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877427 13f79535-47bb-0310-9956-ffa450edef68
2020-05-06 09:56:09 +00:00
Andreas Beeker e82ff7989f lib was still in svn ... removing it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877421 13f79535-47bb-0310-9956-ffa450edef68
2020-05-06 09:20:49 +00:00
Andreas Beeker 987c0d8876 remove test code and ignore lib
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877420 13f79535-47bb-0310-9956-ffa450edef68
2020-05-06 09:05:33 +00:00
Andreas Beeker 296275d88f #64411 - Provide JigSaw modules
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877419 13f79535-47bb-0310-9956-ffa450edef68
2020-05-06 09:02:50 +00:00