| Modifier and Type | Field and Description |
|---|---|
| protected PDAnnotationWidget | pdWidget
PDFBox object which wraps the annotation dictionary |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | Returns: false if the forbidden AA field is existing.The AA field is forbidden for the Widget annotation when the PDF is a PDF/A. |
| public boolean | validate()
Overrides org. In addition of the AnnotationValidator.validate() method, this method executes the checkAAField method. |
| pdWidget | back to summary |
|---|---|
| protected PDAnnotationWidget pdWidget PDFBox object which wraps the annotation dictionary | |
| WidgetAnnotationValidator | back to summary |
|---|---|
| public WidgetAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary) | |
| checkAAField | back to summary |
|---|---|
| protected boolean checkAAField() The AA field is forbidden for the Widget annotation when the PDF is a PDF/A. This method return false and update the errors list if this key is present. returns true otherwise
| |
| validate | back to summary |
|---|---|
| public boolean validate() throws ValidationException Overrides org. In addition of the AnnotationValidator.validate() method, this method executes the checkAAField method.
| |