aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-pdfbox-2/src/test/java/at/gv/egiz
diff options
context:
space:
mode:
authorThomas <>2023-01-13 14:02:43 +0100
committerThomas <>2023-01-13 14:02:43 +0100
commitf6d416f004ed294cff71e25358d7b37a9750a1b6 (patch)
tree69a5eeda9252de5ebe46069a1f4b178b0eedaaab /pdf-as-pdfbox-2/src/test/java/at/gv/egiz
parent7e0a617fc75016d059ca1a976c76c307cb805bc9 (diff)
downloadpdf-as-4-f6d416f004ed294cff71e25358d7b37a9750a1b6.tar.gz
pdf-as-4-f6d416f004ed294cff71e25358d7b37a9750a1b6.tar.bz2
pdf-as-4-f6d416f004ed294cff71e25358d7b37a9750a1b6.zip
fix(sigblock): invalid preview in case of sig-blocks with more than half page height
Issue: #68 ## Info: This is only a work-around, because it looks like a general issue in methods to create visual signature tables. T
Diffstat (limited to 'pdf-as-pdfbox-2/src/test/java/at/gv/egiz')
-rw-r--r--pdf-as-pdfbox-2/src/test/java/at/gv/egiz/pdfas/lib/testpdfbox/SignatureFieldsAndPlaceHolderExtractorTest.java16
1 files changed, 10 insertions, 6 deletions
diff --git a/pdf-as-pdfbox-2/src/test/java/at/gv/egiz/pdfas/lib/testpdfbox/SignatureFieldsAndPlaceHolderExtractorTest.java b/pdf-as-pdfbox-2/src/test/java/at/gv/egiz/pdfas/lib/testpdfbox/SignatureFieldsAndPlaceHolderExtractorTest.java
index 0d85c82b..40522504 100644
--- a/pdf-as-pdfbox-2/src/test/java/at/gv/egiz/pdfas/lib/testpdfbox/SignatureFieldsAndPlaceHolderExtractorTest.java
+++ b/pdf-as-pdfbox-2/src/test/java/at/gv/egiz/pdfas/lib/testpdfbox/SignatureFieldsAndPlaceHolderExtractorTest.java
@@ -1,16 +1,20 @@
package at.gv.egiz.pdfas.lib.testpdfbox;
-import at.gv.egiz.pdfas.lib.impl.pdfbox2.placeholder.SignatureFieldsAndPlaceHolderExtractor;
-import at.gv.egiz.pdfas.lib.impl.placeholder.SignaturePlaceholderData;
-import org.apache.pdfbox.pdmodel.PDDocument;
-import org.junit.Assert;
-import org.junit.Test;
-
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
+import org.apache.pdfbox.pdmodel.PDDocument;
+import org.junit.Assert;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
+
+import at.gv.egiz.pdfas.lib.impl.pdfbox2.placeholder.SignatureFieldsAndPlaceHolderExtractor;
+import at.gv.egiz.pdfas.lib.impl.placeholder.SignaturePlaceholderData;
+
+@RunWith(JUnit4.class)
public class SignatureFieldsAndPlaceHolderExtractorTest {
public String getPath(String resourceName) {