FormattedTextOptions

Inheritance: java.lang.Object

public class FormattedTextOptions

Provides the options which are used for formatted text extraction.

An instance of FormattedTextOptions class is used as parameter in Parser.getFormattedText(FormattedTextOptions) and Parser.getFormattedText(int, FormattedTextOptions) methods. See the usage examples there.

Learn more:

Constructors

Constructor Description
FormattedTextOptions(FormattedTextMode mode) Initializes a new instance of the FormattedTextOptions class.

Methods

Method Description
getMode() Gets the formatted text extraction mode.

FormattedTextOptions(FormattedTextMode mode)

public FormattedTextOptions(FormattedTextMode mode)

Initializes a new instance of the FormattedTextOptions class.

Parameters:

Parameter Type Description
mode FormattedTextMode The mode of formatted text extraction.

getMode()

public FormattedTextMode getMode()

Gets the formatted text extraction mode.

Returns: FormattedTextMode - FormattedTextMode enumeration that contains a formatted text extraction mode.