aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter
diff options
context:
space:
mode:
authorferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-11-19 14:14:49 +0000
committerferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-11-19 14:14:49 +0000
commit2226daf4acb2bd6f5a81406df91f53522245cde7 (patch)
treeb3f9cefaba1317363ca201c7e80243583c6088e0 /src/main/java/at/knowcenter
parentd0d278c9c033bfef4491e4a05738f32c305581d8 (diff)
downloadpdf-as-3-2226daf4acb2bd6f5a81406df91f53522245cde7.tar.gz
pdf-as-3-2226daf4acb2bd6f5a81406df91f53522245cde7.tar.bz2
pdf-as-3-2226daf4acb2bd6f5a81406df91f53522245cde7.zip
added non text oject info
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@439 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/knowcenter')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/PdfAS.java11
1 files changed, 11 insertions, 0 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 1340f4d..621b96f 100644
--- a/src/main/java/at/knowcenter/wag/egov/egiz/PdfAS.java
+++ b/src/main/java/at/knowcenter/wag/egov/egiz/PdfAS.java
@@ -32,6 +32,7 @@ import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import at.gv.egiz.pdfas.algorithmSuite.AlgorithmSuiteUtil;
+import at.gv.egiz.pdfas.api.analyze.NonTextObjectInfo;
import at.gv.egiz.pdfas.api.timestamp.TimeStamper;
import at.gv.egiz.pdfas.commandline.CommandlineConnectorChooser;
import at.gv.egiz.pdfas.exceptions.ErrorCode;
@@ -1090,6 +1091,16 @@ public abstract class PdfAS
// return extractNormalizedTextTextual(pdf, pdf.length);
// }
+ /**
+ *
+ * @param pdfDs
+ * @return List of {@link NonTextObjectInfo}
+ */
+ public static List extractNonTextualObjects(PdfDataSource pdfDs) {
+ return TextualSignature.extractNonTextInfo(pdfDs);
+ }
+
+
public static String extractNormalizedTextTextual(PdfDataSource pdfDataSource) throws PresentableException
{
String raw_document_text = TextualSignature.extractTextTextual(pdfDataSource);