Page 1 of 1

images layout missing

PostPosted: Wed Apr 15, 2015 5:01 pm
by maverick
Hi,

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!

Best regards,
Kemi Vong

Re: images layout missing

PostPosted: Fri Apr 17, 2015 6:50 pm
by jason
Hi, there are limitations to float support in docx4j's XSL FO based PDF output. You'd be able to improve that to some extent if you so motivated...

Otherwise, you'll have better luck with Plutext's new commercial PDF Converter. You can try that online at http://webapp.docx4java.org/OnlineDemo/docx_to_pdf.html

See further http://www.plutext.com/m/index.php/prod ... o-pdf.html