How to convert PDF to doc file in java
That your assignment is actually very difficult
I recommend you start here and look for a good parsing library. then you will have to write it in .doc format. A lot of formatting and additional information will inevitably be lost. it would be much easier to output to docx format, but I'm guessing that's not what you're looking for.
a source to share
I see several possible solutions:
-
Davisor Publishor 6.2 can probably be used, but it's commercial and it seems to only generate txt from pdf ... just have a look
-
parse pdf with iText and then generate doc with Apache POI - another way to try (free);
-
look for command line tools like Convert PDF to DOC and execute them from java
Otherwise look at Kon's answer, there is a link to the list with java pdf processing libraries, maybe some library can do this directly or can be used to parse pdf (iText better) and then just use Apache POI to generate the document ... Hope it helps;)
a source to share