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

Free Support Forum - aspose.com

Getting Heading number

Hi,

I am adding paragraphs to document with different Heading styles, the document look like,

1. Paragrapth1

1.1 Paragraph2

1.1.1 Paragraph3

2. Paragraph4

Now i want to fetch the IndentNumber of the paragraph... Is there any method is there to fetch?

Regards,

Srinu Dhulipalla

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

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.

http://www.aspose.com/community/forums/2/157078/multiple-conversion-issues/showthread.aspx

I hope this could be useful for you.

Best regards.

A post was split to a new topic: Heading number of document