Commit Graph

813 Commits

Author SHA1 Message Date
PJ Fanning 402b02ca1f tidy up code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903788 13f79535-47bb-0310-9956-ffa450edef68
2022-08-31 10:09:13 +00:00
PJ Fanning 18d7711806 try to fix tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903784 13f79535-47bb-0310-9956-ffa450edef68
2022-08-31 00:38:12 +00:00
PJ Fanning a1cb1812dd broken test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903781 13f79535-47bb-0310-9956-ffa450edef68
2022-08-30 20:31:31 +00:00
PJ Fanning d00be6e7db [TIKA-3388] issue with non-ascii chars in file name of embedded OLE object
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903780 13f79535-47bb-0310-9956-ffa450edef68
2022-08-30 19:46:32 +00:00
PJ Fanning 4df0415621 test for TIKA-2163
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903777 13f79535-47bb-0310-9956-ffa450edef68
2022-08-30 11:44:27 +00:00
PJ Fanning 59f51987eb test for TIKA-2605
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903776 13f79535-47bb-0310-9956-ffa450edef68
2022-08-30 11:26:20 +00:00
PJ Fanning 30a0a4362a test for TIKA-3163
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903775 13f79535-47bb-0310-9956-ffa450edef68
2022-08-30 11:10:46 +00:00
PJ Fanning 60bc28c4a6 reuse code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903741 13f79535-47bb-0310-9956-ffa450edef68
2022-08-28 16:22:32 +00:00
PJ Fanning 25f00ba7c2 reuse code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903737 13f79535-47bb-0310-9956-ffa450edef68
2022-08-28 13:49:05 +00:00
PJ Fanning f6751ef514 reuse code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903734 13f79535-47bb-0310-9956-ffa450edef68
2022-08-28 13:13:56 +00:00
PJ Fanning 98565236dd reuse code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903733 13f79535-47bb-0310-9956-ffa450edef68
2022-08-28 13:12:31 +00:00
PJ Fanning 0edc08a358 build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903732 13f79535-47bb-0310-9956-ffa450edef68
2022-08-28 13:09:38 +00:00
PJ Fanning 2ffef9d249 [bug-63575] fix test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903731 13f79535-47bb-0310-9956-ffa450edef68
2022-08-28 12:51:17 +00:00
PJ Fanning 80f89a3674 [bug-63575] support capitalized text in XWPFWordExtractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903729 13f79535-47bb-0310-9956-ffa450edef68
2022-08-28 12:19:08 +00:00
PJ Fanning ab5cb372e5 do not rely on xml namespace prefixes - use the URIs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903728 13f79535-47bb-0310-9956-ffa450edef68
2022-08-28 12:01:53 +00:00
PJ Fanning 7fd339952b [bug-66242] Fix issue with orphaned (in package) images and notes post slide removal. Thanks to gffloodg. This closes #377
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903727 13f79535-47bb-0310-9956-ffa450edef68
2022-08-28 09:35:48 +00:00
PJ Fanning 5896c595e7 sonar issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903687 13f79535-47bb-0310-9956-ffa450edef68
2022-08-25 19:09:14 +00:00
PJ Fanning deffaacd0f sonar issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903686 13f79535-47bb-0310-9956-ffa450edef68
2022-08-25 18:52:27 +00:00
PJ Fanning 8d9d916ecd add test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903646 13f79535-47bb-0310-9956-ffa450edef68
2022-08-23 19:32:24 +00:00
PJ Fanning 95c799cfce [bug-65473] extra test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903574 13f79535-47bb-0310-9956-ffa450edef68
2022-08-19 13:14:00 +00:00
PJ Fanning f1692cc041 [bug-65473] when copy slide, new slide uses old textrun object reference. Thanks to FlyingPigQAQ. This closes #371
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903558 13f79535-47bb-0310-9956-ffa450edef68
2022-08-19 08:40:32 +00:00
PJ Fanning ceb6caa1d5 javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903549 13f79535-47bb-0310-9956-ffa450edef68
2022-08-19 01:13:04 +00:00
PJ Fanning 214fe205c4 [bug-66230] don't fail to create SXSSFSheet if auto size tracker can't be initialized
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903533 13f79535-47bb-0310-9956-ffa450edef68
2022-08-18 21:08:41 +00:00
PJ Fanning 6ed51c1db2 [bug-66230] don't fail to create SXSSFSheet if auto size tracker can't be initialized
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903529 13f79535-47bb-0310-9956-ffa450edef68
2022-08-18 17:40:22 +00:00
PJ Fanning 624b907c5d [bug-66215] try to improve logic for overlapping tables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903471 13f79535-47bb-0310-9956-ffa450edef68
2022-08-17 01:15:12 +00:00
PJ Fanning 9a616913b9 [bug-66215] try to fix formulas in tables after row/column shifting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903464 13f79535-47bb-0310-9956-ffa450edef68
2022-08-16 17:37:35 +00:00
PJ Fanning 74cc4ef32b [bug-66215] add test case (that shows we have issues and need fixes)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903459 13f79535-47bb-0310-9956-ffa450edef68
2022-08-16 13:14:57 +00:00
PJ Fanning 702e9c6958 [bug-66215] add test case (that shows we have issues and need fixes)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903458 13f79535-47bb-0310-9956-ffa450edef68
2022-08-16 13:12:45 +00:00
PJ Fanning 2343428015 [bug-66216] fix issue where pivotTable.getPivotCacheDefinition() returns null
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903445 13f79535-47bb-0310-9956-ffa450edef68
2022-08-15 23:01:50 +00:00
PJ Fanning 3184a18b40 [bug-66216] fix issue where pivotTable.getPivotCacheDefinition() returns null
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903442 13f79535-47bb-0310-9956-ffa450edef68
2022-08-15 19:20:13 +00:00
PJ Fanning ed67d48d96 [bug-66215] add test case (that shows we have issues and need fixes)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903440 13f79535-47bb-0310-9956-ffa450edef68
2022-08-15 18:40:25 +00:00
PJ Fanning 3a42bc3247 test that original slide is not modified
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903438 13f79535-47bb-0310-9956-ffa450edef68
2022-08-15 13:19:34 +00:00
PJ Fanning 0f45464494 [bug-66040] add apparently working test cases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903437 13f79535-47bb-0310-9956-ffa450edef68
2022-08-15 13:08:03 +00:00
PJ Fanning 7425aa0af3 [bug-66040] add apparently working test cases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903436 13f79535-47bb-0310-9956-ffa450edef68
2022-08-15 12:59:07 +00:00
PJ Fanning e8f53b3084 [bug-66213] hack clone table code to avoid failing with edge cases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903410 13f79535-47bb-0310-9956-ffa450edef68
2022-08-14 09:50:00 +00:00
PJ Fanning 711ab033f3 [bug-66213] hack clone table code to avoid failing with edge cases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903409 13f79535-47bb-0310-9956-ffa450edef68
2022-08-14 09:47:16 +00:00
PJ Fanning 6f6e1c4165 further issue with clone
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903400 13f79535-47bb-0310-9956-ffa450edef68
2022-08-13 20:05:34 +00:00
PJ Fanning 6d2853d9bd [bug-66213] hack clone table code to avoid failing with edge cases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903398 13f79535-47bb-0310-9956-ffa450edef68
2022-08-13 18:11:16 +00:00
PJ Fanning a38a5c3a0b [bug-66213] clone tables while cloning sheet. Thanks to Axel Richter.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903396 13f79535-47bb-0310-9956-ffa450edef68
2022-08-13 16:35:05 +00:00
PJ Fanning 62d8b8df57 [bug-66212] try to remove table part for table when removing table
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903395 13f79535-47bb-0310-9956-ffa450edef68
2022-08-13 16:11:03 +00:00
PJ Fanning 839594b73e [bug-66212] try to remove package part for table when removing table
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903394 13f79535-47bb-0310-9956-ffa450edef68
2022-08-13 15:32:03 +00:00
PJ Fanning 7301e841c7 [bug-66211] add test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903393 13f79535-47bb-0310-9956-ffa450edef68
2022-08-13 15:09:18 +00:00
PJ Fanning 5add4aa3d3 [bug-66211] don't validate the row XML when using XSSFTable.updateHeaders
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903390 13f79535-47bb-0310-9956-ffa450edef68
2022-08-13 14:33:16 +00:00
PJ Fanning eb5dca9a1e fix escaping in message
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903314 13f79535-47bb-0310-9956-ffa450edef68
2022-08-09 19:47:53 +00:00
PJ Fanning 59091db138 don't wrap exceptions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903274 13f79535-47bb-0310-9956-ffa450edef68
2022-08-07 22:44:56 +00:00
PJ Fanning 0735103188 forbidden api check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903273 13f79535-47bb-0310-9956-ffa450edef68
2022-08-07 22:42:54 +00:00
PJ Fanning 72983be276 basic bubble chart support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903272 13f79535-47bb-0310-9956-ffa450edef68
2022-08-07 22:19:10 +00:00
PJ Fanning bbfd7b9ec8 [github-365] use lambdas. Thanks to Arturo Bernal. This closes #365
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903258 13f79535-47bb-0310-9956-ffa450edef68
2022-08-06 21:12:49 +00:00
PJ Fanning eaa27548fa [github-366] remove unnecessary local vars. Thanks to Arturo Bernal. This closes #366
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903257 13f79535-47bb-0310-9956-ffa450edef68
2022-08-06 21:06:50 +00:00
PJ Fanning 343b86c461 remove unused field
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903207 13f79535-47bb-0310-9956-ffa450edef68
2022-08-03 10:07:15 +00:00
PJ Fanning 633baa45eb [bug-66181] fix issue with evaluation of blank string in VALUE function
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903171 13f79535-47bb-0310-9956-ffa450edef68
2022-08-01 16:06:59 +00:00
PJ Fanning f3a1d6ac92 [bug-66181] test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903170 13f79535-47bb-0310-9956-ffa450edef68
2022-08-01 15:57:58 +00:00
PJ Fanning 9e88957356 [bug-66187] issue with XWPFRun creating run properties unnecessarily
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903163 13f79535-47bb-0310-9956-ffa450edef68
2022-08-01 11:35:22 +00:00
PJ Fanning ee65a6655d update method name (has typo)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903161 13f79535-47bb-0310-9956-ffa450edef68
2022-08-01 11:16:19 +00:00
Dominik Stadler 3f0afe8fc7 Change test to make it work with JDK 19+
This way of mocking does not work any more with JDK 19+

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903111 13f79535-47bb-0310-9956-ffa450edef68
2022-07-29 18:27:49 +00:00
Dominik Stadler 4df10cf9dd Fix issues found when fuzzing Apache POI via Jazzer
Replace RuntimeException with a more specific types

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903104 13f79535-47bb-0310-9956-ffa450edef68
2022-07-29 17:07:15 +00:00
Dominik Stadler 92b8cf9984 Also look for test-data in parent-directory
When using the IDE to run tests in one of the
sub-modules uses the poi-* sub-directory, so
looking for the test-data in ../test-data is
useful to make executing tests work out-of-the-box

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903103 13f79535-47bb-0310-9956-ffa450edef68
2022-07-29 17:07:05 +00:00
PJ Fanning 82fa836d1f code to handle smart art rotations
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903096 13f79535-47bb-0310-9956-ffa450edef68
2022-07-29 08:10:51 +00:00
PJ Fanning 4745a2a372 try java 19 build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903060 13f79535-47bb-0310-9956-ffa450edef68
2022-07-27 13:28:23 +00:00
PJ Fanning 38fb4377bb try to fix jaav 17 build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903052 13f79535-47bb-0310-9956-ffa450edef68
2022-07-27 09:23:13 +00:00
PJ Fanning 1ce0f77bdd [bug-66176] rework text box support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903047 13f79535-47bb-0310-9956-ffa450edef68
2022-07-27 08:59:25 +00:00
PJ Fanning cee18e78b5 add tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903040 13f79535-47bb-0310-9956-ffa450edef68
2022-07-27 00:02:56 +00:00
PJ Fanning af689e73bd [bug-65562] derive sheet dimensions when outputting SXSSFSheets
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903037 13f79535-47bb-0310-9956-ffa450edef68
2022-07-26 21:42:24 +00:00
PJ Fanning 9626dd0661 update some module-info classes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903003 13f79535-47bb-0310-9956-ffa450edef68
2022-07-25 11:22:08 +00:00
PJ Fanning c62002e7ba refactor smart art code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903000 13f79535-47bb-0310-9956-ffa450edef68
2022-07-25 09:25:05 +00:00
PJ Fanning 1b60ffe391 try to work around issue with getting embedded smart art diagram
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902947 13f79535-47bb-0310-9956-ffa450edef68
2022-07-22 14:36:47 +00:00
PJ Fanning 32bf52b449 try to work around issue with getting embedded smart art diagram
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902946 13f79535-47bb-0310-9956-ffa450edef68
2022-07-22 14:03:14 +00:00
PJ Fanning 0b0df2fe58 add disabled test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902943 13f79535-47bb-0310-9956-ffa450edef68
2022-07-22 11:50:32 +00:00
PJ Fanning 10da475b7a forbidden api
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902941 13f79535-47bb-0310-9956-ffa450edef68
2022-07-22 11:03:57 +00:00
PJ Fanning 5c34bad8f4 forbidden api
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902939 13f79535-47bb-0310-9956-ffa450edef68
2022-07-22 10:33:31 +00:00
PJ Fanning bd5a95acbf remove comment
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902936 13f79535-47bb-0310-9956-ffa450edef68
2022-07-22 10:12:42 +00:00
PJ Fanning cc7fcdfab3 [bug-66176] Integrate SmartArt diagrams from powerpoint presentations. Thanks to Yaseen.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902934 13f79535-47bb-0310-9956-ffa450edef68
2022-07-22 09:55:10 +00:00
PJ Fanning aa7eee178c add tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902927 13f79535-47bb-0310-9956-ffa450edef68
2022-07-21 21:40:32 +00:00
PJ Fanning 072aec8ad2 use common PictureType
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902911 13f79535-47bb-0310-9956-ffa450edef68
2022-07-21 13:41:49 +00:00
PJ Fanning 2a0c1b82c7 add getPictureTypeEnum
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902905 13f79535-47bb-0310-9956-ffa450edef68
2022-07-21 09:56:56 +00:00
PJ Fanning f58e9169d9 add getPictureTypeEnum
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902904 13f79535-47bb-0310-9956-ffa450edef68
2022-07-21 08:50:52 +00:00
PJ Fanning 5ecf604b94 add getPictureTypeEnum
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902898 13f79535-47bb-0310-9956-ffa450edef68
2022-07-20 23:04:02 +00:00
PJ Fanning b0b6747ce3 test issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902894 13f79535-47bb-0310-9956-ffa450edef68
2022-07-20 21:06:13 +00:00
PJ Fanning fa045845f5 [bug-55330] add setMargin(PageMargin, double)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902890 13f79535-47bb-0310-9956-ffa450edef68
2022-07-20 19:32:28 +00:00
PJ Fanning 5355725197 [bug-55330] add getMargin(PageMargin)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902880 13f79535-47bb-0310-9956-ffa450edef68
2022-07-20 13:51:17 +00:00
PJ Fanning 590e49c143 [bug-66173] add new XSSFSheet createSplitPane method to avoid bug in existing method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902876 13f79535-47bb-0310-9956-ffa450edef68
2022-07-20 13:13:28 +00:00
PJ Fanning 369681f7f9 use try-with-resources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902873 13f79535-47bb-0310-9956-ffa450edef68
2022-07-20 10:56:16 +00:00
PJ Fanning 48e9d6a6d5 javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902872 13f79535-47bb-0310-9956-ffa450edef68
2022-07-20 10:45:04 +00:00
PJ Fanning 2cb71aeb75 javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902822 13f79535-47bb-0310-9956-ffa450edef68
2022-07-17 19:11:53 +00:00
PJ Fanning ad6af709b8 [github-348] tidy up number casting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902803 13f79535-47bb-0310-9956-ffa450edef68
2022-07-17 09:30:21 +00:00
PJ Fanning 50c40b61f7 [github-354] Add extra methods to StringUtil and refactor some code to use them. Thanks to XenoAmess. This closes #354
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902801 13f79535-47bb-0310-9956-ffa450edef68
2022-07-17 08:45:38 +00:00
PJ Fanning cd02f739eb [github-339] compile issue in test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902790 13f79535-47bb-0310-9956-ffa450edef68
2022-07-17 01:57:18 +00:00
PJ Fanning c589f0ee7a [github-339] Add extra methods to StringUtil and refactor some code to use them. Thanks to XenoAmess. This closes #339
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902789 13f79535-47bb-0310-9956-ffa450edef68
2022-07-17 01:53:18 +00:00
PJ Fanning 773ad5e825 [github-356] accept some of the changes in this PR (not all)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902784 13f79535-47bb-0310-9956-ffa450edef68
2022-07-16 20:21:22 +00:00
PJ Fanning 22badcef27 [github-342] Use foreach. Thanks to XenoAmess. This closes #342
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902778 13f79535-47bb-0310-9956-ffa450edef68
2022-07-16 18:08:50 +00:00
PJ Fanning 4f54f29a2d [github-345] Use switch instead of if. Thanks to XenoAmess. This closes #345
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902772 13f79535-47bb-0310-9956-ffa450edef68
2022-07-16 10:13:18 +00:00
PJ Fanning feae2c8749 [github-346] Javadoc issues. Thanks to XenoAmess. This closes #346
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902771 13f79535-47bb-0310-9956-ffa450edef68
2022-07-16 10:05:38 +00:00
PJ Fanning ce3371e92e [github-341] Remove unused imports. Thanks to XenoAmess. This closes #341
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902760 13f79535-47bb-0310-9956-ffa450edef68
2022-07-15 23:23:34 +00:00
PJ Fanning 51c9ac77a3 [github-355] Tidy up some boxed variables. Thanks to XenoAmess. This closes #355
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902759 13f79535-47bb-0310-9956-ffa450edef68
2022-07-15 23:03:51 +00:00
PJ Fanning 64d9a97d44 [github-349] tidy up some test assertions. Thanks to XenoAmess. This closes #349
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902757 13f79535-47bb-0310-9956-ffa450edef68
2022-07-15 22:52:45 +00:00
PJ Fanning 01f14a7548 [github-361] reuse regex pattern instances. Thanks to XenoAmess. This closes #361
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902756 13f79535-47bb-0310-9956-ffa450edef68
2022-07-15 22:45:56 +00:00
PJ Fanning 87ee700d04 [github-340] make more use of StandardCharsets. Thanks to XenoAmess. This closes #340
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902755 13f79535-47bb-0310-9956-ffa450edef68
2022-07-15 21:52:32 +00:00
PJ Fanning 30b20e3967 [github-344] refactor equals method in XSSFHyperlinkRecord
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902751 13f79535-47bb-0310-9956-ffa450edef68
2022-07-15 21:20:32 +00:00
PJ Fanning 2c479b4967 [github-347] make some inner classes static to save memory. Thanks to XenoAmess. This closes #347
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902749 13f79535-47bb-0310-9956-ffa450edef68
2022-07-15 21:06:30 +00:00
PJ Fanning 619db4dde5 [github-343] use try-with-resources. Thanks to XenoAmess. This closes #343
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902748 13f79535-47bb-0310-9956-ffa450edef68
2022-07-15 21:02:15 +00:00
PJ Fanning 67a4ac400e [github-360] HSSFExtendedColor does not set RGB colors properly. Thanks to XenoAmess. This closes #360
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902747 13f79535-47bb-0310-9956-ffa450edef68
2022-07-15 20:54:22 +00:00
PJ Fanning 7ab3352712 allow HSSFSharedString
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902673 13f79535-47bb-0310-9956-ffa450edef68
2022-07-12 09:25:57 +00:00
PJ Fanning 0ad448edc8 missing license
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902640 13f79535-47bb-0310-9956-ffa450edef68
2022-07-10 22:43:08 +00:00
PJ Fanning 44930ebfa0 [bug-66052] add test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902637 13f79535-47bb-0310-9956-ffa450edef68
2022-07-10 18:46:54 +00:00
PJ Fanning 69036c64ea remove ignoreInvalidColors param
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902634 13f79535-47bb-0310-9956-ffa450edef68
2022-07-10 14:32:49 +00:00
PJ Fanning e0ca0baebf try to fix tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902633 13f79535-47bb-0310-9956-ffa450edef68
2022-07-10 13:54:09 +00:00
PJ Fanning 79273a06aa add param that allows invalid colors to be ignored
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902630 13f79535-47bb-0310-9956-ffa450edef68
2022-07-10 12:22:54 +00:00
PJ Fanning 0a283a36c8 try to fix tests - disabling 2 that need investigation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902626 13f79535-47bb-0310-9956-ffa450edef68
2022-07-10 11:18:45 +00:00
PJ Fanning 72e7df6b5c javadoc issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902624 13f79535-47bb-0310-9956-ffa450edef68
2022-07-10 10:29:33 +00:00
PJ Fanning 4cda0c91fd throw exception if wrong Color class is used
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902623 13f79535-47bb-0310-9956-ffa450edef68
2022-07-10 10:24:34 +00:00
PJ Fanning 6602122926 [bug-66052] apply cell style fixes supplied by Axel Richter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902622 13f79535-47bb-0310-9956-ffa450edef68
2022-07-10 10:12:20 +00:00
PJ Fanning b4c92e4ae5 [bug-65634] NotOLE2FileException not thrown in POI 5.0.0 by opening an XML-RAW File with SlideShowFactory.create()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902395 13f79535-47bb-0310-9956-ffa450edef68
2022-07-01 16:30:15 +00:00
PJ Fanning 86cc8d1b4b [bug-51037] apply default column style if no style set
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902391 13f79535-47bb-0310-9956-ffa450edef68
2022-07-01 13:14:52 +00:00
PJ Fanning b46b69ab0f [bug-66138] change log level to warn (the issue is worked around)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902170 13f79535-47bb-0310-9956-ffa450edef68
2022-06-22 13:25:03 +00:00
PJ Fanning b24d8ca779 remove use of some calls to deprecated cursor dispose()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902065 13f79535-47bb-0310-9956-ffa450edef68
2022-06-19 13:37:14 +00:00
PJ Fanning 96079c05b7 remove use of some calls to deprecated cursor dispose()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902061 13f79535-47bb-0310-9956-ffa450edef68
2022-06-19 12:03:51 +00:00
PJ Fanning b7261c1621 remove use of some calls to deprecated cursor dispose()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902057 13f79535-47bb-0310-9956-ffa450edef68
2022-06-19 11:02:01 +00:00
PJ Fanning d075f2ae9c [bug-66123] support gte attribute in XSSFConditionalFormattingThreshold
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901945 13f79535-47bb-0310-9956-ffa450edef68
2022-06-15 16:01:37 +00:00
PJ Fanning 35215db1cf add extra setTitle method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901821 13f79535-47bb-0310-9956-ffa450edef68
2022-06-11 08:36:51 +00:00
PJ Fanning bf7f9d7f27 revert xmlbeans jar changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901545 13f79535-47bb-0310-9956-ffa450edef68
2022-06-02 08:39:29 +00:00
PJ Fanning a3b3b91d50 update key
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901544 13f79535-47bb-0310-9956-ffa450edef68
2022-06-02 08:37:32 +00:00
PJ Fanning 30bca4da83 [bug-56155] support version property in CoreProperties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901356 13f79535-47bb-0310-9956-ffa450edef68
2022-05-28 15:01:48 +00:00
PJ Fanning 04be6fcccb [bug-66022] issue in Formula Parser with some sheet names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901162 13f79535-47bb-0310-9956-ffa450edef68
2022-05-23 10:55:22 +00:00
PJ Fanning 435dc86896 [bug-66081] fix editing of added abstract numberings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901120 13f79535-47bb-0310-9956-ffa450edef68
2022-05-22 10:23:59 +00:00
PJ Fanning b9d8bb01ec [bug-66080] XWPFNumbering.addAbstractNum uses abstract numberings count as id
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901113 13f79535-47bb-0310-9956-ffa450edef68
2022-05-22 08:43:06 +00:00
PJ Fanning d178bb9dc1 [bug-66080] XWPFNumbering.addAbstractNum uses abstract numberings count as id
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901110 13f79535-47bb-0310-9956-ffa450edef68
2022-05-22 08:28:44 +00:00
PJ Fanning dae226aecf [bug-66079] apply test provided by Vladislav Arakelov
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901105 13f79535-47bb-0310-9956-ffa450edef68
2022-05-21 22:38:43 +00:00
PJ Fanning a0ce6b6728 [bug-66079] try to fix issue with XWPFNumbering.removeAbstractNum
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901083 13f79535-47bb-0310-9956-ffa450edef68
2022-05-20 09:47:16 +00:00
PJ Fanning 80de2572da try xmlsec 3.0.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900523 13f79535-47bb-0310-9956-ffa450edef68
2022-05-03 18:57:00 +00:00
PJ Fanning 7dac4c1dae [bug-66039] add more javadoc about setCellFormulaValidation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900383 13f79535-47bb-0310-9956-ffa450edef68
2022-04-29 13:07:00 +00:00
PJ Fanning d280b74388 [bug-66039] show use of setCellFormulaValidation=false in a test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1900375 13f79535-47bb-0310-9956-ffa450edef68
2022-04-29 10:52:34 +00:00
PJ Fanning 4682903e6a more test issues with rate change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899685 13f79535-47bb-0310-9956-ffa450edef68
2022-04-09 13:38:27 +00:00
PJ Fanning a8f1e7acd1 [github-321] Fix issue with rounding in DataFormatter. Thanks to Colin Wang. This closes #321
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899680 13f79535-47bb-0310-9956-ffa450edef68
2022-04-09 12:02:55 +00:00
PJ Fanning 05e8a16543 [github-321] add test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899667 13f79535-47bb-0310-9956-ffa450edef68
2022-04-08 13:08:10 +00:00
PJ Fanning 0b863c29a1 [github-319] fix javadoc on setColumnHidden. Thanks to CodeMonkeyLab. This closes #319
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899580 13f79535-47bb-0310-9956-ffa450edef68
2022-04-05 10:43:54 +00:00
PJ Fanning fb95dfdd93 [bug-65993] support copying hssf hyperlinks to xssf and respect full cell range
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899521 13f79535-47bb-0310-9956-ffa450edef68
2022-04-02 18:55:56 +00:00
PJ Fanning a7e1909c21 addHyperlink method on SXSSFSheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899367 13f79535-47bb-0310-9956-ffa450edef68
2022-03-29 23:30:26 +00:00
PJ Fanning 94393c7241 upgrade jmh
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899320 13f79535-47bb-0310-9956-ffa450edef68
2022-03-28 14:55:32 +00:00
PJ Fanning a6edfe4252 spotbugs issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899309 13f79535-47bb-0310-9956-ffa450edef68
2022-03-28 14:05:44 +00:00
Dominik Stadler 09e464bb5f poi-ooxml-lite: Check in list of classes and xsb-files to avoid the jar-to-test dependency
Avoid running all tests whenever building jars as tests take a long time now
and also cause large memory allocations.

