Class PdfUA1AnnotationChecker


  • public final class PdfUA1AnnotationChecker
    extends java.lang.Object
    Class that provides methods for checking PDF/UA-1 compliance of annotations.
    • Constructor Detail

      • PdfUA1AnnotationChecker

        private PdfUA1AnnotationChecker()
    • Method Detail

      • 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
      • checkAAEntry

        static void checkAAEntry​(PdfDictionary additionalActions)