Recently, my company received a business request.
We need to use the MS Word .docx templates that they(customers) had send to us, add
some placeholders in templates to generate a dynamic PDF document.
Googling for a long time, I decided to use Docx4J. But there is a problem I can't deal with it very well:
There is a photo which floating above on the text in the template.
After converting to PDF, I found the pic's layout is missing.
Because of the PDF document is a e-contract and the image is a seal must float above on the text.
In the attachment, there is two demo files.
Thank you very much for your help!