TChmTocFile

Top  Previous  Next

A ChmTocFile object helps you create a compiled HTML table of contents file.

 

Hierarchy:

TTextFile > TChmTocFile

 

Methods:

 

BuildTOCFromFile

 

Inherited from TTextFile:

 

CurrentLineIndex

InsertLine

SaveToDisk

SaveToDiskAndList

Write

WriteLine

 

Description:

The help table of contents (.hhc) file is an HTML file that contains the topic titles for your table of contents. When a user opens the table of contents in a compiled HTML file (or on a Web page) and clicks a topic title, the HTML file associated with that title will open.

 

You can use the TTextFile class to create a help project file, but TChmTocFile has additional methods that make creating project files easier.