Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Converting DOC to PDF  RSS feed

 
Bindu Padmanabhan
Greenhorn
Posts: 10
  • 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
Saloon Keeper
Posts: 3824
79
  • 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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!