diff options
author | Thomas <> | 2023-07-05 11:01:15 +0200 |
---|---|---|
committer | Thomas <> | 2023-07-05 11:01:15 +0200 |
commit | 3a65ea135869d36db4d26120fe6a408958463878 (patch) | |
tree | 0d8565a499180a9bba162c449af1c721967e854e /pdf-as-pdfbox-2/src/main/java/at/gv | |
parent | 4116dd776887b715de3c4ec3c0ca54c742f2671e (diff) | |
download | pdf-as-4-3a65ea135869d36db4d26120fe6a408958463878.tar.gz pdf-as-4-3a65ea135869d36db4d26120fe6a408958463878.tar.bz2 pdf-as-4-3a65ea135869d36db4d26120fe6a408958463878.zip |
fix(positioning): only add a new page on less space if no concrete page was requested
Diffstat (limited to 'pdf-as-pdfbox-2/src/main/java/at/gv')
-rw-r--r-- | pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/pdfbox2/positioning/Positioning.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/pdfbox2/positioning/Positioning.java b/pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/pdfbox2/positioning/Positioning.java index 491a6f31..70d9044b 100644 --- a/pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/pdfbox2/positioning/Positioning.java +++ b/pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/pdfbox2/positioning/Positioning.java @@ -282,7 +282,7 @@ public class Positioning { long numberOfExistingSignatures, ISettings settings, SignatureProfileSettings profilConfig) throws PdfAsException { if (pos_y - footer_line <= table_height) { - make_new_page = checkIfNewPageIsAllowed(true, numberOfExistingSignatures, settings, profilConfig); + make_new_page = checkIfNewPageIsAllowed(pos.isPauto(), numberOfExistingSignatures, settings, profilConfig); if (make_new_page) { page++; |