Edit word 2007 file and convert to PDF


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.

LVL 13
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

athapaCEO / 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.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
crazymanAuthor Commented:
Nice one, expensive component but very good.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.