PDF::FromHTML::Template::Container::Scope - PDF::FromHTML::Template::Container::Scope documentation


PDF-FromHTML documentation  | view source Contained in the PDF-FromHTML distribution.

Index


NAME

Top

PDF::FromHTML::Template::Container::Scope

PURPOSE

Top

To provide scoping for children.

NODE NAME

Top

SCOPE

INHERITANCE

Top

PDF::FromHTML::Template::Container

ATTRIBUTES

Top

None

CHILDREN

Top

None

AFFECTS

Top

Nothing

DEPENDENCIES

Top

None

USAGE

Top

  <scope w="100%">
    <row h="18">
      <textbox text="Hello, world"/>
    </row>
    <row h="8">
      <textbox text="Goodbye, world"/>
    </row>
  </scope>

If you have a number of nodes that share common attribute values, but don't have a common parent, provide them with a no-op parent that allows consolidation of attribute specification.

In the above example, the two textbox nodes will inherit the W attribute from the scope tag.

AUTHOR

Top

Rob Kinyon (rkinyon@columbus.rr.com)

SEE ALSO

Top


PDF-FromHTML documentation  | view source Contained in the PDF-FromHTML distribution.