public class FontValidationProcess extends AbstractProcess
Constructor and Description |
---|
FontValidationProcess() |
Modifier and Type | Method and Description |
---|---|
protected FontValidator<? extends FontContainer<? extends org.apache.pdfbox.pdmodel.font.PDFont>> |
getFontValidator(PreflightContext context,
org.apache.pdfbox.pdmodel.font.PDFont font)
Create the right "Validator" object for the given font type
|
void |
validate(PreflightContext context) |
addFontError, addValidationError, addValidationErrors
public void validate(PreflightContext context) throws ValidationException
ValidationException
protected FontValidator<? extends FontContainer<? extends org.apache.pdfbox.pdmodel.font.PDFont>> getFontValidator(PreflightContext context, org.apache.pdfbox.pdmodel.font.PDFont font)
context
- the preflight context.font
- the font object.Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.