| PDF-FromHTML documentation | view source | Contained in the PDF-FromHTML distribution. |
PDF::FromHTML::Template::Container::PageDef
To provide the page definition for a given page. Without a pagedef, nothing renders
PAGEDEF
PDF::FromHTML::Template::Container
None
None
None
<pagedef pagesize="Legal" landscape="1">
... Children will render to a Legal-sized paper in landscape orientation ...
</pagedef>
It is very possible, and often useful, to have more than one pagedef in a given template. Also, the PAGEDEF does not have to be the direct child of the PDFTEMPLATE node. It is sometimes useful to have something like:
<pdftemplate>
<loop name="PAGEDEFS">
<pagedef
pagesize="$PaperSize"
landscape="$Orientation"
nopagenumber="$TitlePage"
>
... Children here ...
</pagedef>
</loop>
</pdftemplate>
Rob Kinyon (rkinyon@columbus.rr.com)
| PDF-FromHTML documentation | view source | Contained in the PDF-FromHTML distribution. |