Example usage for Java org.apache.poi.xssf.usermodel XSSFRichTextString fields, constructors, methods, implement or subclass
The text is from its open source code.
XSSFRichTextString(String str) Create a rich text string | |
XSSFRichTextString(CTRst st) Create a rich text string from the supplied XML bean | |
XSSFRichTextString() Create empty rich text string and initialize it with empty string |
void | append(String text, XSSFFont font) Append new text to this text run and apply the specify font to it |
void | append(String text) Append new text to this text run |
void | applyFont(Font font) Sets the font of the entire string. |
void | applyFont(short fontIndex) Applies the specified font to the entire string. |
void | applyFont(int startIndex, int endIndex, short fontIndex) Applies a font to the specified characters of a string. |
void | applyFont(int startIndex, int endIndex, Font font) Applies a font to the specified characters of a string. |
XSSFFont | getFontOfFormattingRun(int index) Gets a copy of the font used in a particular formatting run. |
int | getIndexOfFormattingRun(int index) The index within the string to which the specified formatting run applies. |
int | getLengthOfFormattingRun(int index) Returns the number of characters this format run covers. |
String | getString() Returns the plain string representation. |
int | length() Returns the number of characters in this string. |
int | numFormattingRuns() |
void | setString(String s) Removes any formatting and sets new string value |
String | toString() Returns the plain string representation. |