Class PdfUA1FormChecker
java.lang.Object
com.itextpdf.pdfua.checkers.utils.ua1.PdfUA1FormChecker
Class that provides methods for checking PDF/UA-1 compliance of interactive form fields.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classHandler for checking form field elements in the tag tree. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidChecks "Form" structure element.private static booleancontainsRole(PdfStructElem structElem) private static PdfDictionarygetInteractiveKidForm(PdfStructElem structElem) Gets a widget annotation kid if it exists.
-
Constructor Details
-
PdfUA1FormChecker
private PdfUA1FormChecker()Creates a newPdfUA1FormCheckerinstance.
-
-
Method Details
-
checkFormStructElement
Checks "Form" structure element.- Parameters:
form- structure element to check- Throws:
PdfUAConformanceException- if document has incorrect tag structure forFormtag
-
getInteractiveKidForm
Gets a widget annotation kid if it exists.- Parameters:
structElem- parent structure element- Returns:
- kid as
PdfDictionary
-
containsRole
-