Forum


Replies: 3   Views: 4120
Different header
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  · 28-04-2011 - 12:07

Hi,

I want making several sections with different headers (PRO version).
Sections are well generated, however we can not use a specific header just for one section.
Indeed, all headers setted on the PHP are written for all sections :(

Some help will be appreciated.

Posted by sysadmin@duoconsulting.com  · 11-04-2013 - 12:12

Word does not support different headers, just First, Odd, Even. This is not a PHPDocx issue.

Posted by asui  · 04-11-2015 - 14:03

It's not true, what you wrote here. Just check this link for example:

"Make the header or footer different in each section or chapter" https://support.office.com/en-us/article/Insert-headers-and-footers-f22334fb-4455-4b18-9354-7c9c70c3b032#bm5

Have you changed anything in PHPDocx to support this feature or mayby there is a workaround for this issue?

Posted by admin  · 04-11-2015 - 14:49

Hello,

This post is over four years old and the user that answered was not from the phpdocx team.

Of course phpdocx can work with any headers and footers (first, odd, even, pages, standalone...) You just need to use the sections and headers/footers methods available or the Corporate or Enterprise licenses for more complex layouts.

Regards.