Commit Graph

78 Commits

Author SHA1 Message Date
PJ Fanning dcb6742a26 try to fix jaav 17 build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903051 13f79535-47bb-0310-9956-ffa450edef68
2022-07-27 09:21:34 +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 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 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 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 f736e2c65b lgtm issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902804 13f79535-47bb-0310-9956-ffa450edef68
2022-07-17 10:00:17 +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 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 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 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 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
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
PJ Fanning 4496e7761f change formatting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898232 13f79535-47bb-0310-9956-ffa450edef68
2022-02-19 20:54:42 +00:00
PJ Fanning 7ad1238393 [bug-65849] use Files.createTempFile
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897524 13f79535-47bb-0310-9956-ffa450edef68
2022-01-27 00:32:01 +00:00
PJ Fanning fc49da56ae [bug-65849] use Files.createTempFile
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897515 13f79535-47bb-0310-9956-ffa450edef68
2022-01-26 19:35:06 +00:00
Dominik Stadler 57e84a8a1a Fix invalid comparison and optimize construction of CellStyle objects for comparison
Fix copy/paste-errors where object are compared
with itself for "hidden" and "locked".

Integration tests showed that sometimes lots of time is
spent here, so let's try to reduce the number of calls to
getCellStyle().

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897323 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 06:58:58 +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
PJ Fanning 075bc7021a fix switch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896551 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 22:32:48 +00:00
PJ Fanning 4823d0cbd4 refactor CopyCompare again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896543 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 21:09:08 +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
PJ Fanning 6784dd81c2 update some code based on sonar issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896504 13f79535-47bb-0310-9956-ffa450edef68
2021-12-29 13:08:56 +00:00
PJ Fanning d442ea645c [bug-65772] stop using deleteOnExit in DefaultTempFileCreationStrategy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896474 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 12:36:51 +00:00
PJ Fanning 70dc07dd3b close cursors in finally blocks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896472 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 10:51:24 +00:00
PJ Fanning fe4a3b7596 small refactor of XSSFReader
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896259 13f79535-47bb-0310-9956-ffa450edef68
2021-12-22 03:51:51 +00:00
PJ Fanning 6aea287542 some spotbugs issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896204 13f79535-47bb-0310-9956-ffa450edef68
2021-12-20 23:39:40 +00:00
PJ Fanning 5ed99abe8f remove log4j-core
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896198 13f79535-47bb-0310-9956-ffa450edef68
2021-12-20 19:38:23 +00:00
PJ Fanning e61dc89bff possible npes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896163 13f79535-47bb-0310-9956-ffa450edef68
2021-12-19 16:35:31 +00:00
PJ Fanning f4bb4560ed code tidy up
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896139 13f79535-47bb-0310-9956-ffa450edef68
2021-12-18 17:41:36 +00:00
PJ Fanning 74997afe6a update test assertion
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895423 13f79535-47bb-0310-9956-ffa450edef68
2021-11-30 10:11:41 +00:00
Dominik Stadler 5eb7b44d64 Add some missing JavaDoc for WorkbookFactory and ExtractorFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895414 13f79535-47bb-0310-9956-ffa450edef68
2021-11-30 06:19:51 +00:00
PJ Fanning 9ed220fd75 [bug-65703] new DataFormatter method: setUse4DigitYearsInAllDateFormats - defaults to false
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895327 13f79535-47bb-0310-9956-ffa450edef68
2021-11-25 12:49:21 +00:00
PJ Fanning 5022f30c4b tidy up gradle scripts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895321 13f79535-47bb-0310-9956-ffa450edef68
2021-11-25 10:31:50 +00:00
PJ Fanning a3f0121147 saxon test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895319 13f79535-47bb-0310-9956-ffa450edef68
2021-11-25 10:05:00 +00:00
PJ Fanning 057a85ac1e set emulateCSV mode in DataFormatter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895315 13f79535-47bb-0310-9956-ffa450edef68
2021-11-25 06:46:04 +00:00
PJ Fanning c9ca793c44 javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895078 13f79535-47bb-0310-9956-ffa450edef68
2021-11-16 00:41:07 +00:00
Andreas Beeker 474576677b fix copy & paste package namespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895033 13f79535-47bb-0310-9956-ffa450edef68
2021-11-14 12:59:33 +00:00
PJ Fanning 8365ee1611 [github-278] Resolve all SpotBugs P1 issues in Main and Test. Thanks to Andreas Reichel. This closes #278
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895016 13f79535-47bb-0310-9956-ffa450edef68
2021-11-14 10:18:40 +00:00
PJ Fanning 02f36cf4fd [bug-65675] add regression test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894884 13f79535-47bb-0310-9956-ffa450edef68
2021-11-09 19:45:03 +00:00
PJ Fanning 171b6883f5 compile issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894688 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 15:03:42 +00:00
PJ Fanning f3d36d5271 use package revert due to new warning log about using revert
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894687 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 14:50:47 +00:00
PJ Fanning 90b8a0c36d try to add LICENSE and NOTICE to sources jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894565 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 22:50:03 +00:00
PJ Fanning e66486bc8a try to add LICENSE and NOTICE to javadoc jars
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894564 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 22:29:10 +00:00
PJ Fanning 5d79f841bb remove finalizer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894490 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 18:09:26 +00:00
PJ Fanning 9fe3944e8e get proper xmlbeans 5.0.2 release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894428 13f79535-47bb-0310-9956-ffa450edef68
2021-10-20 23:54:34 +00:00
Andreas Beeker 3c3154ea8c sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894365 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 22:35:17 +00:00
Andreas Beeker 611f5273fd sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894360 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 17:40:47 +00:00
Andreas Beeker 87a764956c sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894331 13f79535-47bb-0310-9956-ffa450edef68
2021-10-17 20:44:36 +00:00
PJ Fanning 4b97b12712 xmlbeans 5.0.2 (temporarily from a pre-release location)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894211 13f79535-47bb-0310-9956-ffa450edef68
2021-10-13 21:27:32 +00:00