TextExtractionErrorLocation
Inheritance: java.lang.Object
public final class TextExtractionErrorLocation
Represents the location in the PDF document where text extraction error has appeared.
Methods
Method | Description |
---|---|
getPath() | Location of the PDF document where text extraction error has appeared. |
getPageNumber() | Number of the document page where text extraction error has located. |
getObjectType() | Type of the PDF object (Page or xForm) in which contents stream text extraction error has located. |
getFormKey() | Key (name) of the PDF Form XObject in which contents stream text extraction error has located. |
getOperatorIndex() | Index of text showing operator in the contents stream (operator collection) that causes text extraction error. |
getOperatorString() | Text showing operator that causes text extraction error. |
getFontUsedKey() | Key (name) of the PDF Font object that is used for showing of the operator that causes text extraction error. |
getTextStartPoint() | Key (name) of the PDF Font object that is used for showing of the operator that causes text extraction error. |
toString() | Returns string representation. |
getPath()
public String getPath()
Location of the PDF document where text extraction error has appeared.
Returns: java.lang.String - String value
getPageNumber()
public int getPageNumber()
Number of the document page where text extraction error has located.
Returns: int - int value
getObjectType()
public String getObjectType()
Type of the PDF object (Page or xForm) in which contents stream text extraction error has located.
Returns: java.lang.String - String value
getFormKey()
public String getFormKey()
Key (name) of the PDF Form XObject in which contents stream text extraction error has located. Not empty if ObjectType == ‘xForm’.
Returns: java.lang.String - String value
getOperatorIndex()
public int getOperatorIndex()
Index of text showing operator in the contents stream (operator collection) that causes text extraction error.
Returns: int - int value
getOperatorString()
public String getOperatorString()
Text showing operator that causes text extraction error.
Returns: java.lang.String - String value
getFontUsedKey()
public String getFontUsedKey()
Key (name) of the PDF Font object that is used for showing of the operator that causes text extraction error.
Returns: java.lang.String - String value
getTextStartPoint()
public Point getTextStartPoint()
Key (name) of the PDF Font object that is used for showing of the operator that causes text extraction error.
Returns: Point - Point instance
toString()
public String toString()
Returns string representation.
Returns: java.lang.String - String representation.