We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Reading a numbered list from a Word document

I´m using Java and Aspose Words. It´s possible to know the concrete number or letter of the element that I read from a numbered list from a Word document.
The thing is that I want to differenciate when I read something like this:

1.- Element 1
2.- Element 2
3.- Element 3

and the other example:

3.- Element 1
4.- Element 2
5.- Element 3

In the first case, I will get 1, 2 and 3. And in the second case I will get 3, 4, and 5.
It´s possible to know the concrete number of the elements of the numbered list.

Thank you in advance,

Thanks for your request. Unfortunately you can’t get number of item (this number is not stored in document it is generated on fly by MS Word). But you can get start number of listlevel, see the following link for more information.
Best regards.