public class SinglePageValidationProcess extends AbstractProcess
Constructor and Description |
---|
SinglePageValidationProcess() |
Modifier and Type | Method and Description |
---|---|
void |
validate(PreflightContext context) |
protected void |
validateActions(PreflightContext context,
PDPage page)
This method checks additional actions contained in the given Page object.
|
protected void |
validateAnnotation(PreflightContext context,
PDPage page) |
protected void |
validateColorSpaces(PreflightContext context,
PDPage page)
Check that all ColorSpace present in the Resource dictionary are conforming to the ISO 19005:2005-1
specification.
|
protected void |
validateContent(PreflightContext context,
PDPage page) |
protected void |
validateGraphicObjects(PreflightContext context,
PDPage page)
Check that all XObject references in the PDResource of the page and in the Thumb entry are confirming to the
PDF/A specification.
|
protected void |
validateGroupTransparency(PreflightContext context,
PDPage page)
Check that the group dictionary doesn't have a Transparency attribute
|
protected void |
validateResources(PreflightContext context,
PDPage page) |
addFontError, addValidationError, addValidationErrors
public void validate(PreflightContext context) throws ValidationException
ValidationException
protected void validateActions(PreflightContext context, PDPage page) throws ValidationException
context
- the preflight context.page
- the page to check.ValidationException
protected void validateColorSpaces(PreflightContext context, PDPage page)
context
- the preflight context.page
- the page to check.protected void validateGraphicObjects(PreflightContext context, PDPage page) throws ValidationException
context
- the preflight context.page
- the page to check.ValidationException
protected void validateResources(PreflightContext context, PDPage page) throws ValidationException
ValidationException
protected void validateContent(PreflightContext context, PDPage page) throws ValidationException
context
- the preflight context.page
- the page to check.ValidationException
protected void validateAnnotation(PreflightContext context, PDPage page) throws ValidationException
context
- the preflight context.page
- the page to check.ValidationException
protected void validateGroupTransparency(PreflightContext context, PDPage page) throws ValidationException
context
- the preflight context.page
- the page to check.ValidationException
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.