Hi,
I was exploring to use the Aspose.Words (version 9.0.0) .net API to build the TOC. I am not sure if I am doing it right. The library creates the TOC but the style and fonts are inappropriate under TOC and one more thing, if 2 header styles are seperated by page break. The TOC record gets generated with the page break between them.
I have attached a compressed file containing the sample code, output file and the template document used. Request your help.
Regards,
Yogi