Class FontDictionaryPredicate
java.lang.Object
com.itextpdf.pdfoptimizer.handlers.fontduplication.predicates.FontDictionaryPredicate
- All Implemented Interfaces:
-
IPdfObjectPredicate
Checks if current
PdfObject
is a font PdfDictionary
.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
test
(com.itextpdf.kernel.pdf.PdfObject object) Checks that current object is aPdfDictionary
and has keyPdfName.Type
and it si associated with the valuePdfName.Font
.
-
Constructor Details
-
FontDictionaryPredicate
public FontDictionaryPredicate()
-
-
Method Details
-
test
public boolean test(com.itextpdf.kernel.pdf.PdfObject object) Checks that current object is aPdfDictionary
and has keyPdfName.Type
and it si associated with the valuePdfName.Font
.- Specified by:
-
test
in interfaceIPdfObjectPredicate
- Parameters:
-
object
- is an argument - Returns:
- is a result of evaluation
-