Class AnnotationCheckUtil
- java.lang.Object
-
- com.itextpdf.pdfua.checkers.utils.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).
-
-
-
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, otherwisefalse
-
-