PDF::FromHTML::Template::Container::Scope - Provide scoping for children
Contents
Affects
Nothing
Attributes
None
Children
None
Dependencies
None
Inheritance
PDF::FromHTML::Template::Container
Name
PDF::FromHTML::Template::Container::Scope - Provide scoping for children
Node Name
SCOPE
See Also
perl v5.38.2 2024-07-28 PDF::FromHTML:...ontainer::Scope(3pm)
Usage
<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.
