Forum


Replies: 1   Views: 3006
With importheadersandfooters different headers
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  · 12-07-2016 - 18:12

Hello,

The method importHeadersAndFooters imports headers and/or footers from a DOCX but all of them not a specific one.

You could try using addHeader and set first key value to add a new header. But the best approach is to use the mergeDocx method available in Corporate and Enterprise licenses to merge one or other first page as needed.

Regards.