]> source.dussan.org Git - poi.git/log
poi.git
2 years agoupgrade deps
PJ Fanning [Thu, 14 Apr 2022 15:04:49 +0000 (15:04 +0000)]
upgrade deps

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899861 13f79535-47bb-0310-9956-ffa450edef68

2 years agorefactor test
PJ Fanning [Mon, 11 Apr 2022 19:29:30 +0000 (19:29 +0000)]
refactor test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899756 13f79535-47bb-0310-9956-ffa450edef68

2 years agoPrevent an overly large allocation when using HPSF
Dominik Stadler [Mon, 11 Apr 2022 13:51:31 +0000 (13:51 +0000)]
Prevent an overly large allocation when using HPSF

Add a sample document from fuzzing which contains invalid/oversized values

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899749 13f79535-47bb-0310-9956-ffa450edef68

2 years agoMissing font-system can throw two other types of exception
Dominik Stadler [Mon, 11 Apr 2022 13:51:26 +0000 (13:51 +0000)]
Missing font-system can throw two other types of exception

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899748 13f79535-47bb-0310-9956-ffa450edef68

2 years agoAdd a way to not require a functioning font-setup
Dominik Stadler [Sun, 10 Apr 2022 16:45:02 +0000 (16:45 +0000)]
Add a way to not require a functioning font-setup

New configuration-method SheetUtil.setIgnoreMissingFontSystem()
This allows to do a bit more on machines where no fonts are installed

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899709 13f79535-47bb-0310-9956-ffa450edef68

2 years agoRework message when reaching allocation limits
Dominik Stadler [Sun, 10 Apr 2022 16:44:58 +0000 (16:44 +0000)]
Rework message when reaching allocation limits

Also remove a useless Math.min() as the previous condition already
indicates which one is the smaller value

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899708 13f79535-47bb-0310-9956-ffa450edef68

2 years agoadd test
PJ Fanning [Sat, 9 Apr 2022 21:17:49 +0000 (21:17 +0000)]
add test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899690 13f79535-47bb-0310-9956-ffa450edef68

2 years agore-enable test
PJ Fanning [Sat, 9 Apr 2022 21:13:53 +0000 (21:13 +0000)]
re-enable test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899689 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[github-321] Fix issue with rounding in DataFormatter. First try broke a test.
PJ Fanning [Sat, 9 Apr 2022 13:55:25 +0000 (13:55 +0000)]
[github-321] Fix issue with rounding in DataFormatter. First try broke a test.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899686 13f79535-47bb-0310-9956-ffa450edef68

2 years agomore test issues with rate change
PJ Fanning [Sat, 9 Apr 2022 13:38:27 +0000 (13:38 +0000)]
more test issues with rate change

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899685 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[github-321] Fix issue with rounding in DataFormatter. First try broke a test.
PJ Fanning [Sat, 9 Apr 2022 12:30:49 +0000 (12:30 +0000)]
[github-321] Fix issue with rounding in DataFormatter. First try broke a test.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899683 13f79535-47bb-0310-9956-ffa450edef68

