☺唐鳳☻ > PDF-Template-PDFAPI2 > PDF::Template::Container::PageDef

Download:
PDF-Template-PDFAPI2-0.40_09.tar.gz

Dependencies

Annotate this POD

Source  

NAME ^

PDF::Template::Container::PageDef

PURPOSE ^

To provide the page definition for a given page. Without a pagedef, nothing renders

NODE NAME ^

PAGEDEF

INHERITANCE ^

PDF::Template::Container

ATTRIBUTES ^

CHILDREN ^

None

AFFECTS ^

None

DEPENDENCIES ^

None

USAGE ^

  <pagedef pagesize="Legal" landscape="1">
    ... Children will render to a Legal-sized paper in landscape orientation ...
  </pagedef>

NOTE ^

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>

AUTHOR ^

Rob Kinyon (rkinyon@columbus.rr.com)

SEE ALSO ^

syntax highlighting: