aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-11-19 14:12:21 +0000
committerferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-11-19 14:12:21 +0000
commit4f2eb8067727669610cb7cb104d154a62259ea2f (patch)
treec6874d43e3b7f5b47dfe34dab1203d65db48cdac /src/main/java/at
parent5d95c519cb6b12d7d4ffaf009a54929bb749b839 (diff)
downloadpdf-as-3-4f2eb8067727669610cb7cb104d154a62259ea2f.tar.gz
pdf-as-3-4f2eb8067727669610cb7cb104d154a62259ea2f.tar.bz2
pdf-as-3-4f2eb8067727669610cb7cb104d154a62259ea2f.zip
added non text oject info
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@436 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/gv/egiz/pdfas/impl/signator/textual/TextualSignator_1_0_0.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/gv/egiz/pdfas/impl/signator/textual/TextualSignator_1_0_0.java b/src/main/java/at/gv/egiz/pdfas/impl/signator/textual/TextualSignator_1_0_0.java
index ef3174f..eea78f8 100644
--- a/src/main/java/at/gv/egiz/pdfas/impl/signator/textual/TextualSignator_1_0_0.java
+++ b/src/main/java/at/gv/egiz/pdfas/impl/signator/textual/TextualSignator_1_0_0.java
@@ -34,6 +34,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.SignatureTypeDefinition;
@@ -104,6 +105,7 @@ public class TextualSignator_1_0_0 implements Signator
tsi.pos = pos;
String document_text = PdfAS.extractNormalizedTextTextual(pdfDataSource);
+ tsi.setNonTextualObjects(TextualSignature.extractNonTextInfo(pdfDataSource));
// logger_.debug("signed_text = " + document_text);
DataSource ds = new TextDataSourceImpl(document_text);