Skip to content Skip to sidebar Skip to footer

Convert HTML Page Into MS Word Using Java

I want to convert a HTML page into MS word. I want to know what API's will be helpful and also if there is any other option to do the same. The entire page is to be converted into

Solution 1:

Have a look into the Apache POI library ... http://poi.apache.org/ it has read / write support for all of the Office products, from the site :

In short, you can read and write MS Excel files using Java. In addition, you can read and write MS Word and MS PowerPoint files using Java.

Used it a lot for Excel and very simple to pick up and use.

Note ... the Apache POI library doesnt convert HTML to DOC(x) but it does allow you to write in the format - ie you would have to do the formatting yourself


Post a Comment for "Convert HTML Page Into MS Word Using Java"