Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert DOCX to PDF programmatically without Word installed? [closed]

Tags:

c#

asp.net

pdf

docx

I have a web application and I need to convert DOCX files to PDF to generate some reports wtiten in Word 2007. First I used automation and I faced a DCOM problem and finally I discovered that Microsoft doesn't support automation of Word on the server side. Now I'm searching for other free tools as opposed to Word and etc isn't free, iTextSharp doesn't convert DOCX to PDF.

If any one knows of a free tool or .NET classes to make this conversation, please let me know.

like image 882
Khalid Omar Avatar asked Jan 15 '11 17:01

Khalid Omar


People also ask

How do I convert a DOCX file to PDF without word?

Drag and drop docx file if you have previously downloaded to your computer or mobile. If the docx file you want to open is stored in the cloud, click on Dropbox or Google Drive option, and import docx file from there. The docx file will automatically start to convert to PDF, as soon as you import it.

Can we convert PDF to Word offline?

You can convert PDF to Word offline on Android with WPS Office. WPS Office is a free office suite that enables you to edit and convert PDF, Word, Excel and other documents.


1 Answers

In the absence of a pure .NET solution, you could use docx4j and its dependencies as DLLs via IKVM.

like image 150
JasonPlutext Avatar answered Oct 08 '22 15:10

JasonPlutext