Forum


Replies: 3   Views: 3605
Different headers and footers on each section
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 AndrewCooper  · 09-06-2016 - 07:28

Hi,

I need to create several headers and then determine on a case by case basis which header goes on each section of my word document. There was a previous topic about this where the suggestion was to use the Merge feature from the Corporate or Enterprise edition of phpdocx. I can't do this for a couple of reasons.

First, while my company intends to purchase the Corporate or Enterprise version, we aren't doing so until I've been able to prove that phpdocx will do what we need. 

Second, I want to avoid creating several different documents and then merging them all together. File system operations are expensive in terms of performance and are not an option in this case.

So, can phpdocx set a different header on each section without the merge feature?  I haven't been able to get it to do so yet and I haven't found any documentation to help me do this. Can someone point me in the right direction?

Thanks,

Andrew