From f51afc6fc634d9640d7bbbee333ca32b3d80e579 Mon Sep 17 00:00:00 2001 From: rpiazzi Date: Tue, 30 Aug 2011 12:40:52 +0000 Subject: Correction to not create a new page, as it is done when signature block hasn't enough place, when signature block is invisible git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@796 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../at/gv/egiz/pdfas/impl/signator/binary/BinarySignator_1_0_0.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/gv/egiz') diff --git a/src/main/java/at/gv/egiz/pdfas/impl/signator/binary/BinarySignator_1_0_0.java b/src/main/java/at/gv/egiz/pdfas/impl/signator/binary/BinarySignator_1_0_0.java index 8757110..5766b89 100644 --- a/src/main/java/at/gv/egiz/pdfas/impl/signator/binary/BinarySignator_1_0_0.java +++ b/src/main/java/at/gv/egiz/pdfas/impl/signator/binary/BinarySignator_1_0_0.java @@ -208,12 +208,12 @@ public class BinarySignator_1_0_0 implements Signator //check if signature block is invisible, and if so and if also signature block is positioned //on a new page, prevent pdf-as to do that, because why should make a new page just for an invisible block //added by rpiazzi - /*if (signature_object.getSignatureTypeDefinition().getInvisibleFieldDefinitions().size()==SignatureTypes.REQUIRED_SIG_KEYS.length) { + if (signature_object.getSignatureTypeDefinition().getInvisibleFieldDefinitions().size()==SignatureTypes.REQUIRED_SIG_KEYS.length) { if (pi.isMakeNewPage()) { int pageNumber = pi.getPage(); pi = new PositioningInstruction(false, pageNumber-1, 0, 0); } - }*/ + } //end added IncrementalUpdateInformation iui = IncrementalUpdateHelper.writeIncrementalUpdate(pdfDataSource, pdf_table, profile, pi, variable_field_definitions, all_field_definitions, invisible_field_definitions, invKZString, timeStamper, null, signature_object); -- cgit v1.2.3