|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
public interface irichtextstring
represents a rich text string that can be used to apply several styles inside a single cell.
method summary | |
---|---|
void |
append(java.lang.string text,
ifont font)
appends rich text string with specified text and font. |
void |
clear()
clears text and formatting. |
void |
clearformatting()
clears string formatting. |
ifont |
getfont(int index)
returns font which is applied to character at the specified position. |
java.lang.string |
getrtftext()
returns text in rtf format. |
java.lang.string |
gettext()
gets / sets text of the string. |
boolean |
isformatted()
indicates whether rich text string has formatting runs. |
void |
setfont(int istartpos,
int iendpos,
ifont font)
sets font for range of characters. |
void |
settext(java.lang.string value)
gets / sets text of the string. |
methods inherited from interface com.spire.xls.core.interfacess.ioptimizedupdate |
---|
beginupdate, endupdate |
method detail |
---|
ifont getfont(int index)
index
- character index.
void setfont(int istartpos, int iendpos, ifont font)
istartpos
- first character of the range.iendpos
- last character of the range.font
- font to set.void clearformatting()
void clear()
void append(java.lang.string text, ifont font)
text
- text to append.font
- font to use.java.lang.string gettext()
void settext(java.lang.string value)
java.lang.string getrtftext()
boolean isformatted()
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |