GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PDF::Template::Element::TextBox(3) User Contributed Perl Documentation PDF::Template::Element::TextBox(3)

PDF::Template::Element::TextBox

To write text in a specified spot

TEXTBOX

PDF::Template::Element

  • TEXT This is the text for this textbox. Can be either as a parameter or as character children of this node. Defaults to '' (the empty string).
  • ALIGN / JUSTIFY This is the orientation of the text in the textbox. Legal values are:
  • Left (default)
  • Center
  • Right
  • Full (NOT IMPLEMENTED)

JUSTIFY is provided for backwards compatibility, and is deprecated.

  • COLOR This is the color of the text
  • BGCOLOR This is the color of background
  • BORDER This is a boolean specifying if a border should be drawn. Currently, the border is drawn in the same color as the text.
  • LMARGIN / RMARGIN These are the paddings within the textbox for the text. This is useful if you are listing columns of numbers and don't want them to run into one another.
  • H Normally, one would not set H, as it should be set by either the FONT or ROW ancestor. However, it can be useful to do the following:

      <font h="8" face="Times-Roman">
    
        <row>
          <textbox w="100%" h="*4">Some text here</textbox>
        </row>
    
      </font>
        

    That will create textbox which will occupy four rows of text at whatever size the font is set to.

  • TRUNCATE_TEXT Normally, at textbox will use as many rows it needs to write the text given to it. (It will always respect its width requirement, even to the point of splitting words, though it tries hard to preserve words.) However, sometimes this behavior is undesirable.

    Set this to a true value and the height value will be a requirement, not an option.

None

Nothing

ROW

  <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.)

Rob Kinyon (rob.kinyon@gmail.com)

ROW

Hey! The above document had some coding errors, which are explained below:
Around line 335:
=back doesn't take any parameters, but you said =back 4
Around line 377:
=back doesn't take any parameters, but you said =back 4
2005-01-11 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.