public class ResourcesValidationProcess extends AbstractProcess
| Constructor and Description |
|---|
ResourcesValidationProcess() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(PreflightContext ctx) |
protected void |
validateExtGStates(PreflightContext context,
org.apache.pdfbox.pdmodel.PDResources resources) |
protected void |
validateFonts(PreflightContext context,
org.apache.pdfbox.pdmodel.PDResources resources)
Check that fonts present in the Resources dictionary match with PDF/A-1 rules
|
protected void |
validateShadingPattern(PreflightContext context,
org.apache.pdfbox.pdmodel.PDResources resources)
This method check the Shading entry of the resource dictionary if exists.
|
protected void |
validateTilingPattern(PreflightContext context,
org.apache.pdfbox.pdmodel.PDResources resources)
This method check the Shading entry of the resource dictionary if exists.
|
protected void |
validateXObjects(PreflightContext context,
org.apache.pdfbox.pdmodel.PDResources resources) |
addFontError, addValidationError, addValidationErrorspublic void validate(PreflightContext ctx) throws ValidationException
ValidationExceptionprotected void validateFonts(PreflightContext context, org.apache.pdfbox.pdmodel.PDResources resources) throws ValidationException
context - resources - ValidationExceptionprotected void validateExtGStates(PreflightContext context, org.apache.pdfbox.pdmodel.PDResources resources) throws ValidationException
context - resources - ValidationExceptionprotected void validateShadingPattern(PreflightContext context, org.apache.pdfbox.pdmodel.PDResources resources) throws ValidationException
context - resources - ValidationExceptionprotected void validateTilingPattern(PreflightContext context, org.apache.pdfbox.pdmodel.PDResources resources) throws ValidationException
context - resources - ValidationExceptionprotected void validateXObjects(PreflightContext context, org.apache.pdfbox.pdmodel.PDResources resources) throws ValidationException
ValidationExceptionCopyright © 2002–2025 The Apache Software Foundation. All rights reserved.