Trait TocOptionsTrait
Direct Known Users
WkHtmlToPdf\WkHtmlToPdf
Namespace: WkHtmlToPdf\Options
Author: ivanpepelko
Located at WkHtmlToPdf/Options/TocOptionsTrait.php
Author: ivanpepelko
Located at WkHtmlToPdf/Options/TocOptionsTrait.php
public
|
|
public
|
|
public
|
#
setTocHeaderText( string $text = 'Table of Contents' )
The header text of the toc (default 'Table of Contents'). |
public
|
#
setTocLevelIndentation( string $width = '1em' )
For each level of headings in the toc indent by this length (default 1em). |
public
|
|
public
|
|
public
|
#
setTocTextSizeShrinking( float $factor = 0.8 )
For each level of headings in the toc the font is scaled by this factor (default 0.8). |
public
|
#
setTocXslStyleSheet( string $path )
Use the supplied xsl style sheet for printing the table of content. |