![]() |
![]()
| ![]() |
![]()
NAMEPDF::Template::Container::PageDef PURPOSETo provide the page definition for a given page. Without a pagedef, nothing renders NODE NAMEPAGEDEF INHERITANCEPDF::Template::Container ATTRIBUTES
CHILDRENNone AFFECTSNone DEPENDENCIESNone USAGE<pagedef pagesize="Legal" landscape="1"> ... Children will render to a Legal-sized paper in landscape orientation ... </pagedef> NOTEIt 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> AUTHORRob Kinyon (rob.kinyon@gmail.com) SEE ALSOPOD ERRORSHey! The above document had some coding errors, which are explained below:
|