Forum


Replies: 5   Views: 3476
Importheadersandfooters
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-08-2016 - 18:13

Hello,

There's no method to import only the header for the first header.

One approach would be generating the first page of the DOCX standalone (this is a document) importing the header to this documebt, generate the other content in other DOCX and then merge both using the method mergeDocx.

Or you could use a template created with Word that include the header only in the first page.

Regards.