From the release notes, at
announces/docx4j-3-3-0-released-t2381.htmlNotable Changes - PDFdefault PDF converter changed from XSL FO + Apache FOP to Plutext's commercial PDF Converter. XSL FO based PDF output moved to new/separate project docx4j-export-fo; We made this change after careful consideration, since the quality/performance is so much better, and it removes various dependencies from docx4j itself. If you want to stick with the existing XSL FO + Apache FOP PDF Conversion, no probs:- see below for how.
The instance of PDF Converter at converter-eval.plutext.com is used by default, but you can (and should!) install it locally; installers are available at
http://converter-eval.plutext.com/To use your own instance, set docx4j property, eg:
- Code: Select all
com.plutext.converter.URL=http://converter-eval.plutext.com:80/v1/00000000-0000-0000-0000-000000000000/convert
If you want to use the existing XSL FO + Apache FOP PDF Conversion, just add docx4j-export-fo (+ deps) to your classpath. If these are present, docx4j will revert to the FO based conversion. These jars are in the zip file, in dir optional/export-fo and also in Maven Central.