Forum


Replies: 1   Views: 107
No front-page header

Posted by dgray  · 02-08-2019 - 03:07

Why doesn't this work:

$docx->addHeader(array('first' => $firstheaderTable));
$docx->addHeader(array('default' => $headerTable));

 

I only get the default header on all pages.

 

I assume that the 'default' header takes priority but how do I easily define a header NOT on the front page? Does this require sections?