How to access the actuel numbering a paragraph recieves through a list?

Hello, everybody,

I need to access the heading numbering of a “Heading 3”-formatted paragraph. Since the function paragraph.ListFormat.ListString of VBA which exactly returns the desired value is not implemented in Aspose.Words i fail to see a way to access this number apart from running through the complete document and counting the numbers myself.

Any ideas?

Regards,

BrackXs

Hi

Thanks for your inquiry. Unfortunately, there is no way to get list numbers using Aspose.Words. These numbers are not stored in the document. MS Word calculates list numbers on the fly during opening document. However, you can try to create your own method for calculating list numbers.
I created sample code for another customer to achieve similar task. Please see the following link to learn more.
https://forum.aspose.com/t/106128
I hope this could be useful for you.
Best regards.