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