File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes Converting DOC to PDF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Converting DOC to PDF" Watch "Converting DOC to PDF" New topic
Author

Converting DOC to PDF

Bindu Padmanabhan
Greenhorn

Joined: Jun 13, 2008
Posts: 10
Hi,

I am trying to convert .doc file to a pdf using iText. PDF got generated, but the generated pdf contains a lot of junk charaters and formatting has lost.
Please help.

Thanks
Bindu
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
iText has no idea about structured text formats, it only recognizes plain text, so this won't work. Check out the JODConverter library, which uses OpenOffice in server mode to perform such conversions.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Converting DOC to PDF
 
Similar Threads
Embeded doc in word/java api to create word file
PDF Conversion
pdc viewer software needed
Expiring a pdf document in the browser
How to convert doc files to pdf in Struts2