From 8b685152cad0817721f2ec3f76bbae0d3557ae31 Mon Sep 17 00:00:00 2001 From: ferbas Date: Thu, 19 Nov 2009 14:21:52 +0000 Subject: added non text oject info git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@443 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../wag/egov/egiz/framework/signators/TextualSignator_1_0_0.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/java/at/knowcenter/wag') diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/framework/signators/TextualSignator_1_0_0.java b/src/main/java/at/knowcenter/wag/egov/egiz/framework/signators/TextualSignator_1_0_0.java index a15250a..7bd7d5f 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/framework/signators/TextualSignator_1_0_0.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/framework/signators/TextualSignator_1_0_0.java @@ -17,6 +17,8 @@ */ package at.knowcenter.wag.egov.egiz.framework.signators; +import java.util.ArrayList; + import at.gv.egiz.pdfas.framework.input.DataSource; import at.gv.egiz.pdfas.framework.input.PdfDataSource; import at.gv.egiz.pdfas.impl.input.TextDataSourceImpl; @@ -30,6 +32,7 @@ import at.knowcenter.wag.egov.egiz.framework.SignatorFactory; import at.knowcenter.wag.egov.egiz.pdf.IncrementalUpdateInformation; import at.knowcenter.wag.egov.egiz.pdf.PositioningInstruction; import at.knowcenter.wag.egov.egiz.pdf.TablePos; +import at.knowcenter.wag.egov.egiz.pdf.TextualSignature; import at.knowcenter.wag.egov.egiz.sig.SignatureDataImpl; import at.knowcenter.wag.egov.egiz.sig.SignatureObject; import at.knowcenter.wag.egov.egiz.sig.signatureobject.SignatureObjectHelper; @@ -92,6 +95,7 @@ public class TextualSignator_1_0_0 implements Signator iui.pos = pos; String document_text = PdfAS.extractNormalizedTextTextual(pdf); + iui.nonTextObjectInfos = PdfAS.extractNonTextualObjects(pdf); // logger_.debug("signed_text = " + document_text); DataSource ds = new TextDataSourceImpl(document_text); -- cgit v1.2.3