public abstract class SquareCircleAnnotationValidator extends AnnotationValidator
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationSquareCircle |
pdSquareCircle
PDFBox object which wraps the annotation dictionary
|
annotDictionary, ctx, pdAnnot| Constructor and Description |
|---|
SquareCircleAnnotationValidator(PreflightContext ctx,
org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationSquareCircle annotation) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkIColors()
Return true if the IC field is present in the Annotation dictionary and if the RGB profile is used in the
DestOutputProfile of the OutputIntent dictionary.
|
boolean |
validate()
In addition of the AnnotationValidator.validate() method, this method executes the checkIColors method.
|
checkActions, checkAP, checkCA, checkColors, checkFlags, checkMandatoryFields, checkPopup, checkSpecificMandatoryFields, searchRGBProfile, setFactoryprotected org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationSquareCircle pdSquareCircle
public SquareCircleAnnotationValidator(PreflightContext ctx, org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationSquareCircle annotation)
public boolean validate()
throws ValidationException
validate in class AnnotationValidatorValidationExceptionAnnotationValidator.validate()protected boolean checkIColors()
throws ValidationException
ValidationExceptionCopyright © 2002–2025 The Apache Software Foundation. All rights reserved.