Changes:
- Jakarta XML Binding 4.0 implementation (compare 11.4.x, which used the 3.0 API). Both JAXB implementations (reference/glassfish, and MOXy) are providers of jakarta.xml.bind.JAXBContextFactory, so each can be automagically discovered and loaded using service-provider loading facilities as described in the spec. The dep change from 3.0 to 4.0 API does not change docx4j at all, but makes integration easier with other jars which expect the 4.0 API (for example, Spring Boot 3.3.0).
- Bump certain deps
- New property docx4j...ObfuscatedFontPart.deleteFileOnFinalize which can be set to false to prevent temporary font files from being deleted in finalize
The logic behind the version number is as follows:
- its docx4j 11 since it targets Java 11; If you are not using Java 11 or later, you should stick with docx4j 8.3.x (compiled for Java 8).
- it is docx4j 11.5, not 11.4, since this release uses Jakarta XML Binding 4.0
For instructions on getting docx4j 11.5.0, see https://www.docx4java.org/downloads.html
For ImportXHTML:
Using xml Syntax Highlighting
<dependency>
<groupId>org.docx4j</groupId>
<artifactId>docx4j-ImportXHTML-core</artifactId>
<version>11.5.0</version>
</dependency>
<groupId>org.docx4j</groupId>
<artifactId>docx4j-ImportXHTML-core</artifactId>
<version>11.5.0</version>
</dependency>
Parsed in 0.001 seconds, using GeSHi 1.0.8.4
or the zip file from https://www.docx4java.org/downloads.html