public class WidgetAnnotationValidator extends AnnotationValidator
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationWidget |
pdWidget
PDFBox object which wraps the annotation dictionary
|
annotDictionary, ctx, pdAnnot| Constructor and Description |
|---|
WidgetAnnotationValidator(PreflightContext ctx,
org.apache.pdfbox.cos.COSDictionary annotDictionary) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkAAField()
The AA field is forbidden for the Widget annotation when the PDF is a PDF/A.
|
boolean |
validate()
In addition of the AnnotationValidator.validate() method, this method executes the checkAAField method.
|
checkActions, checkAP, checkCA, checkColors, checkFlags, checkMandatoryFields, checkPopup, checkSpecificMandatoryFields, searchRGBProfile, setFactoryprotected org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationWidget pdWidget
public WidgetAnnotationValidator(PreflightContext ctx, org.apache.pdfbox.cos.COSDictionary annotDictionary)
public boolean validate()
throws ValidationException
validate in class AnnotationValidatorValidationExceptionAnnotationValidator.validate()protected boolean checkAAField()
Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.