public class FontAbsorber extends Object
Represents an absorber object of fonts. Performs search for fonts and provides access to search
results via FontAbsorber.Fonts
collection.
Constructor and Description |
---|
FontAbsorber()
Initializes a new instance of the
FontAbsorber that performs search for fonts of the
document. |
Modifier and Type | Method and Description |
---|---|
FontCollection |
getFonts()
Gets collection of search occurrences that are presented with
Font objects. |
void |
visit(Document pdf)
Performs search on the specified document.
|
void |
visit(Document pdf,
int startPage,
int pageCount)
Performs search in the specified range of pages of the document.
|
public FontAbsorber()
Initializes a new instance of the FontAbsorber
that performs search for fonts of the
document.
public FontCollection getFonts()
Gets collection of search occurrences that are presented with Font
objects.
public void visit(Document pdf, int startPage, int pageCount)
Performs search in the specified range of pages of the document.
pdf
- Pdf pocument object.startPage
- Pdf pocument start page.pageCount
- Pdf document page countpublic void visit(Document pdf)
Performs search on the specified document.
pdf
- Pdf pocument object.