• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Converting DOC to PDF

 
Bindu Padmanabhan
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 2501
13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic