Class AnnotationCheckUtil


  • public final class AnnotationCheckUtil
    extends java.lang.Object
    Class that provides methods for checking PDF/UA compliance of annotations.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  AnnotationCheckUtil.AnnotationHandler
      Helper class that checks the conformance of annotations while iterating the tag tree structure.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private AnnotationCheckUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isAnnotationVisible​(PdfDictionary annotDict)
      Is annotation visible: true if hidden flag isn't set and annotation intersects CropBox (default value is MediaBox).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnnotationCheckUtil

        private AnnotationCheckUtil()
    • 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