862 Commits

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