☻ 唐鳳 ☺ > PDF-FromHTML-0.31 > PDF::FromHTML::Template::Element::TextBox

Download:
PDF-FromHTML-0.31.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  7
Open  4
View/Report Bugs
Source  

NAME ^

PDF::FromHTML::Template::Element::TextBox

PURPOSE ^

To write text in a specified spot

NODE NAME ^

TEXTBOX

INHERITANCE ^

PDF::FromHTML::Template::Element

ATTRIBUTES ^

CHILDREN ^

None

AFFECTS ^

Nothing

DEPENDENCIES ^

ROW

USAGE ^

  <row h="8">
    <textbox w="40%" text="Some text here"/>
    <textbox w="60%"><var name="Param1"/> and stuff</textbox>
  </row>

This will put two textboxes on the page at the current Y-position. The first will occupy 40% of the write-able space and contain the text "Some text here". The second will occupy the rest and contain the text from Param1, then the text " and stuff". (This is the only way to mix parameters and static text in the same textbox.)

AUTHOR ^

Rob Kinyon (rkinyon@columbus.rr.com)

SEE ALSO ^

ROW

syntax highlighting: