From 8bc2db82a8066846e88be7da8abe41bff9325445 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Fri, 14 Nov 2014 15:32:41 +0100 Subject: QR Code fixes --- .../at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java b/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java index b01351b6..9d50a348 100644 --- a/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java +++ b/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java @@ -292,8 +292,8 @@ public class PADESPDFBOXSigner implements IPdfSigner, IConfigurationConstants { List kids = new ArrayList(); rootPages.getAllKids(kids); int pageNumber = positioningInstruction.getPage(); - rootPages.getAllKids(kids); - PDPage page = kids.get(pageNumber); + //rootPages.getAllKids(kids); + PDPage page = kids.get(pageNumber-1); logger.info("Placeholder name: " + signaturePlaceholderData.getPlaceholderName()); -- cgit v1.2.3