Modifier | Constructor and Description |
---|---|
protected |
FontValidator(com.pdfunit.internal.spi.IDocument pdfDocument) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Set<com.pdfunit.internal.spi.IFont> |
getAllFonts() |
FontNameValidator |
hasFont()
This method prepares the validation of a single font.
|
FontValidator |
hasFonts()
This method does what the name suggests.
|
FontValidator |
matchingXML(java.io.File xmlFile)
Comparing the font information of the current PDF with font information
of the XML file.
|
FontValidator |
matchingXML(java.lang.String filenameXML)
Comparing the font information of the current PDF with font information
of the XML file given by the filename.
|
FontValidator |
matchingXPath(XPathExpression xpath)
Verifying whether the font information of the current PDF matches the
XPath-Expression given by the parameter.
|
FontValidator |
ofThisTypeOnly(FontType expectedFontType)
Validating whether the current PDF document has fonts of only the font
type according to the parameter.
|
protected FontValidator(com.pdfunit.internal.spi.IDocument pdfDocument)
@Guarded public FontValidator ofThisTypeOnly(FontType expectedFontType)
public FontNameValidator hasFont()
public FontValidator hasFonts()
@Guarded public FontValidator matchingXPath(XPathExpression xpath)
@Guarded public FontValidator matchingXML(java.lang.String filenameXML)
@Guarded public FontValidator matchingXML(java.io.File xmlFile)
protected java.util.Set<com.pdfunit.internal.spi.IFont> getAllFonts()
Copyright (C) PDFUnit.com. See here for license.