public class ExtGStateValidationProcess extends AbstractProcess
| Constructor and Description |
|---|
ExtGStateValidationProcess() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkTR2Key(PreflightContext context,
COSDictionary egs)
Check the TR2 entry.
|
protected void |
checkTRKey(PreflightContext context,
COSDictionary egs)
Check the TR entry.
|
List<COSDictionary> |
extractExtGStateDictionaries(PreflightContext context,
COSDictionary egsEntry)
Create a list of ExtGState dictionaries using the given Resource dictionary and the COSDocument.
|
void |
validate(PreflightContext context)
Validate the ExtGState dictionaries.
|
protected void |
validateTransparencyRules(PreflightContext context,
List<COSDictionary> listOfExtGState)
Validate all ExtGState dictionaries of this container
|
addValidationError, addValidationErrorspublic void validate(PreflightContext context) throws ValidationException
context - the context which contains the Resource dictionary.ValidationException - thrown if a the Extended Graphic State isn't valid.public List<COSDictionary> extractExtGStateDictionaries(PreflightContext context, COSDictionary egsEntry) throws ValidationException
context - the context which contains the Resource dictionary.egsEntry - a resource COSDictionary.ValidationException - thrown if a the Extended Graphic State isn't valid.protected void validateTransparencyRules(PreflightContext context, List<COSDictionary> listOfExtGState)
context - the preflight context.listOfExtGState - a list of ExtGState COSDictionaries.protected void checkTRKey(PreflightContext context, COSDictionary egs)
context - the preflight contextegs - the graphic state to checkprotected void checkTR2Key(PreflightContext context, COSDictionary egs)
context - the preflight contextegs - the graphic state to checkCopyright © 2015–2021 The veraPDF Consortium. All rights reserved.