Skip to content

Feature: Pagination/Footer addition #402

Description

@SammyDerksen

How should the feature work?

In my footer I have LineSeparator on the whole width of the document and the page numbers should be above it, but they are currently rendered before the footer.

Insert page numbers above the footer elements.
I would also like to add padding or margin or support for indentation.

What should it look like?

In Source/API/PDFGenerator+Generation.swift, pagination can be added after headerFooter in the addHeaderFooterObjects() method:
Bildschirmfoto 2024-11-21 um 16 24 32

I entered this manually in the footer, but the page numbers don't work with it.
I have set the indent before and then reset it again so that my lineSeparator is on the whole width.
Bildschirmfoto 2024-11-21 um 16 28 26

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions