public class FontMetaDataValidation extends Object
Constructor and Description |
---|
FontMetaDataValidation() |
Modifier and Type | Method and Description |
---|---|
boolean |
analyseFontName(XMPMetadata metadata,
PDFontDescriptor fontDesc,
List<ValidationResult.ValidationError> ve)
Value of the dc:title must be the same as the FontName in the font descriptor.
|
boolean |
analyseRights(XMPMetadata metadata,
PDFontDescriptor fontDesc,
List<ValidationResult.ValidationError> ve)
If XMP MetaData are present, they must have followings information :
dc:rights
Marked (with the value true)
Owner
UsageTerms
|
List<ValidationResult.ValidationError> |
validatePDFAIdentifer(XMPMetadata metadata,
PDFontDescriptor fontDesc) |
public List<ValidationResult.ValidationError> validatePDFAIdentifer(XMPMetadata metadata, PDFontDescriptor fontDesc) throws ValidationException
ValidationException
public boolean analyseFontName(XMPMetadata metadata, PDFontDescriptor fontDesc, List<ValidationResult.ValidationError> ve)
metadata
- XMPMetaData of the Font File StreamfontDesc
- The FontDescriptor dictionaryve
- the list of validation error to update if the validation failspublic boolean analyseRights(XMPMetadata metadata, PDFontDescriptor fontDesc, List<ValidationResult.ValidationError> ve)
metadata
- XMPMetaData of the Font File StreamfontDesc
- The FontDescriptor dictionaryve
- the list of validation error to update if the validation failsCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.