Hi,
I’ve been trying to find a solution to this problem on your forums but have not found anything conslusive.
When updating an existig document containing a TOC with the following field code
{ TOC \h \z \t “Heading 3;1;Heading 4;2” }
Aspose Words will print No table of contents entries found. in the saved document.
Right-clicking on the the field in Word and selecting Update field will yield a correct TOC. Running it through Aspose Words again will give the initial result.
var document = new Document("test.docx");
document.UpdateFields();
document.Save("test.docx", SaveFormat.Docx);
Please advise