13517 Commits

Author SHA1 Message Date
dependabot[bot]
28cd548f6b
Bump net.bytebuddy:byte-buddy from 1.17.5 to 1.17.7 (#884)
Bumps [net.bytebuddy:byte-buddy](https://github.com/raphw/byte-buddy) from 1.17.5 to 1.17.7.
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.17.5...byte-buddy-1.17.7)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-version: 1.17.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-09 22:38:34 +01:00
PJ Fanning
d0e6830e44
issue when formatting number when divisor is needed (#895)
* reproduce issue 69812

* workaround for issue
2025-09-09 22:27:48 +01:00
PJ Fanning
559485a0fe throw OfficeXmlFileException if hwpf reads an ooxml file 2025-09-05 11:04:29 +01:00
PJ Fanning
2fbfe2ea7e Create TestHSLFParser.java 2025-09-05 10:45:07 +01:00
PJ Fanning
aeb53ffe62 Create TestHSSFParser.java 2025-08-28 16:38:58 +01:00
PJ Fanning
b0a4e1042a Update TestXSSFParser.java 2025-08-28 15:41:20 +01:00
PJ Fanning
00c2a85c30 Update HeaderFooterComplexFormats.xlsx 2025-08-28 15:14:57 +01:00
PJ Fanning
6647bc8c8b Update TestXSSFParser.java 2025-08-28 14:43:15 +01:00
PJ Fanning
4493f3a5d6 Update TestXSSFParser.java 2025-08-28 14:13:16 +01:00
PJ Fanning
dda424920a Update TestXSSFParser.java 2025-08-28 13:50:21 +01:00
PJ Fanning
c5f3ab9d50 Update TestXSSFParser.java 2025-08-28 13:48:05 +01:00
PJ Fanning
7a80eb6920 Update TestXSSFParser.java 2025-08-28 13:23:53 +01:00
PJ Fanning
172e73a10b Update TestXSSFParser.java 2025-08-28 13:15:10 +01:00
PJ Fanning
9f9ff14e56 add test 2025-08-28 13:00:54 +01:00
PJ Fanning
c38f5f9577
Reorder import statements in TestHSSFColor 2025-08-27 15:47:49 +01:00
dependabot[bot]
732001c4ae
Bump actions/setup-java from 4 to 5 (#886)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4 to 5.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-21 18:41:41 +01:00
PJ Fanning
061d6a3d0f more parsers 2025-08-20 18:34:48 +01:00
PJ Fanning
54f1f5deac
add new XSSFParser (#870)
* add new XSSFParser

* Update build.gradle

* extra parse methods
2025-08-20 13:13:23 +01:00
PJ Fanning
ac53afe307 Update XSSFPictureData.java 2025-08-15 10:44:54 +01:00
PJ Fanning
bdb467e84e Update TestXSSFWorkbook.java 2025-08-14 12:44:21 +01:00
PJ Fanning
65747422b3 Update TestXSSFWorkbook.java 2025-08-14 12:10:49 +01:00
PJ Fanning
c0e6a9bed0
close package parts when closing OPCPackage (#880)
* close package parts when closing OPCPackage

* Update ZipPackagePart.java
2025-08-14 10:58:46 +01:00
PJ Fanning
e98a5991e7 Update TestXSSFWorkbook.java 2025-08-14 10:56:27 +01:00
PJ Fanning
314bda66a4 Update TestXSSFWorkbook.java 2025-08-14 09:44:08 +01:00
dependabot[bot]
3b011a0164
Bump actions/checkout from 4 to 5 (#878)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 12:07:06 +01:00
Dominik Stadler
085c9ddb19 Try to fix some JavaDoc references 2025-08-10 17:00:11 +02:00
Dominik Stadler
92565ea07c Adjust test with deeply nested file for JDK 25
It seems JDK 25 introduces more checks when parsing XML
Also apply some IDE suggestions and fix deprecation warnings
2025-08-10 17:00:11 +02:00
Dominik Stadler
009b6501f2 Fix a Gradle warning 2025-08-10 17:00:11 +02:00
PJ Fanning
86e80a9164
change xml options (#875) 2025-08-06 18:29:04 +01:00
PJ Fanning
9d37011683
workaround stray whitespace in sst index (#874)
* tolerate whitespace in ints

* try to workaround stray whitespace in sst index

* Update TestAllFiles.java
2025-08-05 12:00:54 +01:00
Patrik Lindström
d81592022d
feat: Full color support in CellFormat expressions (#797)
* feat: Full color support in cellformat expressions

This change adds full support for named and indexed color in cell format expressions by adding in the standard color palette to CellFormatPart, from where the formatting information is free to propagate down the stack.

For strict format compatibility, only the 8 basic named colors and 56 indexed colors should be allowed, but this change retains the assumed intended feature of the original code to also support the full set of colors specified in HSSFColor.HSSFColorPredefined. If this is undesirable, the dependency on HSSFColor should be dropped entirely.

This change is required in order to properly support named and indexed colors as part of cell format expressions in products using POI.

* Add some sanity tests

* Rename testNamedColorsExist to testNamedColors

* fix rebase corruption in CellFormatPart

* fix indentation in TestCellFormat

..by converting tabs to four spaces

* fix: replace .length() == 0 with .isEmpty for color name string

* fix Javadoc name parameter in CellFormatPart.getColor()

* chore: Tidy up CellFormatPart
2025-08-04 16:19:45 +01:00
PJ Fanning
bf4ee6a3b9 another windows test issue 2025-08-03 14:54:34 +01:00
PJ Fanning
e97f1036f0 Update ClassID.java 2025-08-03 14:48:37 +01:00
PJ Fanning
8df560eed2 don't return inner bytes 2025-08-03 14:47:10 +01:00
PJ Fanning
75e9383a5c try test fix again 2025-08-03 14:13:12 +01:00
PJ Fanning
ae232b73d7 windows test issue 2025-08-03 13:54:52 +01:00
PJ Fanning
224201e1a2
check node depth (xslf) (#872) 2025-08-03 01:13:59 +01:00
PJ Fanning
e070250352 Update XSSFReader.java 2025-08-01 21:33:59 +01:00
PJ Fanning
4a9c9271fe
check node depth (#871) 2025-08-01 21:20:17 +01:00
PJ Fanning
3240852e49 Update POIException.java 2025-08-01 20:33:44 +01:00
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
fa573c72da add xwpf test 2025-07-30 21:40:21 +01:00
PJ Fanning
a3cca6c017 Update changes.xml 2025-07-30 18:59:18 +01:00
PJ Fanning
8d71c1f2ff add poifs test 2025-07-30 18:54:05 +01:00
PJ Fanning
5c9bb13cd7 Update build.xml 2025-07-30 08:13:49 +01:00
PJ Fanning
99fdda0dc0 commons-compress dependency to 1.28.0 2025-07-30 08:10:54 +01:00
buaazyl
9ebec77aca
Bump commons-compress from 1.27.1 to 1.28.0 (#868)
https://github.com/apache/poi/issues/867
There is a security vulnerability in commons-lang3, with the vulnerability number CVE-2025-48924.
2025-07-30 08:07:10 +01:00
PJ Fanning
bcc7912c8d add message to NPE 2025-07-26 10:25:03 +01:00
PJ Fanning
e18b5576f0 call next release 5.5.0 2025-07-25 15:31:25 +01:00
PJ Fanning
f73913cd84
deprecate old picture type method (#865)
* deprecate old picture type method

* more changes
2025-07-25 15:28:51 +01:00