This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 5811

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: 18541

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.
Don't get me started about those stupid light bulbs.
subject: File Conversion
Similar Threads
java io
Creating a file by giving relative path
WA #1.....word association
performance issues with file read and write
Struts FormFile (parsing .csv files)