maroto icon indicating copy to clipboard operation
maroto copied to clipboard

Is there a way to get the current page number during pdf generation?

Open marvfinsy opened this issue 8 months ago • 8 comments

Is your feature request related to a problem? Please describe. This feature is not related to a bug. But would help solve the below problem.

Describe the solution you'd like While generating rows i want to be able to print a unique row on the first page but not any other. Also have the need to print extra information on only the last page. Also need to alter headings and footers per page or based on page content (a certain description appears in footer if a unique line item appears on that page).

Describe alternatives you've considered I assume that the heading code is executed for each page. Thought about a counter in the headings code.

Additional context

marvfinsy avatar Jun 25 '24 18:06 marvfinsy