https://issues.apache.org/bugzilla/show_bug.cgi?id=57356
--- Comment #4 from yang zhao <[email protected]> --- I want to get the val from <wx:t wx:val="1."/>, in this case I want to get "1.". 1. I debug class org.apache.poi.xwpf.usermodel.XWPFDocument.java, for code: // parse the document with cursor and add // the XmlObject to its lists XmlCursor cursor = ctDocument.getBody().newCursor(); cursor.selectPath("./*"); while (cursor.toNextSelection()) { XmlObject o = cursor.getObject(); Found thatin XmlObject o, content in tag <wx:t> was not there. 2. The xml for the paragraph is as below, so I tried with p.getCTP().getPPr().getNumPr(), but only getIlvl() and getgetNumId() are provided for it. org.apache.poi.xwpf.usermodel.XWPFParagraph.getCTP().getPPr().getNumPr() will return node <w:listPr>, right? <w:p wsp:rsidR="003670EF" wsp:rsidRPr="007233F7" wsp:rsidRDefault="003670EF" wsp:rsidP="00FD47FD"> <w:pPr> <w:pStyle w:val="1"/> <w:listPr> <w:ilvl w:val="0"/> <w:ilfo w:val="5"/> <wx:t wx:val="1."/> <wx:font wx:val="Times New Roman"/> </w:listPr> -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
