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 Open Source Projects and the fly likes Coverting PDF to DOC 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 » Products » Other Open Source Projects
Bookmark "Coverting PDF to DOC" Watch "Coverting PDF to DOC" New topic
Author

Coverting PDF to DOC

Subha Garg
Ranch Hand

Joined: Feb 28, 2008
Posts: 39
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
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
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.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Coverting PDF to DOC
 
Similar Threads
Mikalai Zaikin's SCBCD1.3 Study Notes ?
Viewing a file using default application associated with it
Word Doc to PDF
Embeded doc in word/java api to create word file
Embed Word/PDf documents in Swing