Commit Graph

636 Commits

Author SHA1 Message Date
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
PJ Fanning 6d93ac6172 add isEmpty() method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896521 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 01:25:20 +00:00
PJ Fanning 8210bdb0c8 fix tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896513 13f79535-47bb-0310-9956-ffa450edef68
2021-12-29 22:00:43 +00:00
PJ Fanning 79a1e6b1e9 log4j 2.17.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896481 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 19:15:32 +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 57852e0c7d [bug-65772] stop using deleteOnExit in DefaultTempFileCreationStrategy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896473 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 12:12:01 +00:00
PJ Fanning dcdb14c5f2 close cursors in finally blocks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896471 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 10:41:06 +00:00
PJ Fanning 233fbadf0a close cursors in finally blocks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896470 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 10:24:04 +00:00
PJ Fanning 2996f82e98 close input streams for parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896464 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 02:48:28 +00:00
PJ Fanning 90319df180 close input streams for parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896463 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 02:42:29 +00:00
PJ Fanning 22d162cc7d close input streams for parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896462 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 02:33:44 +00:00
PJ Fanning 42a2794ae7 close input streams for parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896461 13f79535-47bb-0310-9956-ffa450edef68
2021-12-28 01:55:57 +00:00
PJ Fanning 0d308ecd48 code format
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896450 13f79535-47bb-0310-9956-ffa450edef68
2021-12-27 11:51:14 +00:00
PJ Fanning 2d4c270bad code format
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896449 13f79535-47bb-0310-9956-ffa450edef68
2021-12-27 11:27:54 +00:00
PJ Fanning 3daa439e9d jmh plugin 1.34
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896362 13f79535-47bb-0310-9956-ffa450edef68
2021-12-24 14:31:30 +00:00
PJ Fanning dfb4af31e7 preserve rich text in cell copy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896348 13f79535-47bb-0310-9956-ffa450edef68
2021-12-24 11:11:44 +00:00
PJ Fanning d6ab8e8444 [github-290] Customize Spliterator implementations for better parallelism. Thanks to Daniel Shuy. This closes #290
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896305 13f79535-47bb-0310-9956-ffa450edef68
2021-12-23 10:33:59 +00:00
PJ Fanning d41e050688 add tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896288 13f79535-47bb-0310-9956-ffa450edef68
2021-12-22 19:40:44 +00:00
PJ Fanning 4f03da511a add tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896287 13f79535-47bb-0310-9956-ffa450edef68
2021-12-22 19:32:58 +00:00
PJ Fanning 5df24b681f extra constructors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896280 13f79535-47bb-0310-9956-ffa450edef68
2021-12-22 15:01:01 +00:00
PJ Fanning cf1354dc6c small refactor of ThemesTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896269 13f79535-47bb-0310-9956-ffa450edef68
2021-12-22 09:16:53 +00:00
PJ Fanning 74b08e5f51 small refactor of XSSFReader
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896260 13f79535-47bb-0310-9956-ffa450edef68
2021-12-22 04:00:44 +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 0b871a08c5 add more XSSFColor constructors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896249 13f79535-47bb-0310-9956-ffa450edef68
2021-12-21 15:55:01 +00:00
PJ Fanning a2dbbd7748 [bug-64732] add support for new line escaping when updating table names - test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896247 13f79535-47bb-0310-9956-ffa450edef68
2021-12-21 15:16:46 +00:00
PJ Fanning 134b7c1be5 [bug-64732] add support for new line escaping when updating table names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896246 13f79535-47bb-0310-9956-ffa450edef68
2021-12-21 14:41:50 +00:00
PJ Fanning f3b51d41a4 pdfbox dependency
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896201 13f79535-47bb-0310-9956-ffa450edef68
2021-12-20 20:56:05 +00:00
PJ Fanning 0b0f60db63 update graphics2d
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896192 13f79535-47bb-0310-9956-ffa450edef68
2021-12-20 16:07:38 +00:00
PJ Fanning b88cb5620a try to close resources when RuntimeExceptions happen
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896140 13f79535-47bb-0310-9956-ffa450edef68
2021-12-18 18:04:52 +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 969a2a710c log4j 2.17.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896117 13f79535-47bb-0310-9956-ffa450edef68
2021-12-18 09:50:10 +00:00
PJ Fanning 3a7544b169 upgrade xmlunit
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896099 13f79535-47bb-0310-9956-ffa450edef68
2021-12-17 13:52:18 +00:00
PJ Fanning c105f7f7d5 log4j 2.16.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895930 13f79535-47bb-0310-9956-ffa450edef68
2021-12-13 23:59:38 +00:00
Dominik Stadler 9fa33b2b7e Fix issues found when fuzzing Apache POI via Jazzer
Add some additional allocation limits to avoid OOM in
some more cases with some broken input files

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895922 13f79535-47bb-0310-9956-ffa450edef68
2021-12-13 19:22:34 +00:00
PJ Fanning 8ef0b9d29a typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895913 13f79535-47bb-0310-9956-ffa450edef68
2021-12-13 17:57:19 +00:00
PJ Fanning b68a4b7eff highlight some exceptions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895912 13f79535-47bb-0310-9956-ffa450edef68
2021-12-13 17:55:30 +00:00
PJ Fanning 065537fb02 add some tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895911 13f79535-47bb-0310-9956-ffa450edef68
2021-12-13 17:48:47 +00:00
PJ Fanning d6d739d5ae highlight some exceptions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895910 13f79535-47bb-0310-9956-ffa450edef68
2021-12-13 17:31:53 +00:00
PJ Fanning 469a485f38 [bug-65741] change some methods to throw checked exception InvalidFormatException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895882 13f79535-47bb-0310-9956-ffa450edef68
2021-12-13 13:52:46 +00:00
PJ Fanning 837590024f [bug-65741] rework previous change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895881 13f79535-47bb-0310-9956-ffa450edef68
2021-12-13 13:12:32 +00:00
PJ Fanning bbef66dee3 [bug-65741] issue with null date values causing npes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895877 13f79535-47bb-0310-9956-ffa450edef68
2021-12-13 12:23:13 +00:00
PJ Fanning e5722ef4e2 typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895875 13f79535-47bb-0310-9956-ffa450edef68
2021-12-13 11:24:48 +00:00
PJ Fanning 0f18de4b06 [bug-65739] reduce log level of message to debug
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895794 13f79535-47bb-0310-9956-ffa450edef68
2021-12-10 21:13:01 +00:00
PJ Fanning 0baf788054 [bug-65738] add basic test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895789 13f79535-47bb-0310-9956-ffa450edef68
2021-12-10 18:41:41 +00:00
PJ Fanning 11b0cf965c [bug-65738] do not treat zip directories as parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895788 13f79535-47bb-0310-9956-ffa450edef68
2021-12-10 18:07:25 +00:00
PJ Fanning 5ff9c60cbf log4j 2.15.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895746 13f79535-47bb-0310-9956-ffa450edef68
2021-12-10 08:00:11 +00:00
PJ Fanning ea1e38be74 [github-285] Issue in XDGFShape getTxtPinX. Thanks to Dmitry Komarov. This closes #285
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895720 13f79535-47bb-0310-9956-ffa450edef68
2021-12-09 09:55:02 +00:00
PJ Fanning a24820e629 add data-formatter test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895706 13f79535-47bb-0310-9956-ffa450edef68
2021-12-08 19:27:09 +00:00
PJ Fanning 307d5e2ce9 upgrade spotbugs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895696 13f79535-47bb-0310-9956-ffa450edef68
2021-12-08 12:42:19 +00:00
Dominik Stadler 97abbdd6ab Close some streams/workbooks properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895624 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 14:59:18 +00:00
PJ Fanning 50bab16ece add xlookup test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895613 13f79535-47bb-0310-9956-ffa450edef68
2021-12-06 10:10:16 +00:00
PJ Fanning 0a66fe284b initial work on example 5
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895606 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 23:25:31 +00:00
Dominik Stadler 1e9efb5562 Fix issues found when fuzzing Apache POI via Jazzer
Add some null-checks and report more meaningful exceptions
This provides a bit more information than simple NullPointExceptions

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895600 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 17:34:44 +00:00
Dominik Stadler 0210af791e Fix issues found when fuzzing Apache POI via Jazzer
Catch and handle a possible NullPointerException in commons-compress
We can handle this gracefully for now and can remove this again
when commons-compress is fixed, see isse COMPRESS-598

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895598 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 15:34:16 +00:00
Dominik Stadler d5538d24d8 Apply IDE suggestions, adjust tests, ...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895596 13f79535-47bb-0310-9956-ffa450edef68
2021-12-05 15:33:39 +00:00
PJ Fanning c8a3870064 [github-243] basic version of XLookup
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895499 13f79535-47bb-0310-9956-ffa450edef68
2021-12-02 19:10:14 +00:00
PJ Fanning f713f551ad [bug-65718] Charts imported without blip fills
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895487 13f79535-47bb-0310-9956-ffa450edef68
2021-12-02 10:10:17 +00:00
PJ Fanning bbd5645d87 undo * import
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895477 13f79535-47bb-0310-9956-ffa450edef68
2021-12-01 20:05:32 +00:00
PJ Fanning 8538a7ee76 add /* ====================================================================
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895476 13f79535-47bb-0310-9956-ffa450edef68
2021-12-01 19:26:11 +00:00
PJ Fanning add71cb80a spelling of embedded
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895452 13f79535-47bb-0310-9956-ffa450edef68
2021-12-01 11:33:25 +00:00
PJ Fanning 43438ee6ef [bug-65715] fix bug in getDrawingPatriarch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895447 13f79535-47bb-0310-9956-ffa450edef68
2021-12-01 08:49:03 +00:00
PJ Fanning 53da548689 [bug-65711] add test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895407 13f79535-47bb-0310-9956-ffa450edef68
2021-11-29 16:09:06 +00:00
PJ Fanning 84798ced36 [bug-65711] Fix overriding relation IDs in importBlip
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895405 13f79535-47bb-0310-9956-ffa450edef68
2021-11-29 15:35:13 +00:00
PJ Fanning a2fa746ee0 cache vml drawing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895388 13f79535-47bb-0310-9956-ffa450edef68
2021-11-28 09:43:28 +00:00
PJ Fanning 7475b1f609 [bug-65706] ignore trash parts in OOXML files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895370 13f79535-47bb-0310-9956-ffa450edef68
2021-11-27 10:15:39 +00:00
PJ Fanning b5d1b91780 missing bracket
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895353 13f79535-47bb-0310-9956-ffa450edef68
2021-11-26 13:59:20 +00:00
PJ Fanning b2b8bee161 add test for comment modification
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895352 13f79535-47bb-0310-9956-ffa450edef68
2021-11-26 13:28:53 +00:00
PJ Fanning 29b3ad25df javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895351 13f79535-47bb-0310-9956-ffa450edef68
2021-11-26 13:08:31 +00:00
PJ Fanning eb36cc32ab [bug-65706] fix syntax of log message
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895322 13f79535-47bb-0310-9956-ffa450edef68
2021-11-25 10:51:32 +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 de1fe6ee75 rerwite test that fails when run with saxon (because test relies on XML formatting)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895305 13f79535-47bb-0310-9956-ffa450edef68
2021-11-24 19:19:33 +00:00
PJ Fanning 7b02f24e47 [github-281] Thanks to This closes #281
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895284 13f79535-47bb-0310-9956-ffa450edef68
2021-11-24 09:55:33 +00:00
PJ Fanning 692d38641a stray imports
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895256 13f79535-47bb-0310-9956-ffa450edef68
2021-11-22 13:38:09 +00:00
Andreas Beeker d3ff953cf7 #65694 - HSLF - handle date/time fields and formats
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895248 13f79535-47bb-0310-9956-ffa450edef68
2021-11-22 00:01:31 +00:00
PJ Fanning 84957d7bc4 add comment tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895242 13f79535-47bb-0310-9956-ffa450edef68
2021-11-21 17:47:47 +00:00
PJ Fanning 5306b84b8c add comment tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895241 13f79535-47bb-0310-9956-ffa450edef68
2021-11-21 17:45:08 +00:00
PJ Fanning 45f3893885 add comment tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895240 13f79535-47bb-0310-9956-ffa450edef68
2021-11-21 17:32:46 +00:00
PJ Fanning 47b4235c15 javadoc issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895234 13f79535-47bb-0310-9956-ffa450edef68
2021-11-21 14:22:19 +00:00
PJ Fanning 5c5023e80b set sheet on comments table
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895233 13f79535-47bb-0310-9956-ffa450edef68
2021-11-21 14:07:08 +00:00
PJ Fanning 1f50363e47 set sheet on comments table
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895230 13f79535-47bb-0310-9956-ffa450edef68
2021-11-21 13:46:42 +00:00
PJ Fanning 5267b055eb add comment tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895229 13f79535-47bb-0310-9956-ffa450edef68
2021-11-21 12:42:03 +00:00
PJ Fanning 537ddf53b9 fix broken test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895211 13f79535-47bb-0310-9956-ffa450edef68
2021-11-20 16:50:15 +00:00
PJ Fanning 3d44f76500 remove comment iterator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895210 13f79535-47bb-0310-9956-ffa450edef68
2021-11-20 16:26:55 +00:00
PJ Fanning 18bb41fb27 reduce use of comment iterator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895209 13f79535-47bb-0310-9956-ffa450edef68
2021-11-20 16:16:06 +00:00
PJ Fanning 44cb4cec60 javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895208 13f79535-47bb-0310-9956-ffa450edef68
2021-11-20 15:59:37 +00:00
PJ Fanning ab1a19c3d4 add shape data to comments in iterator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895204 13f79535-47bb-0310-9956-ffa450edef68
2021-11-20 14:20:49 +00:00
PJ Fanning deab188437 use try block to close input streams
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895203 13f79535-47bb-0310-9956-ffa450edef68
2021-11-20 13:51:00 +00:00
PJ Fanning 363abd6efe use try block to close output streams
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895197 13f79535-47bb-0310-9956-ffa450edef68
2021-11-20 12:53:20 +00:00
PJ Fanning 14c7218be8 use try block to close output streams
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895196 13f79535-47bb-0310-9956-ffa450edef68
2021-11-20 12:48:03 +00:00
PJ Fanning e9355ddad4 expose VMLDrawing in SXSSF code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895189 13f79535-47bb-0310-9956-ffa450edef68
2021-11-20 01:31:51 +00:00
PJ Fanning b2a7a1729f try to make CommentsTable more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895185 13f79535-47bb-0310-9956-ffa450edef68
2021-11-19 19:46:18 +00:00
PJ Fanning 910724058c try to make CommentsTable more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895182 13f79535-47bb-0310-9956-ffa450edef68
2021-11-19 18:09:57 +00:00
PJ Fanning 72dbcf4702 try to make CommentsTable more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895180 13f79535-47bb-0310-9956-ffa450edef68
2021-11-19 18:01:34 +00:00
PJ Fanning b4f36926dc try to make CommentsTable more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895176 13f79535-47bb-0310-9956-ffa450edef68
2021-11-19 14:26:15 +00:00
PJ Fanning d96869c870 some incorrect uses of
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895151 13f79535-47bb-0310-9956-ffa450edef68
2021-11-18 13:17:24 +00:00
PJ Fanning ef1dd54f36 try to make CommentsTable more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895148 13f79535-47bb-0310-9956-ffa450edef68
2021-11-18 11:51:24 +00:00
PJ Fanning 14480be6de try to make CommentsTable more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895146 13f79535-47bb-0310-9956-ffa450edef68
2021-11-18 11:38:56 +00:00
PJ Fanning e65f235198 try to make comments table more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895129 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 23:35:16 +00:00
PJ Fanning df7fccb3d0 try to make comments table more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895128 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 23:26:31 +00:00
PJ Fanning f717f921b0 try to make comments table more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895127 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 23:04:26 +00:00
PJ Fanning 234141b8c1 typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895126 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 22:45:21 +00:00
PJ Fanning 106557ede6 try to improve performance when removing rows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895125 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 22:41:00 +00:00
PJ Fanning 9c81d7f588 try to make comments table more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895117 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 18:53:11 +00:00
PJ Fanning 3a90544a15 try to make comments table more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895114 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 18:43:10 +00:00
PJ Fanning 1d9948f090 try to make comments table more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895113 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 18:41:16 +00:00
PJ Fanning fa703eccfb try to make comments table more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895105 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 13:08:48 +00:00
PJ Fanning fd1b5c87cf try to make comments table more extensible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895104 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 13:00:09 +00:00
PJ Fanning 8bde66c3e6 javadoc issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895099 13f79535-47bb-0310-9956-ffa450edef68
2021-11-17 11:35:47 +00:00
Andreas Beeker 27b4bdc3f7 Move org.apache.poi.hssf.dev classes from poi:main to poi:test
Use CloseShieldOutputStream instead of CloseIgnoringInputStream

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895041 13f79535-47bb-0310-9956-ffa450edef68
2021-11-15 00:03:44 +00:00
Andreas Beeker 007a6f6160 Fix deprecate warnings on X509 api calls
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895034 13f79535-47bb-0310-9956-ffa450edef68
2021-11-14 13:15:14 +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 20c0ac1637 [bug-65678] add XSLFGraphicFrame hasDiagram
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894962 13f79535-47bb-0310-9956-ffa450edef68
2021-11-11 23:24:08 +00:00
PJ Fanning 530af684b3 try to handle logging issue where DeferredSXSSFWorkbook close can lead to logging about close already having been called
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894951 13f79535-47bb-0310-9956-ffa450edef68
2021-11-11 13:24:37 +00:00
PJ Fanning 2db7202cc3 [bug-65676] issue in XSSFReader where string builder is not always cleared between cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894902 13f79535-47bb-0310-9956-ffa450edef68
2021-11-10 10:34:09 +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 458369a64d [bug-65674] add isVideoFile to XSLFPictureShape
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894860 13f79535-47bb-0310-9956-ffa450edef68
2021-11-09 10:40:57 +00:00
PJ Fanning 2a6ef7e4ae throw IOException if getInputStream fails
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894848 13f79535-47bb-0310-9956-ffa450edef68
2021-11-08 20:49:45 +00:00
PJ Fanning 5a59376389 return better error message when ZipEntry has no data (it was closed before the data was retrieved)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894831 13f79535-47bb-0310-9956-ffa450edef68
2021-11-08 11:15:26 +00:00
PJ Fanning 336bce7c82 [bug-65673] add test case (that passes)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894830 13f79535-47bb-0310-9956-ffa450edef68
2021-11-08 11:00:59 +00:00
PJ Fanning ee110ed126 typo in log message
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894828 13f79535-47bb-0310-9956-ffa450edef68
2021-11-08 10:30:28 +00:00
Andreas Beeker 37e8f72493 #65672 - Digitial Signature - set commitment type and purpose
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894820 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 23:48:15 +00:00
Dominik Stadler 9e867ad539 Adjust trimming sheetnames > 31 chars
Define Constant MAX_SENSITIVE_SHEET_NAME_LEN = 31
Warn about trimmed sheet names
Implement sheetname trimming for HSSFWorkbook
Add use case tests

Closes #273

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894817 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 16:22:33 +00:00
Dominik Stadler 761a78b49f Use append(char) instead of string where possible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894814 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 15:00:03 +00:00
Dominik Stadler 034c95ec55 Add some more forbidden-apis to prefer core JDK classes over Guava and commons-codec
Also prevent java logging from being used inadvertently

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894810 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 14:59:40 +00:00
PJ Fanning e40b4e1ec9 CaseInsensitiveMap is not thread-safe
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894738 13f79535-47bb-0310-9956-ffa450edef68
2021-11-04 18:30:31 +00:00
PJ Fanning 584c8c059b case insensitive map
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894720 13f79535-47bb-0310-9956-ffa450edef68
2021-11-03 15:20:32 +00:00
PJ Fanning a46cf63f4f javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894714 13f79535-47bb-0310-9956-ffa450edef68
2021-11-03 14:00:10 +00:00
PJ Fanning 8f1baa1190 [bug-65669] proper handling of apostrophe escaping in table column names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894713 13f79535-47bb-0310-9956-ffa450edef68
2021-11-03 13:55:11 +00:00
Andreas Beeker f2f4ea44b6 #65668 - upgrade to xmlsec 2.3.0 - make secure validation configurable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894701 13f79535-47bb-0310-9956-ffa450edef68
2021-11-03 00:00:21 +00:00
PJ Fanning 1c184f49d0 forbidden api
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894700 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 21:37:01 +00:00
PJ Fanning c7954fdcd8 forbidden api
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894699 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 21:12:40 +00:00
PJ Fanning face981f3f forbidden api
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894697 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 19:54:45 +00:00
PJ Fanning e26ab012d8 [github-270] Draw correct XDGF circular arc. Thanks to Dmitry Komarov. This closes #270
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894696 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 19:35:25 +00:00
PJ Fanning 1328893212 [github-269] more work on external workbook links (formulas). Thanks to @aspojo. This closes #269
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894695 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 18:59:18 +00:00
PJ Fanning d9b6f799a6 revert xmlsec upgrade
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894691 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 17:15:53 +00:00
PJ Fanning c5b2b3b984 xmlsec 2.3.0
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894689 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 15:03:56 +00:00
Dominik Stadler f4ae175558 Add slightly more output if signature-test fails
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894681 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 13:19:03 +00:00
Dominik Stadler 34ea6a50e0 Check and fix issue when sheets are added while an existing workbook-evaluator is used.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894680 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 13:18:50 +00:00
Dominik Stadler 7a5bc4227b Do not fail on different count of categories and points and fix cloning charts
We see many cases where documents have charts with a difference here, so
downgrade the exception to a warning for now

Also handle cloning charts in workbooks where the parts have unexpected names
by making sure that the chosen part-name is not yet taken.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894676 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 13:17:53 +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 a5325cb112 reflections 0.10.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894561 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 21:03:10 +00:00
PJ Fanning ecdd4fcb55 revert github-267 due to broken tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894550 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 10:11:04 +00:00
PJ Fanning 6017327bae [github-267] Issue with sheet range in formula With spaces and quotes. Thanks to aspojo. This closes #267
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894549 13f79535-47bb-0310-9956-ffa450edef68
2021-10-25 09:32:50 +00:00
PJ Fanning c1ae6ef0e9 XSSFReader extensibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894513 13f79535-47bb-0310-9956-ffa450edef68
2021-10-23 14:23:19 +00:00
PJ Fanning 9f6f11023a fix mime type for pict files (image/x-pict)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894510 13f79535-47bb-0310-9956-ffa450edef68
2021-10-23 12:53:57 +00:00
PJ Fanning 6a12c6cb25 [bug-65650] use image/x-pict mime type
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894507 13f79535-47bb-0310-9956-ffa450edef68
2021-10-23 10:49:18 +00:00
PJ Fanning 22bac58465 use content types from constants
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894506 13f79535-47bb-0310-9956-ffa450edef68
2021-10-23 09:46:13 +00:00
PJ Fanning 802165ecd0 add XSLFPictureShape setName
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894505 13f79535-47bb-0310-9956-ffa450edef68
2021-10-23 09:27:35 +00:00
PJ Fanning 03fc88b18b add XSLFPictureShape getName
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894504 13f79535-47bb-0310-9956-ffa450edef68
2021-10-23 09:18:17 +00:00
PJ Fanning b3a64e0bca remove deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894497 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 22:52:30 +00:00
PJ Fanning b2aa78144f remove deprecated methods on XSSFColor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894495 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 21:34:27 +00:00
PJ Fanning 2730bdc113 [bug-65649] add test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894492 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 20:24:12 +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 7416d8035a remove finalizer
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894484 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 17:05:15 +00:00
PJ Fanning d72018db13 deprecate method that should not be public
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894483 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 16:52:04 +00:00
Dominik Stadler d59824cc9e Reformat code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894480 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 14:32:01 +00:00
Dominik Stadler b276d140be Add more output in one test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894479 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 14:31:57 +00:00
PJ Fanning 04c130b8d5 make max record sizes configurable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894453 13f79535-47bb-0310-9956-ffa450edef68
2021-10-21 17:34:29 +00:00
Dominik Stadler 0727874584 Avoid NullPointerException when cloning sheets where there is no drawing patriarch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894450 13f79535-47bb-0310-9956-ffa450edef68
2021-10-21 14:17:31 +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 bf360400be sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894426 13f79535-47bb-0310-9956-ffa450edef68
2021-10-20 22:50:35 +00:00
PJ Fanning 6b1a477997 hs-err file location
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894411 13f79535-47bb-0310-9956-ffa450edef68
2021-10-20 13:08:53 +00:00
PJ Fanning d14dc1c659 scaling issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894366 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 22:40:14 +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
PJ Fanning 646fb8c690 minor code improvement
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894364 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 20:58:13 +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
PJ Fanning 787af858e7 add problem file to build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894359 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 17:34:12 +00:00
PJ Fanning 005810640d [bug-65638] Remove escaping of ampersand from headers and footers created by Excel. Thanks to Viru.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894357 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 17:15:04 +00:00
PJ Fanning 5d23faf3cc upgrade build/test dependencies
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894350 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 12:42:21 +00:00
PJ Fanning 91b1e2072b try Xverify:all
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894348 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 11:14:12 +00:00
PJ Fanning b906b72d29 [bug-59388] Set comment with option isVisible in .xlsx. Thanks to ryoii. This closes #239
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894347 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 10:48:04 +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 b20897a996 extra tests for Zip package parts backed by temp files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894313 13f79535-47bb-0310-9956-ffa450edef68
2021-10-17 10:24:03 +00:00
PJ Fanning 0042a47172 record size of encrypted temp data
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894303 13f79535-47bb-0310-9956-ffa450edef68
2021-10-16 10:30:43 +00:00
Andreas Beeker dfbab3ff6a #64036 - Replace reflection calls in factories for Java 9+
use ServiceLoader for HSLF Metro Shapes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894298 13f79535-47bb-0310-9956-ffa450edef68
2021-10-16 00:00:50 +00:00
PJ Fanning ac0b1fd15a [github-264] extend test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894276 13f79535-47bb-0310-9956-ffa450edef68
2021-10-15 07:49:31 +00:00