It is nice if the target "jar" is as fast as possible and the list of included
items for ooxml-lite only changes rarely anyway.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899160 13f79535-47bb-0310-9956-ffa450edef68
2022-03-24 04:42:27 +00:00
PJ Fanning 902d1487f7 [bug-65973] fix for removing hyperlinks that span multiple cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899139 13f79535-47bb-0310-9956-ffa450edef68
2022-03-22 18:00:57 +00:00
PJ Fanning aff20dc6f9 [bug-65973] partial fix for removing hyperlinks that span multiple cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899138 13f79535-47bb-0310-9956-ffa450edef68
2022-03-22 17:55:53 +00:00
PJ Fanning d41a40abc8 [bug-65973] partial fix for removing hyperlinks that span multiple cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899137 13f79535-47bb-0310-9956-ffa450edef68
2022-03-22 17:54:37 +00:00
PJ Fanning 0bc81c57fd small refactor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899134 13f79535-47bb-0310-9956-ffa450edef68
2022-03-22 14:14:08 +00:00
PJ Fanning 058aef3bfb [bug-65973] partial fix for removing hyperlinks that span multiple cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899133 13f79535-47bb-0310-9956-ffa450edef68
2022-03-22 14:10:02 +00:00
PJ Fanning 4508404af0 spelling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899131 13f79535-47bb-0310-9956-ffa450edef68
2022-03-22 12:39:46 +00:00
PJ Fanning 0c4fec3528 [bug-65973] partial fix for removing hyperlinks that span multiple cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899130 13f79535-47bb-0310-9956-ffa450edef68
2022-03-22 12:02:11 +00:00
PJ Fanning 2298c8ff26 [bug-65973] partial fix for removing hyperlinks that span multiple cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899129 13f79535-47bb-0310-9956-ffa450edef68
2022-03-22 11:44:31 +00:00
PJ Fanning 49668edbf2 [bug-64536] add another test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899092 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 22:06:27 +00:00
PJ Fanning 56b4313997 [bug-64536] add getDimension on XSSFSheet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899091 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 21:41:31 +00:00
PJ Fanning d013349052 use spaces for indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899082 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 10:26:05 +00:00
Dominik Stadler 9949242022 Remove unused imports, remove unnecessary boxing of int-value and apply some other IDE suggestions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899076 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 08:20:00 +00:00
Dominik Stadler 306dc69105 Add reproducer for possible OOM when reading pictures in XWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899074 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 06:52:55 +00:00
Dominik Stadler 3ee410e8b5 Bug 65854: Use revert() instead of close() when OPCPackage is opened read-only
Also add tests, however it is not possible to verify that no
logging takes place, so you have to use debugging to verify it.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899071 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 06:52:43 +00:00
PJ Fanning 5e87f112bb javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898946 13f79535-47bb-0310-9956-ffa450edef68
2022-03-15 10:06:56 +00:00
PJ Fanning 5745fc0a68 update test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898945 13f79535-47bb-0310-9956-ffa450edef68
2022-03-15 09:53:26 +00:00
PJ Fanning 935c8ab06a add xssf test (width/height)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898944 13f79535-47bb-0310-9956-ffa450edef68
2022-03-15 09:40:48 +00:00
PJ Fanning f4bfcaeec9 fix issue in IOUtils.toByteArrayWithMaxLength
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898861 13f79535-47bb-0310-9956-ffa450edef68
2022-03-11 21:24:51 +00:00
PJ Fanning 85356f1d54 [bug-65946] remove duplicate Category property from extracted properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898805 13f79535-47bb-0310-9956-ffa450edef68
2022-03-09 20:56:02 +00:00
PJ Fanning f3e197713b [bug-65946] remove duplicate Category property from extracted properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898804 13f79535-47bb-0310-9956-ffa450edef68
2022-03-09 20:43:38 +00:00
PJ Fanning bdd7e65d85 [bug-65943] support rich text in SXSSFWorkbook (only when shared string table is enabled)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898803 13f79535-47bb-0310-9956-ffa450edef68
2022-03-09 20:12:37 +00:00
PJ Fanning 552471e578 [bug-65943] support rich text in SXSSFWorkbook (only when shared string table is enabled)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898801 13f79535-47bb-0310-9956-ffa450edef68
2022-03-09 20:06:59 +00:00
PJ Fanning ddf2717c8d missing license
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898685 13f79535-47bb-0310-9956-ffa450edef68
2022-03-07 13:34:53 +00:00
PJ Fanning 19366d6013 [bug-65939] add partial fix for clearing formula with circular ref
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898681 13f79535-47bb-0310-9956-ffa450edef68
2022-03-07 13:15:01 +00:00
PJ Fanning 3317b6393f [bug-65939] add partial fix for clearing formula with circular ref
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898677 13f79535-47bb-0310-9956-ffa450edef68
2022-03-07 12:06:30 +00:00
PJ Fanning b7529cdedf [bug-65935] add removeTextRun
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898672 13f79535-47bb-0310-9956-ffa450edef68
2022-03-07 11:05:05 +00:00
PJ Fanning 3eb1ef578e reformat
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898670 13f79535-47bb-0310-9956-ffa450edef68
2022-03-07 10:38:02 +00:00
PJ Fanning 8cc396f81a reformat
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898669 13f79535-47bb-0310-9956-ffa450edef68
2022-03-07 10:23:39 +00:00
PJ Fanning 8be47cb969 [bug-65934] add removeTextParagraph
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898668 13f79535-47bb-0310-9956-ffa450edef68
2022-03-07 10:19:13 +00:00
PJ Fanning 83a90487cb [github-310] use XWPFRun
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898659 13f79535-47bb-0310-9956-ffa450edef68
2022-03-06 20:11:12 +00:00
PJ Fanning ea2cc9e54c [github-310] Allow XWPF sections to have distinct headers and footers. Thanks to Joaquín Perez Valera. This close #310
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898653 13f79535-47bb-0310-9956-ffa450edef68
2022-03-06 13:27:16 +00:00
PJ Fanning 21aafe2dbb upgrade guava
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898512 13f79535-47bb-0310-9956-ffa450edef68
2022-03-01 21:43:08 +00:00
PJ Fanning 95cc8bc1ca log4j 2.17.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898463 13f79535-47bb-0310-9956-ffa450edef68
2022-02-28 10:42:33 +00:00
PJ Fanning c8e0ab8ac0 remove test class as a variant of thos was added in another commit
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898396 13f79535-47bb-0310-9956-ffa450edef68
2022-02-24 21:45:28 +00:00
PJ Fanning 70b5750228 missing licenses
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898390 13f79535-47bb-0310-9956-ffa450edef68
2022-02-24 20:22:55 +00:00
PJ Fanning 784757ef59 add test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898387 13f79535-47bb-0310-9956-ffa450edef68
2022-02-24 19:00:49 +00:00
PJ Fanning dde7b47a8e [bug-65639] add test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898386 13f79535-47bb-0310-9956-ffa450edef68
2022-02-24 18:40:40 +00:00
Dominik Stadler 116c3e91ad Add/update some JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898385 13f79535-47bb-0310-9956-ffa450edef68
2022-02-24 18:12:39 +00:00
Dominik Stadler bb18d585f8 Add a test which ensures that some more classes are included in poi-ooxml-lite
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898382 13f79535-47bb-0310-9956-ffa450edef68
2022-02-24 18:12:20 +00:00
Andreas Beeker 79caf82ae0 javadoc and forbiddenApis fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898356 13f79535-47bb-0310-9956-ffa450edef68
2022-02-23 23:54:45 +00:00
Andreas Beeker 63f2572c62 fix SSL->TLS and LOG typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898328 13f79535-47bb-0310-9956-ffa450edef68
2022-02-22 20:09:31 +00:00
PJ Fanning d5c13ec43c remove unused param
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898325 13f79535-47bb-0310-9956-ffa450edef68
2022-02-22 18:12:51 +00:00
PJ Fanning 27cd76fe53 standardise on poi 5.2.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898316 13f79535-47bb-0310-9956-ffa450edef68
2022-02-22 11:21:00 +00:00
PJ Fanning b3c4857222 re-enable test but make it less stressful - now goes OOM very easily
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898295 13f79535-47bb-0310-9956-ffa450edef68
2022-02-22 00:42:58 +00:00
PJ Fanning d60c134d57 add test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898294 13f79535-47bb-0310-9956-ffa450edef68
2022-02-22 00:36:08 +00:00
PJ Fanning eb259606e3 disable test again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898293 13f79535-47bb-0310-9956-ffa450edef68
2022-02-22 00:20:25 +00:00
PJ Fanning dea7c951bb refactor IOUtils.toByteArray
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898292 13f79535-47bb-0310-9956-ffa450edef68
2022-02-22 00:19:12 +00:00
Andreas Beeker b59dbbd076 Use gradle toolchain to specify the jdk version and vendor, e.g.
> gradle -no-build-cache -PjdkVersion=16 -PjdkVendor=oracle clean check

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898288 13f79535-47bb-0310-9956-ffa450edef68
2022-02-21 22:57:03 +00:00
Andreas Beeker a881c381db #65908 - XAdES-XL modifications due to specification check errors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898287 13f79535-47bb-0310-9956-ffa450edef68
2022-02-21 22:56:30 +00:00
PJ Fanning fc78da7405 disable falky test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898242 13f79535-47bb-0310-9956-ffa450edef68
2022-02-19 23:48:32 +00:00
PJ Fanning fe79513114 add extra max size config
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898240 13f79535-47bb-0310-9956-ffa450edef68
2022-02-19 23:02:37 +00:00
PJ Fanning ac58e2f5f4 add extra max size config
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898239 13f79535-47bb-0310-9956-ffa450edef68
2022-02-19 22:41:22 +00:00
PJ Fanning 699d71e524 add extra max size config
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898238 13f79535-47bb-0310-9956-ffa450edef68
2022-02-19 22:34:44 +00:00
PJ Fanning 7005a44cc7 add extra max size config
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898237 13f79535-47bb-0310-9956-ffa450edef68
2022-02-19 22:13:26 +00:00
PJ Fanning 60f0c0a7f5 add extra max size config
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898235 13f79535-47bb-0310-9956-ffa450edef68
2022-02-19 21:14:05 +00:00
PJ Fanning 9563aa92da add extra max size config
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898234 13f79535-47bb-0310-9956-ffa450edef68
2022-02-19 21:08:48 +00:00
PJ Fanning 189552425d add extra max size config
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898233 13f79535-47bb-0310-9956-ffa450edef68
2022-02-19 21:06:01 +00:00
PJ Fanning ddd3bc2f9f support specific method to set zip entry max size
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898228 13f79535-47bb-0310-9956-ffa450edef68
2022-02-19 19:11:31 +00:00
PJ Fanning 788dd3f03c refactor some stream code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898213 13f79535-47bb-0310-9956-ffa450edef68
2022-02-19 12:08:48 +00:00
PJ Fanning 9e85169bdf improve performance of time zone lookup
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898124 13f79535-47bb-0310-9956-ffa450edef68
2022-02-16 10:14:05 +00:00
PJ Fanning 15946e831b minor perf issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898091 13f79535-47bb-0310-9956-ffa450edef68
2022-02-14 20:41:18 +00:00
PJ Fanning 068cd83970 minor perf issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898086 13f79535-47bb-0310-9956-ffa450edef68
2022-02-14 20:23:56 +00:00
PJ Fanning 7dbfc41dfb monor perf issue in XSSFCell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898083 13f79535-47bb-0310-9956-ffa450edef68
2022-02-14 20:04:06 +00:00
PJ Fanning 98091532bf add XWPFDocument.getSettings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897949 13f79535-47bb-0310-9956-ffa450edef68
2022-02-10 22:41:04 +00:00
PJ Fanning 078375914e remove comment
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897923 13f79535-47bb-0310-9956-ffa450edef68
2022-02-10 00:42:53 +00:00
PJ Fanning b6983af7a5 slf4j 1.7.36
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897875 13f79535-47bb-0310-9956-ffa450edef68
2022-02-08 14:48:30 +00:00
PJ Fanning 1bb6dddc06 introduce CellReferenceType
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897780 13f79535-47bb-0310-9956-ffa450edef68
2022-02-04 20:29:55 +00:00
PJ Fanning e6926f9779 introduce CellReferenceType
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897779 13f79535-47bb-0310-9956-ffa450edef68
2022-02-04 20:16:44 +00:00
PJ Fanning e3d995ce72 add regression test for opczip
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897740 13f79535-47bb-0310-9956-ffa450edef68
2022-02-03 19:59:04 +00:00
PJ Fanning c905a07fc4 add regression test for opczip
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897739 13f79535-47bb-0310-9956-ffa450edef68
2022-02-03 19:37:02 +00:00
PJ Fanning 1bdd44fc88 add regression test for opczip
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897737 13f79535-47bb-0310-9956-ffa450edef68
2022-02-03 18:42:39 +00:00
PJ Fanning 400a0862f3 [bug-62857] support locale
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897735 13f79535-47bb-0310-9956-ffa450edef68
2022-02-03 18:27:37 +00:00
PJ Fanning 14656c4951 [bug-62857] support locale
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897725 13f79535-47bb-0310-9956-ffa450edef68
2022-02-03 13:05:40 +00:00
PJ Fanning d8b574b325 [bug-62857] support locale
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897723 13f79535-47bb-0310-9956-ffa450edef68
2022-02-03 12:24:59 +00:00
PJ Fanning 3a1fb48124 sonarqube
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897693 13f79535-47bb-0310-9956-ffa450edef68
2022-02-02 11:16:39 +00:00
PJ Fanning 7b10c22e7b fix imports
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897688 13f79535-47bb-0310-9956-ffa450edef68
2022-02-02 09:14:59 +00:00
PJ Fanning f16b36cc51 [bug-60541] fix issue with setColumnAttributes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897678 13f79535-47bb-0310-9956-ffa450edef68
2022-02-01 23:05:54 +00:00
PJ Fanning ddeb98816e This closes #299
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897677 13f79535-47bb-0310-9956-ffa450edef68
2022-02-01 22:55:41 +00:00
PJ Fanning c86141c9fd sonar issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897675 13f79535-47bb-0310-9956-ffa450edef68
2022-02-01 21:16:05 +00:00
PJ Fanning 607eb0fabe add R1C1 test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897657 13f79535-47bb-0310-9956-ffa450edef68
2022-02-01 13:26:13 +00:00
PJ Fanning ba7cbf4b3c add R1C1 test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897654 13f79535-47bb-0310-9956-ffa450edef68
2022-02-01 12:15:16 +00:00
PJ Fanning f5a0a843ac add excel Workbook.setUseR1C1CellReferences(boolean)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897652 13f79535-47bb-0310-9956-ffa450edef68
2022-02-01 11:06:37 +00:00
PJ Fanning 20dfe361ca add excel Workbook.usesR1C1CellReferences()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897649 13f79535-47bb-0310-9956-ffa450edef68
2022-02-01 10:36:34 +00:00
PJ Fanning 1d2905bc05 [bug-65854] don't warn about close on read-only zip entry
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897562 13f79535-47bb-0310-9956-ffa450edef68
2022-01-28 10:41:31 +00:00
PJ Fanning 0ce3e46204 add classes to suit Sayi/poi-tl
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897506 13f79535-47bb-0310-9956-ffa450edef68
2022-01-26 13:46:56 +00:00
PJ Fanning 1a81a559b6 update test deps
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897504 13f79535-47bb-0310-9956-ffa450edef68
2022-01-26 12:59:23 +00:00
PJ Fanning 9fce5fb9fc slf4j 1.7.35
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897451 13f79535-47bb-0310-9956-ffa450edef68
2022-01-25 11:28:56 +00:00
PJ Fanning 1980124358 slf4j 1.7.34
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897444 13f79535-47bb-0310-9956-ffa450edef68
2022-01-25 10:24:57 +00:00
PJ Fanning 8649a4672c [github-298] revert change of case in CORE_PROPERTIES_ECMA376
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897376 13f79535-47bb-0310-9956-ffa450edef68
2022-01-23 16:51:45 +00:00
PJ Fanning 981b1ccf03 [github-298] fix case issue in CORE_PROPERTIES_ECMA376
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897372 13f79535-47bb-0310-9956-ffa450edef68
2022-01-23 14:26:24 +00:00
PJ Fanning e71e602762 revert test module changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897355 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 21:34:35 +00:00
PJ Fanning 1ee199b1ea try to fix build for Java 9+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897344 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 14:35:20 +00:00
PJ Fanning ca9cf3c6f8 try to fix build for Java 9+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897343 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 14:28:17 +00:00
PJ Fanning e0b84ef6ef slf4j 1.7.33
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897337 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 13:28:00 +00:00
Dominik Stadler 7f1d843752 Don't create an error-log when slightly broken spreadsheets contain an empty value for attribute "s"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897331 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 08:57:43 +00:00
Dominik Stadler bba249d522 Don't add main classes to *-test.jar files
Better to only provide them once to avoid very strange
errors if they differ for some reason

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897330 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 08:57:38 +00:00
Dominik Stadler 416562daa5 Avoid log-spam when using SXSSFWorkbook with auto-sizing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897324 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 06:59:03 +00:00
Dominik Stadler 7283d7ed64 Make all text-extractors always return a non-null String
This changes the expected exception of some test-files

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897319 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 06:58:43 +00:00
Dominik Stadler 53599d84a7 Add test-dependency on slf4j-simple to include all logs in captured test-output
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897317 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 06:58:34 +00:00
PJ Fanning 68ce022531 [github-296] cache data of external workbook. Thanks to aspojo. This closes #296
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897311 13f79535-47bb-0310-9956-ffa450edef68
2022-01-21 19:43:10 +00:00
PJ Fanning 78deb9874e curvesapi 1.07
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897180 13f79535-47bb-0310-9956-ffa450edef68
2022-01-18 19:26:47 +00:00
PJ Fanning 278592857b slf4j 1.7.33
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897000 13f79535-47bb-0310-9956-ffa450edef68
2022-01-13 15:22:10 +00:00
Andreas Beeker ff6984df00 remove and prevent links to stackoverflow
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896899 13f79535-47bb-0310-9956-ffa450edef68
2022-01-10 22:06:26 +00:00
Dominik Stadler 6de48ada57 Do not fail TestSignatureInfo when the current JDK does not have all the necessary setup
Let's gracefully handle some expected failures with some versions of the JDK
to not have flaky/failing test for users who just want to recompile POI themselves.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896598 13f79535-47bb-0310-9956-ffa450edef68
2022-01-01 16:11:49 +00:00
PJ Fanning c8fc960d2d use isEmpty()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896547 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 21:35:45 +00:00
PJ Fanning 9de29ea3fc use isEmpty()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896541 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 20:34:10 +00:00
PJ Fanning 15b1c51f33 deprecated annotation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896540 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 20:21:58 +00:00
PJ Fanning 9a5dec078b rewrite CopyCompare to remove its ThreadLocal which causes a sonar code smell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896536 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 20:02:03 +00:00
Dominik Stadler 32311e42c2 Fix Sonar issues and print out some more in test-assertions that do fail sometimes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896531 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 16:10:52 +00:00
PJ Fanning 6aa1e58bdf add isEmpty() method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896524 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 06:18:09 +00:00