Replies: 11   Views: 4963
Addtablecontents in a specific page
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by  · 18-07-2016 - 18:09


I have a template for my docx but i need  the table of content appear in page number 3 not in last page like now 

  $legend = array('text' => 'Presiona para actualziar el indice', 
    'color' => 'B70000', 
    'bold' => true, 
    'fontSize' => 12,

$docx->addTableContents(array('autoUpdate' => true), $legend);


How Can I put the table of content in a specific page?