File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes General Computing and the fly likes File Conversion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "File Conversion" Watch "File Conversion" New topic

File Conversion

Kartheepan Rajendran

Joined: Jul 21, 2012
Posts: 1

convert doc/docx/pdf file to html file any body have solution
Peter Johnson

Joined: May 14, 2008
Posts: 5852

For some really ugly HTML, open the doc/docx file with Word and save as HTML.

There are a million other solutions for someone willing to do an internet search...

JBoss In Action
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

There is no way to do those file conversions, since HTML does not have nearly as many features as MS Word and PDF do. Not to mention that those two formats are page-oriented whereas HTML is not.

However (as Peter Johnson suggests) if you are willing to relax your standards, there are ways to do a bad conversion.
I agree. Here's the link:
subject: File Conversion
It's not a secret anymore!