Hello,
I need to create a Table of Content in a specific place of the Document, with the end goal to save the whole Document as a PDF. Currently we are using Aspose.Words, as e.g.
<html>
<body>
<p><a name="TOC"></a>…...insertion point (a placeholder element or your <a name=“TOC”> anchor)...as ordinary <ul>/<li>/<a> elements and insert it into the DOM...