On Sun, 27 May 2012, ashish wrote:
Here I am able to convert the bold and italic text . But not able to figure-out that how to create the 1) <ul><li>.... 2) <ol><li>... 3) break <br> 4) <pre> tags into the WordDoc.
I'm not sure, off the top of my head, which ones are possible. As a general rule for this sort of HWPF -> HTML stuff, your best bet for places to look for examples / inspiration are:
* Apache Tika http://svn.apache.org/repos/asf/tika/trunk/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/WordExtractor.java * Apache POI - HWPF.Converter package http://svn.apache.org/repos/asf/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter (especially WordToHtmlConverter and WordToHtmlUtils) Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
