Page 1 of 1

ListParagraphs

PostPosted: Wed Feb 20, 2013 11:24 am
by rhaley
I need to get all the w:p (ListParagraphs) when converting from docx to xhtml.

Has anyone got any tips for doing this? I can render them individually but I would like to render the complete list under another tag such as a separate div or ul?

Thanks

Re: ListParagraphs

PostPosted: Wed Feb 20, 2013 12:22 pm
by jason
You could do this by maintaining state (ie inList), or you could pre-process to add list containers:- we do something similar to turn sectPr point tags into proper containers; see https://github.com/plutext/docx4j/blob/ ... ppers.java