addTOC( $page = ”, $numbersfont = ”, $filler = ‘.’, $toc_name = ‘TOC’, $style = ”, $color = array(0,0,0) )
Output a Table of Content Index (TOC). This method must be called after all Bookmarks were set. Before calling this method you have to open the page using the addTOCPage() method. After calling this method you have to call endTOCPage() to close the TOC page. You can override this method to achieve different styles.