Hi
I have a document with a table of contents
1. x
1.1. xxx
2. y
2.1. yyyy
and so on
how do I extract these elements?
I mean, when I iterate on body elements
for (IBodyElement b : docx.getBodyElements()) {
if (b instanceof XWPFParagraph) {
... print here
}
}
all I got is "x", "xxxx", not "1. x", "1.1. xxxx"
so how do I get the numbering info?
TIA
Kenji
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]