public class ShaddingPatternValidationProcess extends AbstractProcess
| Constructor and Description |
|---|
ShaddingPatternValidationProcess() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkColorSpace(PreflightContext context,
PDPage page,
PDShadingResources shadingRes)
Checks if the ColorSapce entry is consistent which rules of the PDF Reference and the ISO 190005-1:2005
Specification.
|
protected void |
checkGraphicState(PreflightContext context,
PDPage page,
PDShadingResources shadingRes)
Check the Extended Graphic State contains in the ShadingPattern dictionary if it is present.
|
void |
validate(PreflightContext context) |
addValidationError, addValidationErrorspublic void validate(PreflightContext context) throws ValidationException
ValidationExceptionprotected void checkColorSpace(PreflightContext context, PDPage page, PDShadingResources shadingRes) throws ValidationException
shadingRes - the Shading pattern to checkValidationExceptionprotected void checkGraphicState(PreflightContext context, PDPage page, PDShadingResources shadingRes) throws ValidationException
ValidationExceptionCopyright © 2002–2019 The Apache Software Foundation. All rights reserved.