Skip to content

Dynamic page margins v2#2458

Open
Trim wants to merge 2 commits intobpampuch:masterfrom
Trim:page-margin-function
Open

Dynamic page margins v2#2458
Trim wants to merge 2 commits intobpampuch:masterfrom
Trim:page-margin-function

Conversation

@Trim
Copy link
Copy Markdown

@Trim Trim commented Jul 26, 2022

This pull request is a port of original work of @seahorsepip in pull request #1746

This rework is rebuild on 0.3 version, it adds some unit tests for new helpers and it has integration tests following comments in original pull request #1746.

For the request of having access to pageCount from the function, I think it's not possible, because pageMargins() is called on each page initialization and so the pageCount is still changing.

@Trim
Copy link
Copy Markdown
Author

Trim commented Jul 26, 2022

I wasn't sure if I had to add /build automatic modifications within the pull request.
I can remove the commit with these modifications if needed.

Trim added 2 commits July 26, 2022 22:29
This function will receive the pageNumber as argument.

This commit is a port of original work of @seahorsepip in pull request bpampuch#1746

This rework is rebuild on 0.3 version, it adds some unit tests for
new helpers and it has integration tests following comments in original
pull request bpampuch#1746.
@Trim Trim force-pushed the page-margin-function branch from e41c761 to c9deb65 Compare July 26, 2022 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant