Update changelog and add sample for bug fix #222
This commit is contained in:
parent
d11376e387
commit
6dd51c54ea
@ -13,7 +13,7 @@ This release changed PHPWord license from LGPL 2.1 to LGPL 3.
|
|||||||
|
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
|
|
||||||
- ...
|
- Header: All images added to the second header were assigned to the first header - @basjan GH-222
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
|
||||||
|
|||||||
@ -25,6 +25,7 @@ $table->addCell(4500)->addImage(
|
|||||||
// Add header for all other pages
|
// Add header for all other pages
|
||||||
$subsequent = $section->addHeader();
|
$subsequent = $section->addHeader();
|
||||||
$subsequent->addText("Subsequent pages in Section 1 will Have this!");
|
$subsequent->addText("Subsequent pages in Section 1 will Have this!");
|
||||||
|
$subsequent->addImage('resources/_mars.jpg', array('width' => 80, 'height' => 80));
|
||||||
|
|
||||||
// Add footer
|
// Add footer
|
||||||
$footer = $section->addFooter();
|
$footer = $section->addFooter();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user