Forum


Replies: 1   Views: 3100
Possibility header and footer with embedhtml ?
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 admin  · 02-01-2017 - 12:41

Hello,

HTML Extended, available in Premium licenses since the release of phpdocx 9, supports adding headers and footers from HTML.

If your code has header and footer tags that you want to add in Word headers and footers you need to split the HTML and then add them as WordFragments (or separate the HTML source). There's no tag to add HTML to a header (or a footer) without creating a WordFragment and setting the right target.

If your template methods to add HTML or other content, please remember to set the right target (document, header, footer...).

HTML Extended, available in Premium licenses since the release of phpdocx 9, supports adding headers and footers from HTML.

Regards.