FontAbsorber
Contents
[
Hide
]Inheritance: java.lang.Object
public class FontAbsorber
Represents an absorber object of fonts. Performs search for fonts and provides access to search results via FontAbsorber.Fonts collection.
Constructors
Constructor | Description |
---|---|
FontAbsorber() | Initializes a new instance of the FontAbsorber that performs search for fonts of the document. |
Methods
Method | Description |
---|---|
getFonts() | Gets collection of search occurrences that are presented with Font objects. |
visit(Document pdf, int startPage, int pageCount) | Performs search in the specified range of pages of the document. |
visit(Document pdf) | Performs search on the specified document. |
FontAbsorber()
public FontAbsorber()
Initializes a new instance of the FontAbsorber that performs search for fonts of the document.
getFonts()
public FontCollection getFonts()
Gets collection of search occurrences that are presented with Font objects.
Returns: FontCollection - FontCollection object
visit(Document pdf, int startPage, int pageCount)
public void visit(Document pdf, int startPage, int pageCount)
Performs search in the specified range of pages of the document.
Parameters:
Parameter | Type | Description |
---|---|---|
Document | Pdf pocument object. | |
startPage | int | Pdf pocument start page. |
pageCount | int | Pdf document page count |
visit(Document pdf)
public void visit(Document pdf)
Performs search on the specified document.
Parameters:
Parameter | Type | Description |
---|---|---|
Document | Pdf pocument object. |