Thank you very much Mark, this is exactly what I was looking for!

If I can implement my parser without further help, I will follow up my
own post with some code samples in a week or so (Do send me a mail if
you want to in the case I don't keep that promise ;-) ).

As I'll probably need to parse multi-level numberings, too, I'll dig
into the documentation right away.

Greetings,

Andreas

2012/8/31 Mark Beardsley <[email protected]>:
> Are you still struggling with this Andreas? The reason I asked is that I was
> playing around a little this morning and found how to get at the numbering
> information when parsing the document. The process goes something like this;
>
> Open the document
> Get the XWPFNumbering object from the document.
> Get the list of XWPFParagraphs from the document.
> Ste through the list of paragraphs and as you get each one try to get the
> number ID from it. If this returns null then the paragraph is not in a list.
> If it does not return null, you can use the BigInteger to retrieve, from the
> XWPFNumbering object, details of the numbering/bulleting scheme applied to
> the paragraph.
>
> There are still plenty of details to work out, not the least of which
> concerns levels within multi-level numbering systems but I do think that I
> might have found a way into reading lists.
>
> Let me know if you want to pursue this further.
>
> Yours
>
> Mark B
>
>
>
> --
> View this message in context: 
> http://apache-poi.1045710.n5.nabble.com/XWPF-Parsing-or-creating-bullet-points-numbered-lists-with-POI-3-8-tp5710800p5710822.html
> Sent from the POI - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

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

Reply via email to