Page 1 of 1

docx to html 1.0

PostPosted: Fri Dec 16, 2011 9:18 am
by vgunaselan
Hi,
can you please guide me about converting from docx to html 1.0.

so the docx needs to be converted to plain html 1.0 tags. like p, table, ul, li, ol tags. can you guide me? font's are not much interest for me.


i also noticed that HTML converter program uses styles to display list's, order list's. instead of styles, is there a way to convert styled to list, ordered list..

Re: docx to html 1.0

PostPosted: Fri Dec 16, 2011 9:28 am
by jason
Out of interest, may I ask why you want to do this (ie what is the target application)?

You are free to adapt/modify the existing conversion code. Look at org.docx4j.convert.out.html in src/main/java/org/docx4j/convert/out/html, starting with the XSLT, which calls extension functions in HtmlExporterNG2.java

Re: docx to html 1.0

PostPosted: Fri Dec 16, 2011 10:37 am
by vgunaselan
the use is to convert it into plain xml way without styling