public class ShadingPatternValidationProcess extends AbstractProcess
| Constructor and Description |
|---|
ShadingPatternValidationProcess() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkColorSpace(PreflightContext context,
org.apache.pdfbox.pdmodel.PDPage page,
org.apache.pdfbox.pdmodel.graphics.shading.PDShading 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,
org.apache.pdfbox.pdmodel.PDPage page,
org.apache.pdfbox.pdmodel.graphics.shading.PDShading shadingRes)
Check the Extended Graphic State contains in the ShadingPattern dictionary if it is present.
|
void |
validate(PreflightContext context) |
addFontError, addValidationError, addValidationErrorspublic void validate(PreflightContext context) throws ValidationException
ValidationExceptionprotected void checkColorSpace(PreflightContext context, org.apache.pdfbox.pdmodel.PDPage page, org.apache.pdfbox.pdmodel.graphics.shading.PDShading shadingRes) throws ValidationException
context - the preflight context.page - the page to check.shadingRes - the Shading pattern to check.ValidationExceptionprotected void checkGraphicState(PreflightContext context, org.apache.pdfbox.pdmodel.PDPage page, org.apache.pdfbox.pdmodel.graphics.shading.PDShading shadingRes) throws ValidationException
context - the preflight context.page - the page to check.shadingRes - the Shading pattern to check.ValidationExceptionCopyright © 2002–2025 The Apache Software Foundation. All rights reserved.