Edit word 2007 file and convert to PDF

Hi

I need a way to progamatically take an uploaded word 2007 file in docx format, replace some key words with content such as tables, images etc.. then save the file and convert to PDF.

We have tried many libraries that do some of the required things but nothing that can do what we need, we also require that nothing is installed on the server (IE : No word or openoffice).

I have found an opensource lib (openoffice) thats in alpha, but nothing that can then convert the docx to pdf without having word installed...

We have also looked at saving the word file as mht then unpacking it and inserting html then using ABCPdf component to convert html to PDF, but we get all sorts of problems with that component when images are inserted...

Any suggestions would be appreciated.

Thanks
LVL 13
crazymanAsked:
Who is Participating?
 
athapaConnect With a Mentor CEO / CTOCommented:
Try Aspose.Words. It is faster than com components and it lets you edit and save documents to rtf, pdf, etc.

I've not used this component to convert docx to convert to pdf but to create new documents and edit them.

http://www.aspose.com/Products/Aspose.Words/Default.aspx
0
 
crazymanAuthor Commented:
Nice one, expensive component but very good.
0
All Courses

From novice to tech pro — start learning today.