public buildTOC ( string $cssFileName = null, string $tocCSSClass = "toc", string $title = "Table of Contents", boolean $addReferences = true, boolean $addToIndex = false, string $tocFileName = "TOC.xhtml" ) : boolean | ||
$cssFileName | string | Include a link to this css file in the TOC html. |
$tocCSSClass | string | The TOC is a , if you need special formatting, you can add a css class for that div. Default is "toc". |
$title | string | Title of the Table of contents. Default is "Table of Contents". Use this for ie. languages other than English. |
$addReferences | boolean | include reference pages in the TOC, using the $referencesOrder array to determine the order of the pages in the TOC. Default is TRUE. |
$addToIndex | boolean | Add the TOC to the NCX index at the current leve/position. Default is FALSE |
$tocFileName | string | Change the default name of the TOC file. The default is "TOC.xhtml" |
return | boolean |