aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pdf-as-lib/src/configuration/cfg/config.properties2
-rw-r--r--pdf-as-lib/src/configuration/cfg/profiles/BASE_LOGO.properties (renamed from pdf-as-lib/src/configuration/cfg/profiles/BASE_LOGO)0
-rw-r--r--pdf-as-lib/src/main/resources/config/config.zipbin1276718 -> 1277230 bytes
-rw-r--r--pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/pdfbox2/positioning/Positioning.java5
4 files changed, 4 insertions, 3 deletions
diff --git a/pdf-as-lib/src/configuration/cfg/config.properties b/pdf-as-lib/src/configuration/cfg/config.properties
index 42193ec5..ff9df42f 100644
--- a/pdf-as-lib/src/configuration/cfg/config.properties
+++ b/pdf-as-lib/src/configuration/cfg/config.properties
@@ -71,7 +71,7 @@ include.advancedconfig = advancedconfig.properties
# Standard-Profile
include.01 = profiles/*.properties
-#include.01 = profiles/INVISIBLE.properties
+#include.02 = profiles/BASE_LOGO.properties
#include.02 = profiles/SIGNATURBLOCK_DE.properties
#include.03 = profiles/SIGNATURBLOCK_DE_NOTE.properties
#include.04 = profiles/SIGNATURBLOCK_DE_PDFA.properties
diff --git a/pdf-as-lib/src/configuration/cfg/profiles/BASE_LOGO b/pdf-as-lib/src/configuration/cfg/profiles/BASE_LOGO.properties
index 4d15488d..4d15488d 100644
--- a/pdf-as-lib/src/configuration/cfg/profiles/BASE_LOGO
+++ b/pdf-as-lib/src/configuration/cfg/profiles/BASE_LOGO.properties
diff --git a/pdf-as-lib/src/main/resources/config/config.zip b/pdf-as-lib/src/main/resources/config/config.zip
index 865662e7..666b61a6 100644
--- a/pdf-as-lib/src/main/resources/config/config.zip
+++ b/pdf-as-lib/src/main/resources/config/config.zip
Binary files differ
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 8aaa51ac..52a865b1 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
@@ -162,7 +162,7 @@ public class Positioning {
public static PositioningInstruction adjustSignatureTableandCalculatePosition(
final PDDocument pdfDataSource, IPDFVisualObject pdf_table,
TablePos pos, ISettings settings) throws PdfAsException {
- List<PDSignatureField> pdSignatureFieldList = new ArrayList<>();
+ List<PDSignatureField> pdSignatureFieldList;
PdfBoxUtils.checkPDFPermissions(pdfDataSource);
int counter = 0;
@@ -326,8 +326,9 @@ public class Positioning {
// we do have text take SIGNATURE_MARGIN
pos_y = page_height - page_length - SIGNATURE_MARGIN_VERTICAL;
if (pos_y - footer_line <= table_height) {
- if(counter!=0)
+ if(counter!=0){
make_new_page = false;
+ }
else{
make_new_page = true;
page++;