PJ Fanning
15bdee4456
build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907761 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
c67d140d77
safety check on throwable catch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907660 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
d07d8e42b9
revert use of ExceptionUtil on caught exceptions (not useful)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907654 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
3a70d5e002
fix up use of ExceptionUtil in main poi module
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907651 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
adcf7bf533
add util code to rethrow fatal exceptions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907645 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
326126a365
provide way to clear the state on the ThreadLocal used byby ExtractorFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907581 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
dc91cdbaaa
remove recently added volatile markers due to Sonarcloud warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907578 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
c2d2ec0eaf
DataFormatter - typo in javadoc and possible NPE
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907543 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
Dominik Stadler
25d67aa6ec
Do not fail if an empty password is provided
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907446 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
Dominik Stadler
1ca2e638ed
Bug 66436: Fix invalid handling of padded encrypted bytes
The encrypted data is padded to 16 bytes, but these additional bytes
were not read from the stream
Make the reading of the additional bytes "lenient" to not introduce
breaking change if some existing functionality did produce non-aligned
data for some reason.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907444 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
43551babf1
[bug-65260] partial revert of recent changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907443 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
040181c42f
[bug-65260] catch Throwable instead of error - see https://github.com/apache/poi/pull/425
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907308 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
34f6955a28
mark some variables that are used in synchronized code as volatile
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907114 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
Dominik Stadler
6f606cabda
Spotbugs: Replace \n with %n in String.format()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907110 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
Dominik Stadler
bcd3785d7d
Use an error-handler to use logging also for XML parsing errors
Otherwise this output is done to stdout/stderr which we would like to avoid.
Keep the format as one line and do not include a full exception stacktrace
to not introduce lots of exception-stacktraces for some slightly broken input files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907108 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
Dominik Stadler
edc7f8fd6f
Bug 54373: Include alpha/transparency value when creating an XSSFColor from an AWT Color object
Use the alpha-value from Color as well
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907106 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
60872927bd
[bug-66433] Boolean functions should blank cells. Thanks to Patrick Böker
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906836 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
5c964e4194
[bug-66413] try to fix HSSF code where you can set fill colors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906451 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
968dabd462
[bug-65543] HSSF: fix issue with incomplete SSTs. Thanks to Simon Carter.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906434 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
Dominik Stadler
1ff1e84e4a
Avoid some NullPointerException and ClassCastExceptions found when fuzzing Apache POI
This mostly only makes thrown runtime-exceptions a bit more consistent and
improves information in exceptions.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906360 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
Dominik Stadler
5724a77cf2
Avoid some NullPointerExceptions and ClassCastExceptions found when fuzzing Apache POI
This mostly only makes thrown exceptions a bit more consistent
or may allow some broken documents to be still read.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906322 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
Dominik Stadler
83bb4b4da5
Rename method for color from "RBG" to "RGB"
It's a protected method that is not intended to be used
outside anyway.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906276 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
537dc7a933
[github-409] Textruns not honouring highlight. Thans to gffloodg. This closes #409
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906250 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
37994bf3e2
[github-409] Textruns not honouring highlight. Thans to gffloodg. This closes #409
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906248 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
1def0cba38
[bug-66397] update temp file code. Thanks to lsq27.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906238 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
Dominik Stadler
7ba2f0fffa
Bug 66401: Handle escaped single-quote in formulas properly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906217 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
7e2f2bbbfb
revert accidental change to multiply/divide
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906013 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
2a34e5a31e
upgrade mockito and byte-buddy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906012 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
693c59574c
[bug-66319] do not create HSSF patriarch to find comments (only use one that pre-exists)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905943 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
e9aa298e1e
[github-405] more performant codepoint util code. Thanks to StanBertrand. This closes #405
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905932 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
6d0dbe6f95
[bug-66181] support VALUE function where input is a blank cell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905308 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
46ae0a8c60
[bug-66337] do not warn about missing SummaryInformation when creating new HSSFWorkbooks. Thanks to Nicolas Herzog.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905045 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
52968d92da
update javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905029 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
ba1e8de446
[bug-66312] partial fix for insertNewParagraph(XmlCursor cursor)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904563 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
acd5d04daa
[bug-66278] Bug with multiple gradient stops at the exact same location causing a rendering failure (AWT -> not enough colors in gradient). Thanks to Gareth Floodgate. This closes #385
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904301 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
06e2213ac1
lgtm issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904092 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
6e7f6dad21
try to use IllegalStateException instead of RuntimeException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904065 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
59b16f025b
try to use IllegalStateException instead of RuntimeException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904050 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
34601b5377
some lgtm issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904048 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
e485bf0b65
add CellUtil test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903837 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
ff2e90e9a5
rework CellUtil test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903836 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
dc12e93abb
CellUtil: allow fill colors to be set to null
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903828 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
fe8c8eca89
bug-66052 fix broken test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903816 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
ecfb35e0d9
try to fix tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903783 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
a1cb1812dd
broken test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903781 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
d00be6e7db
[TIKA-3388] issue with non-ascii chars in file name of embedded OLE object
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903780 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
aa8c73ea4a
sonar issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903688 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
deffaacd0f
sonar issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903686 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
b8cd360300
some int narrowing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903551 13f79535-47bb-0310-9956-ffa450edef68
1 year ago
PJ Fanning
fafadd5037
[bug-66230] don't fail to create SXSSFSheet if auto size tracker can't be initialized
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903530 13f79535-47bb-0310-9956-ffa450edef68
1 year ago