Page 1 of 1

Docx4j 11.1.8 released for Java 11

PostPosted: Wed Jun 10, 2020 6:49 pm
by jason
docx4j 11.1.8 - for use with Java 11 or later - is now available in Maven Central.

11.1.8 is a JPMS modularised release, so the jars contain module-info.class entries.

11.1.8 is compiled with Java 14, targeting Java 11. If you are not using Java 11 or later, you should stick with docx4j 8.x.

Compared to 11.1.7, this release contains just a single enhancement/fix: in OpenDoPE image injection, the content control tag now supports a width=n|auto parameter to specify max width (eg 10500) or to let docx4j work out the scaling. Previously, the image would be scaled to match what you had in the template

docx4j 11.1.8 source code can be found at tag https://github.com/plutext/docx4j/tree/ ... ent-11.1.8 or branch https://github.com/plutext/docx4j/tree/VERSION_11_1_8

To use docx4j 11.1.8 via Maven, just add either docx4j-JAXB-MOXy
or docx4j-JAXB-ReferenceImpl 11.1.8 to your pom. https://search.maven.org/search?q=g:org.docx4j

For other downloads, see https://www.docx4java.org/downloads.html

For JPMS modularisation notes, please see the earlier 11.1.0 announcement at announces/docx4j-11-1-0-released-for-java-11-t2817.html