Forum


Replies: 7   Views: 5474
3.7 => 4.0
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 simon  · 11-06-2014 - 17:27

Hello, I can not solve my problem with the footer, here below the exact code that worked under 3.7 Can you hear me turn to operate under 4.0 $htmlFooter = $text_entete_pied_ou_contenu; $htmlFooter = htmlspecialchars_decode($htmlFooter); $footer = $docx->embedHTML($htmlFooter, array('rawWordML' => true, 'target' => 'defaultFooter')); $myFooter = $docx->createWordMLFragment(array($footer)); $docx->addFooter(array('default' =>$myFooter)); Indeed, I have found no example that takes html, all the examples are either imports or images ... Thank you in advance