|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.teamdev.jxdocument.Text
public class Text
Text representation of a specified PDF Page.
| Method Summary | |
|---|---|
int |
getCharsCount()
Returns number of characters in the page. |
java.lang.String |
getText()
Returns unicode text string that represents all text on the page. |
java.lang.String |
getText(int beginIndex,
int charsCount)
Returns unicode text string on the page at specified offset ( beginIndex)
and with the required length (charsCount). |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getCharsCount()
java.lang.IllegalStateException - when page is closed.
public java.lang.String getText(int beginIndex,
int charsCount)
beginIndex)
and with the required length (charsCount). This method ignores characters
without unicode information.
beginIndex - the beginning index, inclusive.charsCount - number of characters. Must be > 0.
java.lang.IllegalArgumentException - when beginIndex is negative or higher then
total number of characters; when charsCount is negative or 0.
java.lang.IllegalStateException - when page is closed.public java.lang.String getText()
java.lang.IllegalStateException - when page is closed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||