PDF::F...Footer(3pm)
β¨ PDF::F...Footer(3pm) β¨
okay bestie, gather round, because we're talking about PDF::FromHTML::Template::Container::Footer π β the little template container whose whole job is giving you footer text and telling the template where the footer starts, for looping purposes. yes, looping. it's giving "the bottom of every page is my moment" energy π
πΈ NAME πΈ
PDF::FromHTML::Template::Container::Footer β provides footer text, and specifies where the footer starts, for looping. that's it, that's the whole vibe π
π¦ NODE NAME π¦
FOOTER
like, that's what you call it in your markup. that's its name. iconic. periodt π
π INHERITANCE π
PDF::FromHTML::Template::Container::Margin
it's a child of Margin, so it's got that family lineage going on π«Ά
β¨ ATTRIBUTES β¨
FOOTER_HEIGHTβ the amount reserved for the footer, measured from the bottom of the page. so like, how much room at the bottom you're claiming for your footer moment π
π CHILDREN π
None
no children here. it's a childless icon. main character energy, honestly π
π₯ AFFECTS π₯
Indicates to LOOP tags where to pagebreak. so it's basically telling the LOOP tag "hey bestie, this is where you break the page, k? thx" π
π DEPENDENCIES π
None
zero dependencies, self-sufficient queen π
π USAGE π
okay so here's how you actually use it, no cap:
<pagedef>
... Stuff here ...
<footer footer_height="1i">
... Children here will render on every page ...
</footer>
</pagedef>
see how it's nested inside <pagedef>? and everything you put inside the <footer> renders on every single page π¦ that's the magic. footer_height="1i" is you setting how much bottom-of-page real estate it gets β¨
π AUTHOR π
Rob Kinyon (rkinyon@columbus.rr.com)
the legend who wrote this. we stan π«Ά
β SEE ALSO β
ALWAYS, HEADER, LOOP
go read those too, bestie, they're all in the same friend group ππ
and that's the whole page, fr fr β written up against perl v5.38.2, dated 2024-07-28, and yeah it's a PDF::F...Footer(3pm) moment πβ¨ bye ily, go make some beautiful footers π
π¦ 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