How can I convert a Word document to PDF?

前端 未结 11 722
深忆病人
深忆病人 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:01

    Check out docs-to-pdf-converter on github. Its a lightweight solution designed specifically for converting documents to pdf.

    Why?

    I wanted a simple program that can convert Microsoft Office documents to PDF but without dependencies like LibreOffice or expensive proprietary solutions. Seeing as how code and libraries to convert each individual format is scattered around the web, I decided to combine all those solutions into one single program. Along the way, I decided to add ODT support as well since I encountered the code too.

提交回复
热议问题