diff options
author | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2009-11-19 14:14:49 +0000 |
---|---|---|
committer | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2009-11-19 14:14:49 +0000 |
commit | 2226daf4acb2bd6f5a81406df91f53522245cde7 (patch) | |
tree | b3f9cefaba1317363ca201c7e80243583c6088e0 /src/main/java | |
parent | d0d278c9c033bfef4491e4a05738f32c305581d8 (diff) | |
download | pdf-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')
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/PdfAS.java | 11 |
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);
|