2 years agotry to standardise div code
PJ Fanning [Sat, 9 Apr 2022 12:07:31 +0000 (12:07 +0000)]
try to standardise div code

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899681 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[github-321] Fix issue with rounding in DataFormatter. Thanks to Colin Wang. This...
PJ Fanning [Sat, 9 Apr 2022 12:02:55 +0000 (12:02 +0000)]
[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

2 years agoincrease tolerance on rate test due to failures
PJ Fanning [Sat, 9 Apr 2022 11:37:36 +0000 (11:37 +0000)]
increase tolerance on rate test due to failures

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899679 13f79535-47bb-0310-9956-ffa450edef68

2 years agoforbidden api issue
PJ Fanning [Sat, 9 Apr 2022 08:48:58 +0000 (08:48 +0000)]
forbidden api issue

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899676 13f79535-47bb-0310-9956-ffa450edef68

2 years agoBug 65988: Rate function giving incorrect results
Yegor Kozlov [Fri, 8 Apr 2022 15:08:50 +0000 (15:08 +0000)]
Bug 65988: Rate function giving incorrect results

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899668 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[github-321] add test case
PJ Fanning [Fri, 8 Apr 2022 13:08:10 +0000 (13:08 +0000)]
[github-321] add test case

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899667 13f79535-47bb-0310-9956-ffa450edef68

2 years agoupdate apache rat
PJ Fanning [Wed, 6 Apr 2022 13:00:25 +0000 (13:00 +0000)]
update apache rat

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899615 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[github-319] fix javadoc on setColumnHidden. Thanks to CodeMonkeyLab. This closes...
PJ Fanning [Tue, 5 Apr 2022 10:43:54 +0000 (10:43 +0000)]
[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

2 years agoVarious smaller changes
Dominik Stadler [Sun, 3 Apr 2022 13:25:27 +0000 (13:25 +0000)]
Various smaller changes

Improve exception messages
Add more JavaDoc
Provide more information on test-failures

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899534 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSpeed up execution of formulas with whole-column area reference
Dominik Stadler [Sun, 3 Apr 2022 13:25:21 +0000 (13:25 +0000)]
Speed up execution of formulas with whole-column area reference

The previous change via r1894675 did not fully solve this as
it only took place when more than one sheet were used.

There were still some cases where evaluating formulas needed
to iterate across a huge number of non-existant rows, e.g.
TestVLookup, which took more than 1 minute locally.

However doing the lowering of row-numbers always would trigger
test-regressions as some Excel-functionality depends on actions
being possible on rows larger than current "last row" in the sheet.

Thus changed this to a slightly different approach which only adjusts
last-row when it is at or above the workbook-limit of rows

Execution of TestVLookup is now at 1-2 seconds!

Also added a test-case to verify details of the implementation now.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899533 13f79535-47bb-0310-9956-ffa450edef68

2 years agoUse a modified version of NullPrintStream in integration tests
Dominik Stadler [Sun, 3 Apr 2022 13:25:15 +0000 (13:25 +0000)]
Use a modified version of NullPrintStream in integration tests

The default version from Commons-IO does not avoid doing
utf-8 conversion and other work, so it is not well suited for
cases where lots of output happens.

Using an optimized version can bring down runtime of integration-tests
somewhat, especially for large files where XLS2CSV prints out lots of
data

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899532 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[bug-65993] support copying hssf hyperlinks to xssf and respect full cell range
PJ Fanning [Sat, 2 Apr 2022 18:55:56 +0000 (18:55 +0000)]
[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

2 years ago[github-318] handle null raw text. Thanks to wanglunhui2012. This closes #318
PJ Fanning [Sat, 2 Apr 2022 08:20:57 +0000 (08:20 +0000)]
[github-318] handle null raw text. Thanks to wanglunhui2012. This closes #318

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899508 13f79535-47bb-0310-9956-ffa450edef68

2 years agoAlso exclude new files in rat-check of ant-build
Dominik Stadler [Fri, 1 Apr 2022 21:32:03 +0000 (21:32 +0000)]
Also exclude new files in rat-check of ant-build

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899499 13f79535-47bb-0310-9956-ffa450edef68

2 years agoSuppress forbidden-apis failing with MemoryLeakVerifier in JDK 18
Dominik Stadler [Fri, 1 Apr 2022 21:17:22 +0000 (21:17 +0000)]
Suppress forbidden-apis failing with MemoryLeakVerifier in JDK 18

Keep using Runtime.runFinalization() as long as it is available.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899497 13f79535-47bb-0310-9956-ffa450edef68

2 years agoUpdate forbiddenapis to 3.3
Dominik Stadler [Fri, 1 Apr 2022 21:17:07 +0000 (21:17 +0000)]
Update forbiddenapis to 3.3

This also improves support for building with JDK 18

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899496 13f79535-47bb-0310-9956-ffa450edef68

2 years agoapply change that stackoverflow (but that does not fix the broken case)
PJ Fanning [Thu, 31 Mar 2022 20:27:22 +0000 (20:27 +0000)]
apply change that stackoverflow (but that does not fix the broken case)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899456 13f79535-47bb-0310-9956-ffa450edef68

2 years agoreformat file
PJ Fanning [Thu, 31 Mar 2022 20:13:49 +0000 (20:13 +0000)]
reformat file

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899455 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[bug-65988] add test case for rate function (failing)
PJ Fanning [Thu, 31 Mar 2022 20:08:14 +0000 (20:08 +0000)]
[bug-65988] add test case for rate function (failing)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899452 13f79535-47bb-0310-9956-ffa450edef68

2 years agoupgrade graphics2d
PJ Fanning [Thu, 31 Mar 2022 13:52:32 +0000 (13:52 +0000)]
upgrade graphics2d

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899438 13f79535-47bb-0310-9956-ffa450edef68

2 years agoaddHyperlink method on SXSSFSheet
PJ Fanning [Tue, 29 Mar 2022 23:30:26 +0000 (23:30 +0000)]
addHyperlink method on SXSSFSheet

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899367 13f79535-47bb-0310-9956-ffa450edef68

2 years agojavadoc
PJ Fanning [Tue, 29 Mar 2022 12:30:55 +0000 (12:30 +0000)]
javadoc

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899351 13f79535-47bb-0310-9956-ffa450edef68

2 years agodo not fail if xslt transformer does not support accessExternalStylesheet attribute
PJ Fanning [Mon, 28 Mar 2022 20:37:21 +0000 (20:37 +0000)]
do not fail if xslt transformer does not support accessExternalStylesheet attribute

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899326 13f79535-47bb-0310-9956-ffa450edef68

2 years agoupgrade saxon
PJ Fanning [Mon, 28 Mar 2022 14:56:21 +0000 (14:56 +0000)]
upgrade saxon

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899321 13f79535-47bb-0310-9956-ffa450edef68

2 years agoupgrade jmh
PJ Fanning [Mon, 28 Mar 2022 14:55:32 +0000 (14:55 +0000)]
upgrade jmh

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899320 13f79535-47bb-0310-9956-ffa450edef68

2 years agospotbugs issue
PJ Fanning [Mon, 28 Mar 2022 14:05:44 +0000 (14:05 +0000)]
spotbugs issue

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899309 13f79535-47bb-0310-9956-ffa450edef68

2 years agotry upgrading spotbugs again
PJ Fanning [Mon, 28 Mar 2022 13:49:38 +0000 (13:49 +0000)]
try upgrading spotbugs again

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899308 13f79535-47bb-0310-9956-ffa450edef68

2 years agoupgrade forbiddenapis
PJ Fanning [Mon, 28 Mar 2022 13:12:15 +0000 (13:12 +0000)]
upgrade forbiddenapis

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899307 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[github-314] Add equals and hashcode to PaneInformation. Thanks to Daniel Shuy. This...
PJ Fanning [Sun, 27 Mar 2022 09:26:34 +0000 (09:26 +0000)]
[github-314] Add equals and hashcode to PaneInformation. Thanks to Daniel Shuy. This closes #314

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899240 13f79535-47bb-0310-9956-ffa450edef68

2 years agoAvoid intermittent failure of srcDistZip with parallel builds/tests
Dominik Stadler [Thu, 24 Mar 2022 04:42:37 +0000 (04:42 +0000)]
Avoid intermittent failure of srcDistZip with parallel builds/tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899163 13f79535-47bb-0310-9956-ffa450edef68

2 years agoFix issues found when fuzzing Apache POI via Jazzer
Dominik Stadler [Thu, 24 Mar 2022 04:42:34 +0000 (04:42 +0000)]
Fix issues found when fuzzing Apache POI via Jazzer

Do not assert when the next line will throw a proper exception anyway

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899162 13f79535-47bb-0310-9956-ffa450edef68

2 years agoAdd a target to extract all third-party libraries into directory build/runtime
Dominik Stadler [Thu, 24 Mar 2022 04:42:30 +0000 (04:42 +0000)]
Add a target to extract all third-party libraries into directory build/runtime

This is used when testing with latest Apache POI locally, e.g.
when running mass-regression-testing

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899161 13f79535-47bb-0310-9956-ffa450edef68

2 years agopoi-ooxml-lite: Check in list of classes and xsb-files to avoid the jar-to-test depen...
Dominik Stadler [Thu, 24 Mar 2022 04:42:27 +0000 (04:42 +0000)]
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

2 years agoOOXMLLiteAgent: Some smaller adjustments
Dominik Stadler [Thu, 24 Mar 2022 04:42:22 +0000 (04:42 +0000)]
OOXMLLiteAgent: Some smaller adjustments

Print unexpected exceptions to stdout instead of silently ignoring them
Don't include classes created via Mockito

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899159 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[bug-65973] fix for removing hyperlinks that span multiple cells
PJ Fanning [Tue, 22 Mar 2022 18:00:57 +0000 (18:00 +0000)]
[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

2 years ago[bug-65973] partial fix for removing hyperlinks that span multiple cells
PJ Fanning [Tue, 22 Mar 2022 17:55:53 +0000 (17:55 +0000)]
[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

2 years ago[bug-65973] partial fix for removing hyperlinks that span multiple cells
PJ Fanning [Tue, 22 Mar 2022 17:54:37 +0000 (17:54 +0000)]
[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

2 years agoincrease max size of hwmf picture
PJ Fanning [Tue, 22 Mar 2022 14:58:47 +0000 (14:58 +0000)]
increase max size of hwmf picture

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899135 13f79535-47bb-0310-9956-ffa450edef68

2 years agosmall refactor
PJ Fanning [Tue, 22 Mar 2022 14:14:08 +0000 (14:14 +0000)]
small refactor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899134 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[bug-65973] partial fix for removing hyperlinks that span multiple cells
PJ Fanning [Tue, 22 Mar 2022 14:10:02 +0000 (14:10 +0000)]
[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

2 years agospelling
PJ Fanning [Tue, 22 Mar 2022 12:39:46 +0000 (12:39 +0000)]
spelling

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899131 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[bug-65973] partial fix for removing hyperlinks that span multiple cells
PJ Fanning [Tue, 22 Mar 2022 12:02:11 +0000 (12:02 +0000)]
[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

2 years ago[bug-65973] partial fix for removing hyperlinks that span multiple cells
PJ Fanning [Tue, 22 Mar 2022 11:44:31 +0000 (11:44 +0000)]
[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

2 years ago[bug-64536] add another test
PJ Fanning [Sun, 20 Mar 2022 22:06:27 +0000 (22:06 +0000)]
[bug-64536] add another test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899092 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[bug-64536] add getDimension on XSSFSheet
PJ Fanning [Sun, 20 Mar 2022 21:41:31 +0000 (21:41 +0000)]
[bug-64536] add getDimension on XSSFSheet

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899091 13f79535-47bb-0310-9956-ffa450edef68

2 years agouse spaces for indents
PJ Fanning [Sun, 20 Mar 2022 10:26:05 +0000 (10:26 +0000)]
use spaces for indents

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899082 13f79535-47bb-0310-9956-ffa450edef68

2 years agocompile issue
PJ Fanning [Sun, 20 Mar 2022 10:13:39 +0000 (10:13 +0000)]
compile issue

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899081 13f79535-47bb-0310-9956-ffa450edef68

2 years agoAvoid flaky tests with parallel execution
Dominik Stadler [Sun, 20 Mar 2022 08:20:05 +0000 (08:20 +0000)]
Avoid flaky tests with parallel execution

One test stores and deletes files named "-saved.xls", so
we need to prevent other tests from reading those

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899077 13f79535-47bb-0310-9956-ffa450edef68

2 years agoRemove unused imports, remove unnecessary boxing of int-value and apply some other...
Dominik Stadler [Sun, 20 Mar 2022 08:20:00 +0000 (08:20 +0000)]
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

2 years agoImprove error message if formula cannot be parsed
Dominik Stadler [Sun, 20 Mar 2022 06:52:59 +0000 (06:52 +0000)]
Improve error message if formula cannot be parsed

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899075 13f79535-47bb-0310-9956-ffa450edef68

2 years agoAdd reproducer for possible OOM when reading pictures in XWPF
Dominik Stadler [Sun, 20 Mar 2022 06:52:55 +0000 (06:52 +0000)]
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

2 years agoFix issues found when fuzzing Apache POI via Jazzer
Dominik Stadler [Sun, 20 Mar 2022 06:52:51 +0000 (06:52 +0000)]
Fix issues found when fuzzing Apache POI via Jazzer

Throw RecordFormatException instead of NPE or assertion for
cases that can be triggered by a malformed document

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899073 13f79535-47bb-0310-9956-ffa450edef68

2 years agoPrevent one more case of allocating endlessly on invalid TNEF/HMEF/MAPI files
Dominik Stadler [Sun, 20 Mar 2022 06:52:47 +0000 (06:52 +0000)]
Prevent one more case of allocating endlessly on invalid TNEF/HMEF/MAPI files

Limit the number of attributes to 10,000 by default

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899072 13f79535-47bb-0310-9956-ffa450edef68

2 years agoBug 65854: Use revert() instead of close() when OPCPackage is opened read-only
Dominik Stadler [Sun, 20 Mar 2022 06:52:43 +0000 (06:52 +0000)]
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

2 years agoFix issues found when fuzzing Apache POI via Jazzer
Dominik Stadler [Sun, 20 Mar 2022 06:52:38 +0000 (06:52 +0000)]
Fix issues found when fuzzing Apache POI via Jazzer

Replace assertions with actual checks when input-data
can trigger them. We would not handle such
input-data properly otherwise.
Sometimes logging seems a better option if the issue
is not blocking us from parsing the document anyway

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899070 13f79535-47bb-0310-9956-ffa450edef68

2 years agoPOI 5.2.2 release
PJ Fanning [Sat, 19 Mar 2022 23:09:08 +0000 (23:09 +0000)]
POI 5.2.2 release

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899060 13f79535-47bb-0310-9956-ffa450edef68

2 years agojavadoc
PJ Fanning [Tue, 15 Mar 2022 10:06:56 +0000 (10:06 +0000)]
javadoc

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898946 13f79535-47bb-0310-9956-ffa450edef68

2 years agoupdate test
PJ Fanning [Tue, 15 Mar 2022 09:53:26 +0000 (09:53 +0000)]
update test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898945 13f79535-47bb-0310-9956-ffa450edef68

2 years agoadd xssf test (width/height)
PJ Fanning [Tue, 15 Mar 2022 09:40:48 +0000 (09:40 +0000)]
add xssf test (width/height)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898944 13f79535-47bb-0310-9956-ffa450edef68

2 years agoupgrade gradle
PJ Fanning [Mon, 14 Mar 2022 23:17:03 +0000 (23:17 +0000)]
upgrade gradle

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898937 13f79535-47bb-0310-9956-ffa450edef68

2 years agorevert: try to fix java 18 build issue
PJ Fanning [Sun, 13 Mar 2022 18:26:47 +0000 (18:26 +0000)]
revert: try to fix java 18 build issue

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898908 13f79535-47bb-0310-9956-ffa450edef68

2 years agotry to fix java 18 build issue
PJ Fanning [Sun, 13 Mar 2022 18:22:29 +0000 (18:22 +0000)]
try to fix java 18 build issue

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898907 13f79535-47bb-0310-9956-ffa450edef68

2 years agohandle case where toByteArray truncates stream because max len is less than stream len
PJ Fanning [Sat, 12 Mar 2022 13:57:50 +0000 (13:57 +0000)]
handle case where toByteArray truncates stream because max len is less than stream len

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898876 13f79535-47bb-0310-9956-ffa450edef68

2 years agoprep 5.2.2 release
PJ Fanning [Sat, 12 Mar 2022 11:03:00 +0000 (11:03 +0000)]
prep 5.2.2 release

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898874 13f79535-47bb-0310-9956-ffa450edef68

2 years agofix issue in IOUtils.toByteArrayWithMaxLength
PJ Fanning [Sat, 12 Mar 2022 09:31:44 +0000 (09:31 +0000)]
fix issue in IOUtils.toByteArrayWithMaxLength

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898871 13f79535-47bb-0310-9956-ffa450edef68

2 years agofix issue in IOUtils.toByteArrayWithMaxLength
PJ Fanning [Sat, 12 Mar 2022 09:24:21 +0000 (09:24 +0000)]
fix issue in IOUtils.toByteArrayWithMaxLength

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898870 13f79535-47bb-0310-9956-ffa450edef68

2 years agofix issue in IOUtils.toByteArrayWithMaxLength
PJ Fanning [Fri, 11 Mar 2022 23:40:21 +0000 (23:40 +0000)]
fix issue in IOUtils.toByteArrayWithMaxLength

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898864 13f79535-47bb-0310-9956-ffa450edef68

2 years agofix issue in IOUtils.toByteArrayWithMaxLength
PJ Fanning [Fri, 11 Mar 2022 22:37:29 +0000 (22:37 +0000)]
fix issue in IOUtils.toByteArrayWithMaxLength

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898863 13f79535-47bb-0310-9956-ffa450edef68

2 years agofix issue in IOUtils.toByteArrayWithMaxLength
PJ Fanning [Fri, 11 Mar 2022 21:45:02 +0000 (21:45 +0000)]
fix issue in IOUtils.toByteArrayWithMaxLength

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898862 13f79535-47bb-0310-9956-ffa450edef68

2 years agofix issue in IOUtils.toByteArrayWithMaxLength
PJ Fanning [Fri, 11 Mar 2022 21:24:51 +0000 (21:24 +0000)]
fix issue in IOUtils.toByteArrayWithMaxLength

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898861 13f79535-47bb-0310-9956-ffa450edef68

2 years agofix issue in IOUtils.toByteArrayWithMaxLength
PJ Fanning [Fri, 11 Mar 2022 17:03:36 +0000 (17:03 +0000)]
fix issue in IOUtils.toByteArrayWithMaxLength

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898856 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[bug-65946] remove duplicate Category property from extracted properties
PJ Fanning [Wed, 9 Mar 2022 20:56:02 +0000 (20:56 +0000)]
[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

2 years ago[bug-65946] remove duplicate Category property from extracted properties
PJ Fanning [Wed, 9 Mar 2022 20:43:38 +0000 (20:43 +0000)]
[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

2 years ago[bug-65943] support rich text in SXSSFWorkbook (only when shared string table is...
PJ Fanning [Wed, 9 Mar 2022 20:12:37 +0000 (20:12 +0000)]
[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

2 years ago[bug-65943] support rich text in SXSSFWorkbook (only when shared string table is...
PJ Fanning [Wed, 9 Mar 2022 20:06:59 +0000 (20:06 +0000)]
[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

2 years agoupdate mockito
PJ Fanning [Tue, 8 Mar 2022 20:08:21 +0000 (20:08 +0000)]
update mockito

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898743 13f79535-47bb-0310-9956-ffa450edef68

2 years agomissing license
PJ Fanning [Mon, 7 Mar 2022 13:34:53 +0000 (13:34 +0000)]
missing license

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898685 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[bug-65939] add partial fix for clearing formula with circular ref
PJ Fanning [Mon, 7 Mar 2022 13:15:01 +0000 (13:15 +0000)]
[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

2 years ago[bug-65939] add partial fix for clearing formula with circular ref
PJ Fanning [Mon, 7 Mar 2022 13:11:23 +0000 (13:11 +0000)]
[bug-65939] add partial fix for clearing formula with circular ref

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898680 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[bug-65939] add partial fix for clearing formula with circular ref
PJ Fanning [Mon, 7 Mar 2022 12:06:30 +0000 (12:06 +0000)]
[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

2 years ago[bug-65935] add removeTextRun
PJ Fanning [Mon, 7 Mar 2022 11:05:05 +0000 (11:05 +0000)]
[bug-65935] add removeTextRun

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898672 13f79535-47bb-0310-9956-ffa450edef68

2 years agoreformat
PJ Fanning [Mon, 7 Mar 2022 10:38:02 +0000 (10:38 +0000)]
reformat

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898670 13f79535-47bb-0310-9956-ffa450edef68

2 years agoreformat
PJ Fanning [Mon, 7 Mar 2022 10:23:39 +0000 (10:23 +0000)]
reformat

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898669 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[bug-65934] add removeTextParagraph
PJ Fanning [Mon, 7 Mar 2022 10:19:13 +0000 (10:19 +0000)]
[bug-65934] add removeTextParagraph

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898668 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[github-310] use XWPFRun
PJ Fanning [Sun, 6 Mar 2022 20:11:12 +0000 (20:11 +0000)]
[github-310] use XWPFRun

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898659 13f79535-47bb-0310-9956-ffa450edef68

2 years ago[github-310] Allow XWPF sections to have distinct headers and footers. Thanks to...
PJ Fanning [Sun, 6 Mar 2022 13:27:16 +0000 (13:27 +0000)]
[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

2 years ago5.2.0 release
PJ Fanning [Thu, 3 Mar 2022 23:17:12 +0000 (23:17 +0000)]
5.2.0 release

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898571 13f79535-47bb-0310-9956-ffa450edef68

2 years agoplugin seems to be built with java version that does not support java 8
PJ Fanning [Wed, 2 Mar 2022 22:19:21 +0000 (22:19 +0000)]
plugin seems to be built with java version that does not support java 8

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898541 13f79535-47bb-0310-9956-ffa450edef68

2 years agoupgrade guava
PJ Fanning [Tue, 1 Mar 2022 21:43:08 +0000 (21:43 +0000)]
upgrade guava

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898512 13f79535-47bb-0310-9956-ffa450edef68