com.alibaba.excel.metadata.data

类 RichTextStringData


  • public class RichTextStringData
    extends Object
    rich text string
    作者:
    Jiaju Zhuang
    • 构造器详细资料

      • 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.