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.
Cool, I think I figured it out.
$header = new \Phpdocx\Elements\WordFragment($docx,'defaultHeader');
$header->addWordML($fgmt_bg_image);
$header->addWordML($fgmt_text_box);
$docx->addHeader(array('defaultHeader'=>$header));
So far so good!
Nice job with v4.5 guys.
Cheers,
Seb