lib/PHPWord/PHPWord/Section.php
public function addTOC($styleFont = null, $styleTOC = null) {
		$toc = new PHPWord_TOC($styleFont, $styleTOC);
		$this->_elementCollection[] = $toc;
		return $toc;
	}
public function addTOC($styleFont = null, $styleTOC = null) {
		$toc = new PHPWord_TOC($styleFont, $styleTOC);
		$this->_elementCollection[] = $toc;
		return $toc;
	}
public function addTOC ( $ styleFont = null , $ styleTOC = null ) { $ toc = new PHPWord_TOC ( $ styleFont , $ styleTOC ) ; $ this -> _elementCollection [ ] = $ toc ; return $ toc ; }
Add a Table-of-Contents Element

@param mixed $styleFont
@param mixed $styleTOC
@return PHPWord_TOC
Add a Table - of - Contents Element