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, addValidationErrors
public void validate(PreflightContext context) throws ValidationException
ValidationException
protected void checkColorSpace(PreflightContext context, PDPage page, PDShadingResources shadingRes) throws ValidationException
shadingRes
- the Shading pattern to checkValidationException
protected void checkGraphicState(PreflightContext context, PDPage page, PDShadingResources shadingRes) throws ValidationException
ValidationException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.