com.alibaba.excel.metadata.data
类 RichTextStringData
- java.lang.Object
-
- com.alibaba.excel.metadata.data.RichTextStringData
public class RichTextStringData extends Object
rich text string- 作者:
- Jiaju Zhuang
-
嵌套类概要
嵌套类 限定符和类型 类和说明 static class
RichTextStringData.IntervalFont
构造器概要
构造器 构造器和说明 RichTextStringData(String textString)
-
构造器详细资料
RichTextStringData
public RichTextStringData(String textString)
方法详细资料
applyFont
public void applyFont(int startIndex, int endIndex, WriteFont writeFont)
Applies a font to the specified characters of a string.- 参数:
-
startIndex
- The start index to apply the font to (inclusive) -
endIndex
- The end index to apply to font to (exclusive) -
writeFont
- The font to use.
applyFont
public void applyFont(WriteFont writeFont)
Sets the font of the entire string.- 参数:
-
writeFont
- The font to use.
Copyright © 2018–2021 Alibaba Group. All rights reserved.