Class PdfUA1AnnotationChecker

java.lang.Object
com.itextpdf.pdfua.checkers.utils.ua1.PdfUA1AnnotationChecker

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

    • isAnnotationVisible

      public static boolean isAnnotationVisible (PdfDictionary annotDict)
      Is annotation visible: true if hidden flag isn't set and annotation intersects CropBox (default value is MediaBox).
      Parameters:
      annotDict - annotation to check
      Returns:
      true if annotation should be checked, otherwise false
    • checkElement

      public static void checkElement (PdfUAValidationContext context, IStructureNode elem)