Forum


Replies: 4   Views: 3418
Importheadersandfooters with several sections
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 nicolas  · 14-04-2012 - 19:09

Hi guys,

The importHeadersAndFooters() function is very usefull :D
However, if the external document has several sections, all sections are overlaid on the generated Word document.

How can you manage the headers and footers in this case ? Is it possible to import the headers and footers of the first section when we are in the first section of our new document yet import second section headers and footers when we are in the second section of our new document, etc. ?

Thanks for your help !