Convert Word Document to PDF using Java

I want to convert an ms word document to a PDF file using POI.jar (read MS word Content) and Itext.jar (create a PDF file).

For plain text in MS word, I can convert to PDF. But I have some images on ms word. I want to put these images in PDF.

Can someone please help me?

+5
source share
2 answers

You are lucky that I just stumbled upon a JODConverter , it uses openoffice to hide through java and its very easy to use.

+1
source

, - " " , Word HTML HTML-to-PDF PDF Java. wkhtmltopdf.

0

All Articles