aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/pdfas
diff options
context:
space:
mode:
authorpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-11-29 14:18:14 +0000
committerpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-11-29 14:18:14 +0000
commit2643dec4ecd56620d35d96518b76932dfe0419bb (patch)
tree89e1ba41e5ff3fbe6e7b2668d107ef1f55211f09 /src/main/java/at/gv/egiz/pdfas
parentca9df017294578c78d31784d9404ff948af2594a (diff)
downloadpdf-as-3-2643dec4ecd56620d35d96518b76932dfe0419bb.tar.gz
pdf-as-3-2643dec4ecd56620d35d96518b76932dfe0419bb.tar.bz2
pdf-as-3-2643dec4ecd56620d35d96518b76932dfe0419bb.zip
added hasbeencorrected flag
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@617 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/gv/egiz/pdfas')
-rw-r--r--src/main/java/at/gv/egiz/pdfas/api/analyze/AnalyzeParameters.java2
-rw-r--r--src/main/java/at/gv/egiz/pdfas/api/analyze/AnalyzeResult.java9
2 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/at/gv/egiz/pdfas/api/analyze/AnalyzeParameters.java b/src/main/java/at/gv/egiz/pdfas/api/analyze/AnalyzeParameters.java
index b0ad28b..91d471a 100644
--- a/src/main/java/at/gv/egiz/pdfas/api/analyze/AnalyzeParameters.java
+++ b/src/main/java/at/gv/egiz/pdfas/api/analyze/AnalyzeParameters.java
@@ -35,6 +35,8 @@ public class AnalyzeParameters
protected boolean returnNonTextualObjects = false;
+ protected boolean hasBeenCorrected = false;
+
/**
* @return the document
*/
diff --git a/src/main/java/at/gv/egiz/pdfas/api/analyze/AnalyzeResult.java b/src/main/java/at/gv/egiz/pdfas/api/analyze/AnalyzeResult.java
index a1aabb4..1e290a3 100644
--- a/src/main/java/at/gv/egiz/pdfas/api/analyze/AnalyzeResult.java
+++ b/src/main/java/at/gv/egiz/pdfas/api/analyze/AnalyzeResult.java
@@ -29,6 +29,15 @@ public interface AnalyzeResult
public List getSignatures() throws PdfAsException;
public List getNoSignatures();
+
+ /**
+ * Tells if the document has been corrected before verification. The correction maybe done
+ * after a first failing parse to repair a document (if enabled in the configuration
+ * <code>correct_document_on_verify_if_necessary</code>). The correction can only work for textual
+ * signatures. Binary signatures are lost anyhow.
+ * @return
+ */
+ public boolean hasBeenCorrected();
}