Java org.apache.poi.xssf.usermodel XSSFRichTextString fields, constructors, methods, implement or subclass

Example usage for Java org.apache.poi.xssf.usermodel XSSFRichTextString fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.poi.xssf.usermodel XSSFRichTextString.

The text is from its open source code.

Constructor

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

Method

voidappend(String text, XSSFFont font)
Append new text to this text run and apply the specify font to it
voidappend(String text)
Append new text to this text run
voidapplyFont(Font font)
Sets the font of the entire string.
voidapplyFont(short fontIndex)
Applies the specified font to the entire string.
voidapplyFont(int startIndex, int endIndex, short fontIndex)
Applies a font to the specified characters of a string.
voidapplyFont(int startIndex, int endIndex, Font font)
Applies a font to the specified characters of a string.
XSSFFontgetFontOfFormattingRun(int index)
Gets a copy of the font used in a particular formatting run.
intgetIndexOfFormattingRun(int index)
The index within the string to which the specified formatting run applies.
intgetLengthOfFormattingRun(int index)
Returns the number of characters this format run covers.
StringgetString()
Returns the plain string representation.
intlength()
Returns the number of characters in this string.
intnumFormattingRuns()
voidsetString(String s)
Removes any formatting and sets new string value
StringtoString()
Returns the plain string representation.