aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/pdfas
diff options
context:
space:
mode:
authorpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-11-04 16:35:10 +0000
committerpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-11-04 16:35:10 +0000
commit89a45b322b16d3c3a949b552f4fb4f07f2914817 (patch)
tree4cfbc1a02fae77cb9180d51061a31f24236bfe0e /src/main/java/at/gv/egiz/pdfas
parentab57bf058107ad9ea251dfb8e3fc576834ea9f68 (diff)
downloadpdf-as-3-89a45b322b16d3c3a949b552f4fb4f07f2914817.tar.gz
pdf-as-3-89a45b322b16d3c3a949b552f4fb4f07f2914817.tar.bz2
pdf-as-3-89a45b322b16d3c3a949b552f4fb4f07f2914817.zip
- 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
Diffstat (limited to 'src/main/java/at/gv/egiz/pdfas')
-rw-r--r--src/main/java/at/gv/egiz/pdfas/impl/signator/binary/BinarySignator_1_0_0.java5
1 files changed, 2 insertions, 3 deletions
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);