0

I have converted docx file to html since its a Zipped format. but i have to convert the doc files too.Is there any way to change the doc file to docx file through code(prefer java).Please help me.Thanks in advance.

vignesh
  • 1,573
  • 7
  • 33
  • 60

2 Answers2

0

You should try using APACHE POI

It will provide you functionality to get data from DOC file and you can directly operate on it without converting it to DOCX.

And to convert DOC file to HTML look at this: convert-word-doc-to-html-programmatically-in-java

Hope this helps.

Community
  • 1
  • 1
Harry Joy
  • 58,650
  • 30
  • 162
  • 207
0

Try the wv library for decoding the Microsoft .doc format

Larry K
  • 47,808
  • 15
  • 87
  • 140