pdftools_sdk.pdf_a.validation.analysis_options

Classes

AnalysisOptions()

The PDF/A analysis options

class pdftools_sdk.pdf_a.validation.analysis_options.AnalysisOptions[source]

Bases: _NativeObject

The PDF/A analysis options

Options for the analysis of documents using the validator’s method pdftools_sdk.pdf_a.validation.validator.Validator.analyze in preparation for the document’s conversion to PDF/A.

__init__()[source]
property conformance: Conformance

The PDF/A conformance to validate

It is recommended to use:
  • The input document’s claimed conformance pdftools_sdk.pdf.document.Document.conformance, if it is an acceptable conversion conformance.

No conversion is needed, if the analysis result’s property pdftools_sdk.pdf_a.validation.analysis_result.AnalysisResult.is_conversion_recommended is False.
  • PDF/A-2b for the conversion to PDF/A-2. This is the recommended value for all other input documents.

  • PDF/A-3b for the conversion to PDF/A-3

  • PDF/A-1b for the conversion to PDF/A-1

Default: “PDF/A-2b”

Returns:

Conformance

property strict_mode: bool

Whether to enable additional, strict validation checks

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 pdftools_sdk.pdf_a.validation.analysis_result.AnalysisResult.is_conversion_recommended.

Default: True

Returns:

bool