How can I convert a Word document to PDF?

前端 未结 11 691
深忆病人
深忆病人 2020-11-28 20:39

How can I convert a Word document to PDF where the document contains various things, such as tables. When trying to use iText, the original document looks different to the c

11条回答
  •  北海茫月
    2020-11-28 21:05

    I agree with posters listing OpenOffice as a high-fidelity import/export facility of word / pdf docs with a Java API and it also works across platforms. OpenOffice import/export filters are pretty powerful and preserve most formatting during conversion to various formats including PDF. Docmosis and JODReports value-add to make life easier than learning the OpenOffice API directly which can be challenging because of the style of the UNO api and the crash-related bugs.

提交回复
热议问题