DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

PageViewHelperΒΆ

This ViewHelper must be placed right within a document ViewHelper. It can be used to manually add new pages.

Basic Usage

<pdf:document>
        <pdf:page>
                <pdf:text>Page 1</pdf:text>
        </pdf:page>
        <pdf:page>
                <pdf:text>Page 2</pdf:text>
        </pdf:page>
</pdf:document>

Advanced Usage

<pdf:document>
        <pdf:page autoPageBreak="1" orientation="landscape" format="A5">
                <pdf:text>Page 1</pdf:text>
        </pdf:page>
        <pdf:page autoPageBreak="0" orientation="portrait" format="A3" margin="{top: 40}">
                <pdf:text>Page 2</pdf:text>
        </pdf:page>
        <pdf:page tableOfContentPage="1"></pdf:page>
</pdf:document>