Forum


Replies: 2   Views: 2592
Addfooter problem
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 repunge  · 08-03-2017 - 03:21

Hi. I try to add footer to embedHTML but I do not see anything. Footer doesn't appear. Any idea. Here is example: 

$docx = new CreateDocx();
$default_footer = new WordFragment($docx,'test');
$docx->embedHTML($body);
$docx->addFooter(array('default' => $default_footer));

$docx->createDocxAndDownload($filename);