Interface ICellStyle

  • All Known Implementing Classes:
    CellStyle, XlsCellStyle

    public interface ICellStyle
    Author:
    snshor Temporary we copy POI constants in here, we will provide more complicated mapping once we start using other libraries, if ever
    • Method Detail

      • getBorderRGB

        short[][] getBorderRGB()
        Returns:
        RGB colors for all border sides.
      • getBorderStyle

        org.apache.poi.ss.usermodel.BorderStyle[] getBorderStyle()
        Returns:
        styles for all border sides.
      • getFillBackgroundColor

        short[] getFillBackgroundColor()
        get the background fill color
        Returns:
        fill color
      • getFillForegroundColor

        short[] getFillForegroundColor()
        get the foreground fill color
        Returns:
        fill color
      • getFillBackgroundColorIndex

        short getFillBackgroundColorIndex()
      • getFillForegroundColorIndex

        short getFillForegroundColorIndex()
      • getFillPattern

        org.apache.poi.ss.usermodel.FillPatternType getFillPattern()
      • getHorizontalAlignment

        org.apache.poi.ss.usermodel.HorizontalAlignment getHorizontalAlignment()
        get the type of horizontal alignment for the cell
        Returns:
        align - the type of alignment
      • getIndent

        int getIndent()
        get the number of spaces to indent the text in the cell
        Returns:
        indent - number of spaces
      • getRotation

        int getRotation()
        get the degree of rotation for the text in the cell
        Returns:
        rotation degrees (between -90 and 90 degrees)
      • getVerticalAlignment

        org.apache.poi.ss.usermodel.VerticalAlignment getVerticalAlignment()
        get the type of vertical alignment for the cell
        Returns:
        align the type of alignment
      • isWrappedText

        boolean isWrappedText()
        get whether the text should be wrapped
        Returns:
        wrap text or not
      • getFormatIndex

        short getFormatIndex()
        Get the index of the data format. Built-in formats are defined in BuiltinFormats.
        See Also:
        DataFormat
      • getFormatString

        String getFormatString()
        Get the format string