aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter/wag/egov/egiz
diff options
context:
space:
mode:
authorpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-11-08 12:51:28 +0000
committerpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-11-08 12:51:28 +0000
commitb1eb4a56149819ea97665b8e15a2d62876794534 (patch)
tree8d0e3ac562a299123ac81c2f7fdfb4fcc2c85432 /src/main/java/at/knowcenter/wag/egov/egiz
parent89a45b322b16d3c3a949b552f4fb4f07f2914817 (diff)
downloadpdf-as-3-b1eb4a56149819ea97665b8e15a2d62876794534.tar.gz
pdf-as-3-b1eb4a56149819ea97665b8e15a2d62876794534.tar.bz2
pdf-as-3-b1eb4a56149819ea97665b8e15a2d62876794534.zip
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@602 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/knowcenter/wag/egov/egiz')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/pdf/PDFSignatureObjectIText.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/pdf/PDFSignatureObjectIText.java b/src/main/java/at/knowcenter/wag/egov/egiz/pdf/PDFSignatureObjectIText.java
index 5c1cddb..94abc17 100644
--- a/src/main/java/at/knowcenter/wag/egov/egiz/pdf/PDFSignatureObjectIText.java
+++ b/src/main/java/at/knowcenter/wag/egov/egiz/pdf/PDFSignatureObjectIText.java
@@ -208,6 +208,7 @@ public class PDFSignatureObjectIText implements PDFSignatureObject
int align = -1;
if (type == Entry.TYPE_VALUE && cellStyle.getValueVAlign() != null)
align = ((Integer) alignMap_.get(cellStyle.getValueVAlign())).intValue();
+ //Note: to change the default valign of images to those of values, change the if construct below
else if (type == Entry.TYPE_IMAGE && cellStyle.getImageVAlign() != null)
align = ((Integer) alignMap_.get(cellStyle.getImageVAlign())).intValue();
else if (cellStyle.getVAlign() != null)
@@ -218,6 +219,7 @@ public class PDFSignatureObjectIText implements PDFSignatureObject
align = -1;
if (type == Entry.TYPE_VALUE && cellStyle.getValueHAlign() != null)
align = ((Integer) alignMap_.get(cellStyle.getValueHAlign())).intValue();
+ //Note: to change the default halign of images to those of values, change the if construct below
else if (type == Entry.TYPE_IMAGE && cellStyle.getImageHAlign() != null)
align = ((Integer) alignMap_.get(cellStyle.getImageHAlign())).intValue();
else if (cellStyle.getHAlign() != null)