diff options
author | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2009-11-19 14:21:52 +0000 |
---|---|---|
committer | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2009-11-19 14:21:52 +0000 |
commit | 8b685152cad0817721f2ec3f76bbae0d3557ae31 (patch) | |
tree | 0f444dde765a3ab890644711ac2b4bd8ab38ae78 /src/main/java | |
parent | 99a6bce4a0db1dc73862be60e298c41d5d006ab1 (diff) | |
download | pdf-as-3-8b685152cad0817721f2ec3f76bbae0d3557ae31.tar.gz pdf-as-3-8b685152cad0817721f2ec3f76bbae0d3557ae31.tar.bz2 pdf-as-3-8b685152cad0817721f2ec3f76bbae0d3557ae31.zip |
added non text oject info
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@443 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/framework/signators/TextualSignator_1_0_0.java | 4 |
1 files changed, 4 insertions, 0 deletions
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);
|