From 999e78cab42a69fa0b7b3a1a890fe81173e66bef Mon Sep 17 00:00:00 2001 From: tknall Date: Thu, 27 Jan 2011 18:27:38 +0000 Subject: re-enabling /Alt Text git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@737 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- src/main/java/at/knowcenter/wag/egov/egiz/pdf/StructContentHelper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)); -- cgit v1.2.3