aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at')
-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);