java.lang.Object | |
↳ | com.pdftron.pdf.TextExtractor.Line |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
close()
Frees the native memory of the object.
| ||||||||||
void |
destroy()
Frees the native memory of the object.
| ||||||||||
boolean |
endsWithHyphen()
check if this line ends with hyphen.
| ||||||||||
boolean | equals(Object other) | ||||||||||
Rect |
getBBox()
Get the bounding box.
| ||||||||||
int |
getCurrentNum()
Get the index of the current line of the current page
| ||||||||||
TextExtractor.Word |
getFirstWord()
Get the first word in the line
Note: To traverse the list of all words on this line use | ||||||||||
int |
getFlowID()
Get the flow ID.
| ||||||||||
TextExtractor.Line |
getNextLine()
Get the next line.
| ||||||||||
int |
getNumWords()
Get the number of words.
| ||||||||||
int |
getParagraphID()
Get the paragraph ID.
| ||||||||||
double[] |
getQuad()
Get the quadrilateral as an array of doubles
| ||||||||||
TextExtractor.Style |
getStyle()
Get the style for this line
| ||||||||||
TextExtractor.Word |
getWord(int word_idx)
Get the word at specified index
| ||||||||||
boolean |
isSimpleLine()
Checks if current line is simple line.
| ||||||||||
boolean |
isValid()
Checks if this line is valid.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.lang.AutoCloseable
|
Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.
Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.
check if this line ends with hyphen.
true
, if successful
Get the bounding box.
Note: To account for the effect of page '/Rotate' attribute,
transform all points using getDefaultMatrix()
.
Get the index of the current line of the current page
Get the first word in the line
Note: To traverse the list of all words on this line use getNextWord()
.
Get the flow ID.
Get the number of words.
Get the paragraph ID.
Get the quadrilateral as an array of doubles
Get the style for this line
Get the word at specified index
word_idx | index of the word |
---|
Checks if this line is valid.
true
, if the line is valid