From 89a45b322b16d3c3a949b552f4fb4f07f2914817 Mon Sep 17 00:00:00 2001 From: pdanner Date: Thu, 4 Nov 2010 16:35:10 +0000 Subject: - Added image[valign|halign] config parameters to allow separate alignment of images. - Normalization of value cell values does not remove multiple newlines any more git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@601 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../at/gv/egiz/pdfas/impl/signator/binary/BinarySignator_1_0_0.java | 5 ++--- 1 file changed, 2 insertions(+), 3 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 bdb5fdb..e1257dc 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 @@ -17,7 +17,6 @@ */ package at.gv.egiz.pdfas.impl.signator.binary; -import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; @@ -42,7 +41,6 @@ import at.gv.egiz.pdfas.framework.signator.SignatorInformation; import at.gv.egiz.pdfas.impl.input.CompoundPdfDataSourceImpl; import at.gv.egiz.pdfas.impl.signator.IncrementalUpdateHelper; import at.gv.egiz.pdfas.utils.OgnlUtil; -import at.gv.egiz.pdfas.utils.PDFASUtils; import at.knowcenter.wag.egov.egiz.PdfAS; import at.knowcenter.wag.egov.egiz.PdfASID; import at.knowcenter.wag.egov.egiz.cfg.SettingsReader; @@ -87,6 +85,7 @@ import com.lowagie.text.pdf.PdfPTable; */ public class BinarySignator_1_0_0 implements Signator { +// 04.11.2010 changed by exthex - fillReplacesWithValue no longer removes multiple newlines from values private static Log log = LogFactory.getLog(BinarySignator_1_0_0.class); @@ -338,7 +337,7 @@ public class BinarySignator_1_0_0 implements Signator // evaluate expression String res = ognl.compileMessage(ri.sfd.value); - ri.value = this.normalizer.normalize(res); + ri.value = this.normalizer.normalize(res, true); } else { ri.value = iui.signed_signature_object.retrieveStringValue(ri.sfd.field_name); -- cgit v1.2.3