public class PdfSearchElement extends Object
PdfProDocument.search(int, String, int, int)
Modifier and Type | Method and Description |
---|---|
Rectangle2D |
getBoundingRect()
Deprecated.
Instead get the bounding rectangles from the list
of BoundingRect elements using
getBoundingRects() |
ArrayList |
getBoundingRects()
Returns list of bounding rectangles of the search element which
may have spanned across lines or pages.
|
ArrayList |
getCharBoundingRects()
Deprecated.
Instead get the bounding rectangles of the
characters from the list of BoundingRect elements
using
getBoundingRects() |
int |
getIndexOfMatchStringInLine()
Returns index of the search string in the text element containing it.
|
String |
getLineContainingMatchString()
Returns actual text of the text element containing the search text.
|
String |
getMatchString()
Returns actual text of the search string found by by the search.
|
int |
getPageNum()
Deprecated.
Instead get the page number from the list of
BoundingRect elements using
getBoundingRects() |
String |
toString() |
public int getPageNum()
getBoundingRects()
public Rectangle2D getBoundingRect()
getBoundingRects()
public ArrayList getCharBoundingRects()
getBoundingRects()
public String getMatchString()
public String getLineContainingMatchString()
public int getIndexOfMatchStringInLine()
public ArrayList getBoundingRects()