public class ConversionOptions extends NativeObject
Converter.convert(com.pdftools.pdfa.validation.AnalysisResult, com.pdftools.pdf.Document, com.pdftools.sys.Stream)| Constructor | Description |
|---|---|
ConversionOptions() |
| Modifier and Type | Method | Description |
|---|---|---|
Conformance |
getConformance() |
The minimal target conformance (Getter)
|
void |
setConformance(Conformance value) |
The minimal target conformance (Setter)
|
equals, hashCodepublic Conformance getConformance()
If a conformance is set, it is used as the minimal target conformance.
The PDF/A version of the conformance must match the PDF/A version of the analysisOptions of pdftools.pdfa.validation.Validator.analyze.
If the conformance level cannot be achieved, the conversion will abort with the error ConformanceException.
If a higher conformance level can be achieved, it is used automatically.
If null is used, the optimal conformance determined in the analysis
(i.e. pdftools.pdfa.validation.AnalysisResult.getRecommendedConformance) is used.
It is highly recommended to use null.
Default value: null
public void setConformance(Conformance value)
If a conformance is set, it is used as the minimal target conformance.
The PDF/A version of the conformance must match the PDF/A version of the analysisOptions of pdftools.pdfa.validation.Validator.analyze.
If the conformance level cannot be achieved, the conversion will abort with the error ConformanceException.
If a higher conformance level can be achieved, it is used automatically.
If null is used, the optimal conformance determined in the analysis
(i.e. pdftools.pdfa.validation.AnalysisResult.getRecommendedConformance) is used.
It is highly recommended to use null.
Default value: null