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