public class SquareCircleAnnotationValidator extends AnnotationValidator
Modifier and Type | Field and Description |
---|---|
protected PDAnnotationSquareCircle |
pdSquareCircle
PDFBox object which wraps the annotation dictionary
|
annotDictionary, ctx, pdAnnot
Constructor and Description |
---|
SquareCircleAnnotationValidator(PreflightContext ctx,
COSDictionary annotDictionary) |
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, setFactory
protected PDAnnotationSquareCircle pdSquareCircle
public SquareCircleAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary)
public boolean validate() throws ValidationException
validate
in class AnnotationValidator
ValidationException
AnnotationValidator.validate()
protected boolean checkIColors() throws ValidationException
ValidationException
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.