From 6ff68a25387d1dc03a5614c27dd5b90569d44176 Mon Sep 17 00:00:00 2001 From: wprinz Date: Fri, 30 May 2008 09:54:32 +0000 Subject: CR Unsichtbare Felder git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@263 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- src/main/java/at/knowcenter/wag/egov/egiz/PdfAS.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/PdfAS.java b/src/main/java/at/knowcenter/wag/egov/egiz/PdfAS.java index 4c0ae44..c0e340c 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/PdfAS.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/PdfAS.java @@ -53,6 +53,7 @@ import at.knowcenter.wag.egov.egiz.exceptions.SignatureException; import at.knowcenter.wag.egov.egiz.exceptions.SignatureTypesException; import at.knowcenter.wag.egov.egiz.framework.FoundBlock; import at.knowcenter.wag.egov.egiz.framework.FoundKey; +import at.knowcenter.wag.egov.egiz.pdf.AbsoluteTextSignature; import at.knowcenter.wag.egov.egiz.pdf.BinarySignatureHolder; import at.knowcenter.wag.egov.egiz.pdf.PDFSignatureCreation; import at.knowcenter.wag.egov.egiz.pdf.PDFSignatureObject; @@ -91,7 +92,7 @@ import com.lowagie.text.pdf.PdfReader; public abstract class PdfAS { - public static final String PDFAS_VERSION = "3.0.4-20080424"; + public static final String PDFAS_VERSION = "3.0.5-20080529"; /** * The key of the strict mode setting. */ @@ -345,8 +346,7 @@ public abstract class PdfAS */ public static TextualSignatureHolder extractSignatureHolderTextual(String raw_text, boolean old_style) throws SignatureException, SignatureTypesException, NormalizeException { - SignatureTypes sig_types = SignatureTypes.getInstance(); - List signatureTypes_ = sig_types.getSignatureTypeDefinitions(); + List signatureTypes_ = AbsoluteTextSignature.getSignatureTypesForTextAnalysis(); List found_blocks = new ArrayList(); for (int cur_type = 0; cur_type < signatureTypes_.size(); cur_type++) -- cgit v1.2.3