File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Coverting PDF to DOC

 
Subha Garg
Ranch Hand
Posts: 39
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i convert Pdf to doc using java api's.Ot can i have some good api which can be used to create word docs in java.I have used iText's RtfWriter2.but it creates a rtf file which although is viewable in word but has a huge size compared to *.doc documents.Apache POI i suppose is not efficient to add stuff like pagenumbers and TableOfContents
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could use the OpenOffice Java API to create the file, and then save it in whichever format you like (including DOC). Or you could have it open the RTF file and save it as DOC.

As an aside, is the file size of the RTF really a problem?

Also, converting PDFs to any editable format isn't really a feasible option.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic