FontAbsorber

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

ConstructorDescription
FontAbsorber()Initializes a new instance of the FontAbsorber that performs search for fonts of the document.

Methods

MethodDescription
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:

ParameterTypeDescription
pdfDocumentPdf pocument object.
startPageintPdf pocument start page.
pageCountintPdf document page count

visit(Document pdf)

public void visit(Document pdf)

Performs search on the specified document.

Parameters:

ParameterTypeDescription
pdfDocumentPdf pocument object.