The pdf file converted by JAVA with docx4j is inconsistent with the word template.

use docx4j to convert word template files into pdf files, and open pdf to find that the contents are different from those of word, and there is a lack of content on serial pages

are there any friends who have the same problem? Please give us some constructive comments, thank you

Apr.27,2021

what I do now is to use docx4j to convert the generated html into a word download for editing. If it is pdf, take a screenshot of canvs directly in the browser through html2canvas and generate pdf with jspdf.

Menu