TextExtractionError

Inheritance: java.lang.Object, com.aspose.pdf.TextExtractionError

public final class TextExtractionError extends Object

Describes the text extraction error has appeared in the PDF document.

Methods

MethodDescription
getDescriptionExpanded description of the error.
getExtractedTextText that was actually extracted.
getFontKeyKey (PDF name) of the Font object that is used for showing text that causes extraction error.
getFontNameReadable (internal) name of the Font object that is used for showing text that causes extraction error.
getLocationLocation of the error.
getSummaryBrief description of the error.
toStringReturns string representation.

getDescription

public String getDescription()

Expanded description of the error.

Returns: String value

getExtractedText

public String getExtractedText()

Text that was actually extracted.

Returns: String value

getFontKey

public String getFontKey()

Key (PDF name) of the Font object that is used for showing text that causes extraction error.

Returns: String value

getFontName

public String getFontName()

Readable (internal) name of the Font object that is used for showing text that causes extraction error.

Returns: String value

getLocation

public TextExtractionErrorLocation getLocation()

Location of the error.

Returns: TextExtractionErrorLocation instance

getSummary

public String getSummary()

Brief description of the error.

Returns: String value

toString

public String toString()

Returns string representation.

Returns: String representation