rapport v0.6.0 Rapport.PageNumbering

Link to this section Summary

Link to this section Functions

Link to this function add_page_numbers(report, page_number_position \\ :bottom_right, formatter \\ fn cnt_page, _ -> "#{cnt_page}" end)

Adds page numbers to the pages

It expects the page position to be an atom and must be :bottom_right, :bottom_left, :top_right or :top_left, otherwise ArgumentError will be raised.

Options

  • report - The Rapport.Report that you want set the padding for
  • page_number_position - Where the page number will be positioned.