Class AnnotationCheckUtil
java.lang.Object
com.itextpdf.pdfua.checkers.utils.AnnotationCheckUtil
Class that provides methods for checking PDF/UA compliance of annotations.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Helper class that checks the conformance of annotations while iterating the tag tree structure. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isAnnotationVisible
(PdfDictionary annotDict) Is annotation visible:true
if hidden flag isn't set and annotation intersects CropBox (default value is MediaBox).
-
Constructor Details
-
AnnotationCheckUtil
private AnnotationCheckUtil()
-
-
Method Details
-
isAnnotationVisible
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, otherwisefalse
-