Forum


Replies: 2   Views: 3038
How do i used addheader to add a blank header for letter headed paper to every page?
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 jamie3000  · 02-11-2016 - 15:56

I have a letter that is going to be printed by several clients all with varying sizes of letter headed paper. The header on their paper being different sizes not the paper. So I'd like to be able to dynamically specify a different size blank header each time a letter is generated depending on the client so whe the letter is printed by they it doesn't print all over the head on their letters. Whats the best way of using addHeader to add blank headers to pages?

I've tried addText("\n\r\n\r\n")

I've tried embedding html into a word fragement with a div of a fixed height.

What would you suggest?