|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.xls.richtextobject
public class richtextobject
field summary | |
---|---|
irichtextstring |
m_richtext
parent range. |
constructor summary | |
---|---|
richtextobject(irichtextstring richtext)
|
method summary | |
---|---|
void |
append(java.lang.string text,
ifont font)
appends rich text string with specified text and font. |
void |
beginupdate()
this method should be called before several updates to the object will take place. |
void |
clear()
clears all. |
void |
clearformatting()
clears formatting. |
void |
endupdate()
this method should be called after several updates to the object took place. |
ifont |
getfont(int position)
returns font for character at specified position. |
java.lang.object |
getparent()
|
java.lang.string |
getrtftext()
gets rtf text. |
java.lang.string |
gettext()
gets text; |
boolean |
isformatted()
indicates whether rich text string contains formatting read-only. |
void |
setfont(int startpos,
int endpos,
ifont font)
sets font for specified range of characters. |
void |
settext(java.lang.string text)
sets text; |
field detail |
---|
public irichtextstring m_richtext
constructor detail |
---|
public richtextobject(irichtextstring richtext)
method detail |
---|
public ifont getfont(int position)
getfont
in interface irichtextstring
position
- position of the symbol.
public void setfont(int startpos, int endpos, ifont font)
setfont
in interface irichtextstring
startpos
- first character to set font.endpos
- last character to set.font
- font to set.public void clearformatting()
clearformatting
in interface irichtextstring
public void clear()
clear
in interface irichtextstring
public java.lang.string gettext()
gettext
in interface irichtextstring
public void settext(java.lang.string text)
settext
in interface irichtextstring
public java.lang.string getrtftext()
getrtftext
in interface irichtextstring
public boolean isformatted()
isformatted
in interface irichtextstring
public java.lang.object getparent()
public void beginupdate()
beginupdate
in interface ioptimizedupdate
public void endupdate()
endupdate
in interface ioptimizedupdate
public void append(java.lang.string text, ifont font)
irichtextstring
append
in interface irichtextstring
text
- text to append.font
- font to use.
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |