Header and Footer
It is possible to render header and footer for each page using the header and footer ViewHelpers. You can define
document wide headers and overwrite them on page level if desired. It is possible to use the MultiColumnViewHelper
in the header and footer sections. However it is recommended to use absolute positioning using the posY
attribute as
in the Basic Usage example for performance reasons.
Please also see the ViewHelper documentation as well as the example of header and footer usage.
In addition to using these ViewHelpers you may provide your own PDF class and
overwrite the methods Header
/ Footer
or basePdfHeader
/ basePdfFooter
. Overwriting Header
/ Footer
disables the usage of the header and footer ViewHelpers completely. Overwriting basePdfHeader
/ basePdfFooter
allows to use the header and footer ViewHelpers while also be able to define custom headers in the PDF class.