Class WellTaggedPdfForAccessibilityChecker

java.lang.Object
com.itextpdf.pdfua.checkers.PdfUAChecker
com.itextpdf.pdfua.checkers.PdfUA2Checker
com.itextpdf.pdfua.wtpdf.WellTaggedPdfForAccessibilityChecker
All Implemented Interfaces:
IValidationChecker
Direct Known Subclasses:
WellTaggedPdfForReuseChecker

public class WellTaggedPdfForAccessibilityChecker extends PdfUA2Checker
Checker that validates a PDF document against the Well Tagged PDF for Accessibility standard.
  • Constructor Details

    • WellTaggedPdfForAccessibilityChecker

      public WellTaggedPdfForAccessibilityChecker (PdfDocument pdfDocument)
      Creates a new WellTaggedPdfForAccessibilityChecker instance.

      The created checker will validate the provided document against the WTPDF for Accessibility standard.

      Parameters:
      pdfDocument - the PdfDocument to validate; must not be null
  • Method Details

    • checkMetadata

      protected void checkMetadata (PdfCatalog catalog)
      Checks that the Catalog dictionary of a conforming file contains the Metadata key whose value is a metadata stream as defined in ISO 32000-2:2020.

      Checks that the Metadata stream as specified in ISO 32000-2:2020, 14.3 in the document catalog dictionary includes a dc: title entry reflecting the title of the document.

      Overrides:
      checkMetadata in class PdfUA2Checker
      Parameters:
      catalog - PdfCatalog document catalog dictionary