public class AnalysisOptions extends NativeObject
Validator.analyze(com.pdftools.pdf.Document) in preparation for the document's conversion to PDF/A.| Constructor | Description |
|---|---|
AnalysisOptions() |
| Modifier and Type | Method | Description |
|---|---|---|
Conformance |
getConformance() |
The PDF/A conformance to validate (Getter)
|
boolean |
getStrictMode() |
Whether to enable additional, strict validation checks (Getter)
|
void |
setConformance(Conformance value) |
The PDF/A conformance to validate (Setter)
|
void |
setStrictMode(boolean value) |
Whether to enable additional, strict validation checks (Setter)
|
equals, hashCodepublic Conformance getConformance()
It is recommended to use:
pdftools.pdf.Document.getConformance, if it is an acceptable conversion conformance.
No conversion is needed, if the analysis result's property AnalysisResult.getIsConversionRecommended() is false.
Default: "PDF/A-2b"
public void setConformance(Conformance value)
It is recommended to use:
pdftools.pdf.Document.getConformance, if it is an acceptable conversion conformance.
No conversion is needed, if the analysis result's property AnalysisResult.getIsConversionRecommended() is false.
Default: "PDF/A-2b"
java.lang.IllegalArgumentException - if value is nullpublic boolean getStrictMode()
Whether to check for potential issues that are corner cases of the PDF/A ISO Standard in which a conversion is strongly advised.
Also see the documentation of AnalysisResult.getIsConversionRecommended().
Default: true
public void setStrictMode(boolean value)
Whether to check for potential issues that are corner cases of the PDF/A ISO Standard in which a conversion is strongly advised.
Also see the documentation of AnalysisResult.getIsConversionRecommended().
Default: true