To get this release, please see https://www.docx4java.org/downloads.html
It targets Java 11, and is compatible with Java 11, 17, 21, and we expect Java 25.
It is labeled 17.1.0 because:
- Substantial improvements to PDF via XSL FO, including default behaviour changes
- New public surfaces:
two new exported packages (org.docx4j.org.apache.poi.hwmf and .hemf), MetafileRenderer, the parts' toSVG/toPNG API,
Docx4J.updateToc and FLAG_EXPORT_UPDATE_TOC - Dependency changes: wmf2svg is gone from docx4j-core; batik-svggen and batik-gvt are added to docx4j-export-fo; the module descriptors changed accordingly.
Further substantial improvements to PDF via XSL FO - far too many to itemise here, but includes tab support and better handling of text boxes etc etc. Each rule, with the Word measurement behind it, is in docx4j-export-fo/docs/word-layout-rules.md; the document settings it depends on are in docx4j-export-fo/docs/word-layout-settings.md. Every rule which changes the default output has an opt-out property, documented in docx4j-samples-resources/src/main/resources/docx4j.properties and in word-layout-rules.md section 1.5.
Some fixes in other parts of docx4j to achieve this.
WMF, EMF and EMF+ pictures are now drawn in PDF and HTML output
- Apache POI 5.5.1's HWMF/HEMF (WMF/EMF/EMF+ parsing and Graphics2D rendering) repackaged into org.docx4j.org.apache.poi.{hwmf,hemf}, and wired into the PDF and HTML output (CR-011 phases 1 and 2) so WMF, EMF and EMF+ pictures are now drawn
- docx4j wmf2svg dependency is dropped
Please see further https://github.com/plutext/docx4j/blob/ ... ANGELOG.md

