|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.qoppa.pdf.TextPosition
com.qoppa.pdf.TextPositionWithContext
public class TextPositionWithContext
This class represents one result from a text search in a document. The class contains information about the text that was searched for and found, including its location and shape on the page and some text before and after the string that was searched for that can be used for display purposes.
| Field Summary | |
|---|---|
String |
m_AfterText
|
String |
m_BeforeText
|
| Fields inherited from class com.qoppa.pdf.TextPosition |
|---|
m_PageNumber |
| Constructor Summary | |
|---|---|
TextPositionWithContext(int pageNumber,
String beforeText,
String searchText,
String afterText,
Shape textShape,
Point2D[] quad,
double angle)
|
|
| Method Summary | |
|---|---|
String |
getAfterText()
|
String |
getBeforeText()
|
String |
toString()
|
| Methods inherited from class com.qoppa.pdf.TextPosition |
|---|
getAngle, getEnclosingShape, getPageNumber, getQuadrilateral, getQuadrilaterals, getSelectionShape, getText |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String m_BeforeText
public String m_AfterText
| Constructor Detail |
|---|
public TextPositionWithContext(int pageNumber,
String beforeText,
String searchText,
String afterText,
Shape textShape,
Point2D[] quad,
double angle)
| Method Detail |
|---|
public String getBeforeText()
public String getAfterText()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||