|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hslf.model.TextRun
This class represents a run of text in a powerpoint document. That run could be text on a sheet, or text in a note. It is only a very basic class for now
Constructor Summary | |
TextRun(TextHeaderAtom tha,
TextBytesAtom tba)
Constructs a Text Run from a Ascii text block |
|
TextRun(TextHeaderAtom tha,
TextCharsAtom tca)
Constructs a Text Run from a Unicode text block |
Method Summary | |
java.lang.String |
getRawText()
Returns the raw text content of the run. |
int |
getRunType()
Returns the type of the text, from the TextHeaderAtom. |
java.lang.String |
getText()
Returns the text content of the run, which has been made safe for printing and other use. |
void |
setRunType(int type)
Changes the type of the text. |
void |
setText(java.lang.String s)
Changes the text. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TextRun(TextHeaderAtom tha, TextCharsAtom tca)
tha
- the TextHeaderAtom that defines what's whattca
- the TextCharsAtom containing the textpublic TextRun(TextHeaderAtom tha, TextBytesAtom tba)
tha
- the TextHeaderAtom that defines what's whattba
- the TextBytesAtom containing the textMethod Detail |
public java.lang.String getText()
public java.lang.String getRawText()
public void setText(java.lang.String s)
public int getRunType()
TextHeaderAtom
public void setRunType(int type)
TextHeaderAtom
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |