public class CsvRichTextString extends Object implements org.apache.poi.ss.usermodel.RichTextString
| Constructor and Description |
|---|
CsvRichTextString(String string) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyFont(org.apache.poi.ss.usermodel.Font font) |
void |
applyFont(int startIndex,
int endIndex,
org.apache.poi.ss.usermodel.Font font) |
void |
applyFont(int startIndex,
int endIndex,
short fontIndex) |
void |
applyFont(short fontIndex) |
void |
clearFormatting() |
int |
getIndexOfFormattingRun(int index) |
String |
getString() |
int |
length() |
int |
numFormattingRuns() |
public CsvRichTextString(String string)
public void applyFont(int startIndex,
int endIndex,
short fontIndex)
applyFont in interface org.apache.poi.ss.usermodel.RichTextStringpublic void applyFont(int startIndex,
int endIndex,
org.apache.poi.ss.usermodel.Font font)
applyFont in interface org.apache.poi.ss.usermodel.RichTextStringpublic void applyFont(org.apache.poi.ss.usermodel.Font font)
applyFont in interface org.apache.poi.ss.usermodel.RichTextStringpublic void clearFormatting()
clearFormatting in interface org.apache.poi.ss.usermodel.RichTextStringpublic String getString()
getString in interface org.apache.poi.ss.usermodel.RichTextStringpublic int length()
length in interface org.apache.poi.ss.usermodel.RichTextStringpublic int numFormattingRuns()
numFormattingRuns in interface org.apache.poi.ss.usermodel.RichTextStringpublic int getIndexOfFormattingRun(int index)
getIndexOfFormattingRun in interface org.apache.poi.ss.usermodel.RichTextStringpublic void applyFont(short fontIndex)
applyFont in interface org.apache.poi.ss.usermodel.RichTextStringCopyright © 2018–2023 Alibaba Group. All rights reserved.