iTextSharp - Convert word doc/docx to pdf

后端 未结 6 1273
[愿得一人]
[愿得一人] 2020-12-01 08:05

I understand iTextSharp can be used for converting a document to pdf.

But first we have to create a document from scratch using iTextSharp.text.Document and then add

6条回答
  •  粉色の甜心
    2020-12-01 09:03

    I do have the same issue.
    After several days of trying to find a solution, it seems Docx4J , a Java-based tool, or PDF printers like PDFCreator, could be among the free solution.
    For sure, just a commercial tool can effectively do the task requested.
    On the Microsoft side, you could use server-side enabled Sharepoint Word Automation Services, ( check on 7 June 2016 ), or interop in your local computer.
    The suggested part-to-part conversion ( DOC or DOC to some intermediate language and then to PDF ) it seems for, what users had said on stackoverflow or others forums, not possible, because result is not what expected.

提交回复
热议问题