pdftools_sdk.ocr.warning_category

Classes

WarningCategory(*values)

The category of OCR warnings

class pdftools_sdk.ocr.warning_category.WarningCategory(*values)[source]

Bases: IntEnum

The category of OCR warnings

Variables:
  • OCR (int) – An OCR-related warning, e.g. if the page resolution is outside the optimal range.

  • TAGGING (int) – A tagging-related warning.

  • TEXT (int) – A text processing warning.

  • SIGNED_DOCUMENT (int) – A warning related to signed documents, e.g. that signatures will be invalidated.

OCR = 1
TAGGING = 2
TEXT = 3
SIGNED_DOCUMENT = 4