PDF::F...::Scope(3pm)
π NAME π
PDF::FromHTML::Template::Container::Scope β bestie, it's literally just here to give your children some scope β¨
π¦ NODE NAME π¦
SCOPE
Like, that's the name you drop in your XML when you want one of these. Periodt.
π INHERITANCE π
PDF::FromHTML::Template::Container
It's giving nepo baby β it inherits from the Container class, as it should. π
πΈ ATTRIBUTES πΈ
None. Not a single one. Zero. Zilch. She's serving pure structure and honestly? Iconic.
π CHILDREN π
None. Again β nothing declared here. Ngl, this node is lowkey a vibe-only situation.
β AFFECTS β
Nothing.</purpose>
π§ DEPENDENCIES π§
None. She's independent, she's self-sufficient, she doesn't need anybody. Main character energy fr fr.
β¨ USAGE β¨
Okay so here's the whole point of this thing. Watch:
<scope w="100%">
<row h="18">
<textbox text="Hello, world"/>
</row>
<row h="8">
<textbox text="Goodbye, world"/>
</row>
</scope>
So like β if you've got a bunch of nodes that all share common attribute values, but they don't have a common parent, you just give them a no-op parent. That parent does nothing except let you consolidate all your attribute specification in one place. It's the friend who holds everyone's coats at the party π«Ά
In the example above, the two textbox nodes will inherit the W attribute from the scope tag. No cap β that's the whole trick. π
π AUTHOR π
Rob Kinyon (rkinyon@columbus.rr.com) β ty king, we appreciate you π
π SEE ALSO π
(nothing else listed, bestie β she stands alone)
Perl v5.38.2, dated 2024-07-28, and this lil page lives under PDF::F...::Scope(3pm) in the User Contributed Perl Documentation. Mwah, slay, bye bestie π
β¨π
π¦ where this page comes from
- debian trixie: libpdf-fromhtml-perl 0.34-1 Β· CC0-1.0
- ubuntu resolute: libpdf-fromhtml-perl 0.34-1 Β· CC0-1.0
- ubuntu stonking: libpdf-fromhtml-perl 0.34-1 Β· CC0-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms