when i use docx4j read a docx file
i want get the number of a list just like :
- something
- other
i can got the text "something" but i can't got the "1."
P p = (P) o;
PPr ppr = p.getPPr();
NumPr npr = ppr.getNumPr();
if(npr!=null){
//how to parse npr...
}
List<Object> pl = p.getContent();
for (Object po : pl) {
dealWithContent(po);
}
any one can tell me how to parse it?