Class PdfUA2AnnotationChecker

java.lang.Object
com.itextpdf.pdfua.checkers.utils.ua2.PdfUA2AnnotationChecker

public final class PdfUA2AnnotationChecker extends Object
Class that provides methods for checking PDF/UA-2 compliance of annotations.
  • Method Details

    • checkAnnotations

      public static void checkAnnotations (PdfDocument pdfDocument)
      Checks PDF/UA-2 compliance of the annotations.
      Parameters:
      pdfDocument - PdfDocument to check annotations for
    • checkAnnotation

      public static void checkAnnotation (PdfDictionary annotation, PdfUAValidationContext context)
      Checks PDF/UA-2 compliance of the annotation.
      Parameters:
      annotation - the annotation dictionary to check
      context - PdfUAValidationContext used to find the structure node enclosing the annotation using its StructParent value