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.
Hi,
I used to be able to create multiple word fragments in an array and put them into a header. This was normally an image and two text boxes. For example:
$fragments = array($frag1,$frag2,$frag3,...);
$docx->addHeader(array('defaultHeader'=>$fragments));
In phpdocx 4.5 this same code doesn't seem to work, even after upgrading the code to use the new WordFragment class.
Is there any way I can add a background image to the header, plus other images and text boxes over the top of it?
Thank you very much,
Seb