Skip to content

Commit c9b19cf

Browse files
committed
Merge remote-tracking branch 'upstream/master' into rebase_pull_request
2 parents 56ca30a + 9d65414 commit c9b19cf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/containers.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ You can pass an optional parameter to specify where the header/footer should be
104104
- ``Footer::FIRST`` each first page of the section
105105
- ``Footer::EVEN`` each even page of the section. Will only be applied if the evenAndOddHeaders is set to true in phpWord->settings
106106

107+
To change the evenAndOddHeaders use the ``getSettings`` method to return the Settings object, and then call the ``setEvenAndOddHeaders`` method:
108+
109+
.. code-block:: php
110+
$phpWord->getSettings()->setEvenAndOddHeaders(true);
111+
112+
107113
Footers
108114
-------
109115

0 commit comments

Comments
 (0)