can any one tell me logic or techniques to convert pdf to word using php.

i need to convert pdf into word document which shoud be embed in web page.

can you suggest me how i can implement that using php

example site
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

Karl Heinz KremerCommented:
You cannot do that with PHP. There are a few applictions available that attempt to do that conversion (e.g. from ABBYY and Nuance). You would have to parse a PDF file and then convert it's parts to objects that can be used in a Word file and then re-create the layout. For anything that is an image, you would have to run OCR to find out if you can extract text, determine the font and font size and recreate that text object. Then you have to decide if you can get rid of the image, or if there is more information in the image than what you just extracted as text... All in all, this is not a trivial task, and PHP is not an environment you want to implement that.
psarun85Author Commented:
if it is not possible in php, then can you tell me that in java or

is it possible by any technologies
Karl Heinz KremerCommented:
Any language will cause you problems, because it's not a trivial task by any means. Do you know and understand the PDF format completely (_ALL_ about 1000 pages of the PDF spec)? Do you also have a solid understanding of the Word format? If you cannot answer both questions with a YES!!!, this is not a task you can or should undertake. If you really need to convert from PDF to Word use a 3rd party toolkit that does the conversion for you, and just add the user interface. One option is - I don't have any first hand experience with that package, but I've used other PDF products from BCL.

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