phax / ph-pdf-layout

Java library for creating fluid page layouts with Apache PDFBox. Supporting multi-page tables, different page layouts etc.
Apache License 2.0
64 stars 11 forks source link

Adding page number to the footer #26

Closed atothakisandor closed 2 years ago

atothakisandor commented 2 years ago

Hello,

is it possible to add page numbering to the footer?

Thanks, Sandor

phax commented 2 years ago

Yes, that is possible. Please see https://github.com/phax/ph-pdf-layout/blob/master/src/test/java/com/helger/pdflayout/base/PLPageSetTest.java#L184 on how the page numbers can be used.

atothakisandor commented 2 years ago

Gr8! Thank you!