PDF::F...Footer(3pm)

πŸ“¦
version 0.34 Β· 2 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

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