NativeElixirPdfUtilities.HtmlToPdf.Pagination (native_elixir_pdf_utilities v0.3.0)
View SourcePagination stage for the native HTML-to-PDF renderer.
Milestone 7 splits layout output into deterministic PDF pages with page margins, automatic page breaks, manual page breaks, unbroken flow units, and repeated table headers.
Summary
Functions
Splits a layout tree into PDF pages.
Types
@type render_option() :: NativeElixirPdfUtilities.HtmlToPdf.render_option()
Functions
@spec paginate(term(), [render_option()]) :: {:ok, [page()]} | {:error, :invalid_layout}
Splits a layout tree into PDF pages.