aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-12-02 16:14:54 +0000
committerferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-12-02 16:14:54 +0000
commit4faabc7bedd389acab4027b1394d4895c971d070 (patch)
treebaba5459d1eb436315abccfe9317ff73f3c37145 /src/main/java/at
parentc6cc43d237021fe27a9c264c807d00c9a711464b (diff)
downloadpdf-as-3-4faabc7bedd389acab4027b1394d4895c971d070.tar.gz
pdf-as-3-4faabc7bedd389acab4027b1394d4895c971d070.tar.bz2
pdf-as-3-4faabc7bedd389acab4027b1394d4895c971d070.zip
added annotation extraction with pdfbox 0.8.0
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@470 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.java5
1 files changed, 3 insertions, 2 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 eea78f8..51cd584 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
@@ -32,6 +32,7 @@ import at.knowcenter.wag.egov.egiz.PdfASID;
import at.knowcenter.wag.egov.egiz.exceptions.PresentableException;
import at.knowcenter.wag.egov.egiz.framework.SignatorFactory;
import at.knowcenter.wag.egov.egiz.pdf.IncrementalUpdateInformation;
+import at.knowcenter.wag.egov.egiz.pdf.ObjectExtractor;
import at.knowcenter.wag.egov.egiz.pdf.PositioningInstruction;
import at.knowcenter.wag.egov.egiz.pdf.TablePos;
import at.knowcenter.wag.egov.egiz.pdf.TextualSignature;
@@ -105,7 +106,7 @@ public class TextualSignator_1_0_0 implements Signator
tsi.pos = pos;
String document_text = PdfAS.extractNormalizedTextTextual(pdfDataSource);
- tsi.setNonTextualObjects(TextualSignature.extractNonTextInfo(pdfDataSource));
+ tsi.setNonTextualObjects(ObjectExtractor.extractNonTextInfo(pdfDataSource));
// logger_.debug("signed_text = " + document_text);
DataSource ds = new TextDataSourceImpl(document_text);
@@ -141,7 +142,7 @@ public class TextualSignator_1_0_0 implements Signator
PositioningInstruction pi = PdfAS.determineTablePositioning(tsi.pos, tsi.profile, tsi.originalDocument, pdf_table);
- IncrementalUpdateInformation iui = IncrementalUpdateHelper.writeIncrementalUpdateToDataSink(tsi.originalDocument, dataSink, pdf_table, tsi.profile, pi, null);
+ IncrementalUpdateInformation iui = IncrementalUpdateHelper.writeIncrementalUpdateToDataSink(tsi.originalDocument, dataSink, pdf_table, tsi.profile, pi, null, signatorInformation);
tsi.atp = iui.actualTablePos;
// OutputStream os = dataSink.createOutputStream(PdfAS.PDF_MIME_TYPE);