959 Commits

Author SHA1 Message Date
PJ Fanning
b50ce609ca
check xwpf node depth (#869)
* check xwpf node depth

* Update TestAllFiles.java

* Update TestAllFiles.java
2025-08-01 20:28:05 +01:00
PJ Fanning
8d71c1f2ff add poifs test 2025-07-30 18:54:05 +01:00
PJ Fanning
e18b5576f0 call next release 5.5.0 2025-07-25 15:31:25 +01:00
PJ Fanning
8fc2f7db41 Update PropertyTable.java 2025-07-23 17:55:40 +01:00
PJ Fanning
c76be2df41 depth check in property table 2025-07-23 17:48:52 +01:00
PJ Fanning
45a3e16e7e
add IOUtils.newFile(parent, path) (#855)
* add IOUtils.newFile(parent, path)

* Update IOUtils.java

* Update IOUtils.java
2025-07-23 12:43:18 +01:00
PJ Fanning
fa9428511a
try to cache xerces security manager (#841) 2025-07-11 15:40:14 +01:00
PJ Fanning
2f66c63387 git repo 2025-07-07 23:07:39 +01:00
PJ Fanning
c784266438 [bug-69681] allow 1 optional space in date formats before the AM/PM part
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926508 13f79535-47bb-0310-9956-ffa450edef68
2025-06-17 17:18:12 +00:00
PJ Fanning
779358f309 [bug-69714] refactor thread-local
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926472 13f79535-47bb-0310-9956-ffa450edef68
2025-06-16 12:41:33 +00:00
PJ Fanning
f51cff5e76 [bug-69714] add TempFile.withStrategy. Thanks to Attila Kelemen. This closes #825
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926471 13f79535-47bb-0310-9956-ffa450edef68
2025-06-16 12:16:28 +00:00
PJ Fanning
2ceb5f9020 [bug-69714] refactor thread-local
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926469 13f79535-47bb-0310-9956-ffa450edef68
2025-06-16 12:05:42 +00:00
PJ Fanning
4080ab8f3f [bug-69714] refactor test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926467 13f79535-47bb-0310-9956-ffa450edef68
2025-06-16 11:14:55 +00:00
PJ Fanning
6605569862 [bug-69714] add thread local support for overriding TempFile strategy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926466 13f79535-47bb-0310-9956-ffa450edef68
2025-06-16 11:01:40 +00:00
PJ Fanning
9c08d29fcb [bug-69714] add thread local support for overriding TempFile strategy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926465 13f79535-47bb-0310-9956-ffa450edef68
2025-06-16 10:54:41 +00:00
PJ Fanning
adc6d13f3a typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926447 13f79535-47bb-0310-9956-ffa450edef68
2025-06-15 14:48:37 +00:00
PJ Fanning
d8b3934646 [bug-69715] update tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926446 13f79535-47bb-0310-9956-ffa450edef68
2025-06-15 14:22:41 +00:00
PJ Fanning
47f2d72d35 add new line
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926445 13f79535-47bb-0310-9956-ffa450edef68
2025-06-15 14:15:22 +00:00
PJ Fanning
e5ac02f7d0 [bug-69715] in DefaultTempFileCreationStrategy, allow initDir to not yet exist
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926444 13f79535-47bb-0310-9956-ffa450edef68
2025-06-15 14:14:07 +00:00
PJ Fanning
c5df00b0a7 [bug-69715] add tests removing an old invalid one
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926424 13f79535-47bb-0310-9956-ffa450edef68
2025-06-14 21:18:13 +00:00
PJ Fanning
c5ca5ae065 [bug-69715] in DefaultTempFileCreationStrategy, check that dir exists
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926422 13f79535-47bb-0310-9956-ffa450edef68
2025-06-14 21:02:34 +00:00
PJ Fanning
c8fc8a36a9 reorder map
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925974 13f79535-47bb-0310-9956-ffa450edef68
2025-05-30 09:34:42 +00:00
PJ Fanning
de1c2b67d7 add checks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925939 13f79535-47bb-0310-9956-ffa450edef68
2025-05-29 16:07:27 +00:00
PJ Fanning
9a4a4270ec add missing types to CellUtil.namePropertyMap
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925936 13f79535-47bb-0310-9956-ffa450edef68
2025-05-29 15:53:22 +00:00
PJ Fanning
b461e98edb code refactor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925650 13f79535-47bb-0310-9956-ffa450edef68
2025-05-17 17:00:58 +00:00
PJ Fanning
f298390ec3 code refactor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925649 13f79535-47bb-0310-9956-ffa450edef68
2025-05-17 16:46:23 +00:00
PJ Fanning
426371301f code refactor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925648 13f79535-47bb-0310-9956-ffa450edef68
2025-05-17 16:35:42 +00:00
PJ Fanning
5c6b59aea4 code refactor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925647 13f79535-47bb-0310-9956-ffa450edef68
2025-05-17 16:02:13 +00:00
PJ Fanning
b76bbc866e code refactor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925646 13f79535-47bb-0310-9956-ffa450edef68
2025-05-17 15:57:29 +00:00
PJ Fanning
9df7326140 [bug-69688] add test case based on one provided by Dan S
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925538 13f79535-47bb-0310-9956-ffa450edef68
2025-05-13 17:56:07 +00:00
PJ Fanning
7363d0483a deprecation warning
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925537 13f79535-47bb-0310-9956-ffa450edef68
2025-05-13 17:44:38 +00:00
PJ Fanning
de0d120d69 [bug-69688] only try to get formula if the cell is of formula type
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925536 13f79535-47bb-0310-9956-ffa450edef68
2025-05-13 17:35:25 +00:00
PJ Fanning
cbf6577172 try best effort clone of styles if types don't match
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925525 13f79535-47bb-0310-9956-ffa450edef68
2025-05-12 22:54:46 +00:00
PJ Fanning
2f55495ba9 try best effort clone of styles if types don't match
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925524 13f79535-47bb-0310-9956-ffa450edef68
2025-05-12 22:27:42 +00:00
PJ Fanning
3ee613c336 javadoc build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925501 13f79535-47bb-0310-9956-ffa450edef68
2025-05-11 13:31:00 +00:00
PJ Fanning
7981ea397f deprecate old constructor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925494 13f79535-47bb-0310-9956-ffa450edef68
2025-05-11 09:49:57 +00:00
PJ Fanning
6a68902aee typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925492 13f79535-47bb-0310-9956-ffa450edef68
2025-05-11 08:03:59 +00:00
PJ Fanning
8bac1b33f6 [github-806] HSSFColor: Reduce use of java.awt.Color. Thanks to Jaroslav Tulach. This closes #806
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925491 13f79535-47bb-0310-9956-ffa450edef68
2025-05-11 07:37:23 +00:00
PJ Fanning
9f43059a37 [github-803] Add support for SHEET function. Thanks to Richard V. This closes #803
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925484 13f79535-47bb-0310-9956-ffa450edef68
2025-05-10 09:23:11 +00:00
PJ Fanning
9fafa45bac allow ATP function override
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925445 13f79535-47bb-0310-9956-ffa450edef68
2025-05-06 21:20:46 +00:00
PJ Fanning
1d510c7fc3 allow ATP function override
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925444 13f79535-47bb-0310-9956-ffa450edef68
2025-05-06 21:19:43 +00:00
PJ Fanning
a7231a3764 allow ATP function override
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925443 13f79535-47bb-0310-9956-ffa450edef68
2025-05-06 20:49:57 +00:00
PJ Fanning
cdcc14d6e3 allow ATP function override
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925442 13f79535-47bb-0310-9956-ffa450edef68
2025-05-06 20:29:55 +00:00
PJ Fanning
e867e371be typos (an)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925440 13f79535-47bb-0310-9956-ffa450edef68
2025-05-06 20:12:35 +00:00
Dominik Stadler
7aa4ae3bc1 Bug 69667: Test more variants of valid and invalid usernames
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925429 13f79535-47bb-0310-9956-ffa450edef68
2025-05-06 06:04:44 +00:00
PJ Fanning
c37b4ee0d5 add test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925420 13f79535-47bb-0310-9956-ffa450edef68
2025-05-05 18:43:08 +00:00
Dominik Stadler
9e30ffc0de Bug 69667: Handle slightly broken WriteAccessRecord gracefully
It seems some software creates records with invalid length.

If it uses UTF-16LE encoding, we can end up with 109 bytes, 
which is invalid as UTF-16LE always requires an even number of 
bytes.

Therefor we now sanitize the number of bytes we read from the 
record to avoid this issue.

Also improve error message and add tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925419 13f79535-47bb-0310-9956-ffa450edef68
2025-05-05 17:23:59 +00:00
PJ Fanning
22192ce2cc add SHEET function to list of allowed functions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925374 13f79535-47bb-0310-9956-ffa450edef68
2025-05-02 23:26:16 +00:00
PJ Fanning
e458192cf2 upgrade plugins
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925353 13f79535-47bb-0310-9956-ffa450edef68
2025-05-01 13:16:14 +00:00
PJ Fanning
fe0a4f1166 [bug-69658] use EnumMap elsewhere
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925251 13f79535-47bb-0310-9956-ffa450edef68
2025-04-24 11:25:00 +00:00