You probably mean use of outline numbered headings which is not possible at the moment. However, you can easily use regular headings by implementing something like this:
Yes, it is probably possible now. We have added a rich list/numbering set of classes to our API since your last request. See code examples related to list-related classes, methods and properties in Aspose.Words documentation.
If these examples will be insufficient to create required output then please compose a sample document in MS Word and attach it here. I will then try to write a code example that will create a similar output using Aspose.Words.
Yes, if you will create the content with proper list numbering, following the guidelines in our list API the TOC will automatically reflect the changes and the chapters will automatically be renumbered when the user will edit the document in MS Word. The only requirement is that the user should assign proper styles to the inserted chapters. Also note that TOC field need to be updated explicitly in MS Word (by pressing F9 or using context menu) to reflect the changes.
The list API is somewhat complex so please let me know if you will have any difficulties on the way. I will try to help you out.
That works well, but a couple of formatting questions.
Using the example, the list numbers have the same format as the section text. When I use the code in the web site, the number appear to have no formatting, but the header text looks fine. When I click on the number style is correct.
I set the numbers to be aligned on the left (using the following code), but the text is still indented, how can I get this to follow directly after the number?
List list = doc.Lists.Add(ListTemplate.OutlineLegal);