Winnovative HTML to PDF Converter can be configured to automatically create a table of contents in PDF document based on H1 to H6 head tags found in HTML document by simply turning on the AutoTocItemsEnabled option.

The following options are available in this demo: