On Thu, 12 Jan 2012, Shuichen Zhang wrote:
Could anyone advise how to get text from an BodyElement? Thanks in advance!

First you need to check what type it is:
http://poi.apache.org/apidocs/org/apache/poi/xwpf/usermodel/IBodyElement.html#getElementType()

From that, you can cast it to a XWPFParagraph or XWPFTable, both of which
provide ways to get their text

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to