Commit Graph

670 Commits

Author SHA1 Message Date
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