I'm pretty new to Word documents and PDF. More especially I just started experimenting with docx4j. I tried converting a docx into pdf (no manipulation in between) using the ConvertOutPDF-example.
On runtime I get the error
- Code: Select all
org.docx4j.openpackaging.exceptions.Docx4JException: Exception exporting package; FOP https://issues.apache.org/bugzilla/show_bug.cgi?id=54094 .. try PP_APACHEFOP_DISABLE_PAGEBREAK_LIST_ITEM
... but where to set this property?
I tried creating a HashSet "features" and called
- Code: Select all
wordMLPackage = Preprocess.process(wordMLPackage, features);
but nothing changed. I have no clue where to try ...