aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-01-27 18:27:38 +0000
committertknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-01-27 18:27:38 +0000
commit999e78cab42a69fa0b7b3a1a890fe81173e66bef (patch)
tree4c985c695018280b6ab6d0639de12ae067a53f57
parent2a919c58dae02da975b1a2c0ea485f4338305b9d (diff)
downloadpdf-as-3-999e78cab42a69fa0b7b3a1a890fe81173e66bef.tar.gz
pdf-as-3-999e78cab42a69fa0b7b3a1a890fe81173e66bef.tar.bz2
pdf-as-3-999e78cab42a69fa0b7b3a1a890fe81173e66bef.zip
re-enabling /Alt Text
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@737 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/pdf/StructContentHelper.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/pdf/StructContentHelper.java b/src/main/java/at/knowcenter/wag/egov/egiz/pdf/StructContentHelper.java
index 54b6ec8..2592b04 100644
--- a/src/main/java/at/knowcenter/wag/egov/egiz/pdf/StructContentHelper.java
+++ b/src/main/java/at/knowcenter/wag/egov/egiz/pdf/StructContentHelper.java
@@ -16,6 +16,7 @@ import com.lowagie.text.pdf.PdfNumber;
import com.lowagie.text.pdf.PdfObject;
import com.lowagie.text.pdf.PdfStamper;
import com.lowagie.text.pdf.PdfStamperImp;
+import com.lowagie.text.pdf.PdfString;
/**
* Helper class for writing the structure hierarchy of the signature elements.
@@ -160,7 +161,7 @@ public class StructContentHelper {
newStruct.put(PdfName.TYPE, new PdfName("StructElem"));
newStruct.put(PdfName.PG, page.getIndRef());
- // newStruct.put(PdfName.ALT, new PdfString(getAltText(so.getSignatureTypeDefinition().getType())));
+ newStruct.put(PdfName.ALT, new PdfString(getAltText(so.getSignatureTypeDefinition().getType())));
newStruct.put(PdfName.K, new PdfNumber(nextMcid));