Class CellFormatHelper

java.lang.Object
io.keikai.ui.impl.CellFormatHelper
All Implemented Interfaces:
Serializable

public class CellFormatHelper extends Object implements Serializable
Author:
Dennis.Chen
See Also:
  • Constructor Details

  • Method Details

    • getHtmlStyle

      public String getHtmlStyle(StringBuffer doubleBorder, STable table, SCellStyle tbStyle, Map<String,String> mergedBorder)
    • getFontCSSStyle

      public static String getFontCSSStyle(SCell cell, SFont font)
    • getInnerHtmlStyle

      public String getInnerHtmlStyle(boolean hasMergedBorder)
    • getFontHtmlStyle

      public String getFontHtmlStyle()
    • getRealAlignment

      public static SCellStyle.Alignment getRealAlignment(SCell cell)
    • hasRightBorder

      public boolean hasRightBorder(STable table, SCellStyle tbStyle)
    • getCellFormattedText

      public String getCellFormattedText()
    • getCellEditText

      public String getCellEditText()
    • getRichCellHtmlText

      public static String getRichCellHtmlText(SSheet sheet, int row, int column)
      Gets Cell text by given row and column, it handling
    • getRichTextEditCellHtml

      public static String getRichTextEditCellHtml(SSheet sheet, int row, int column)
    • appendTextCSSStyle

      public static void appendTextCSSStyle(StringBuilder sb, SCell cell, boolean hasMergedBorder)
    • getCellHtmlText

      public static String getCellHtmlText(SSheet sheet, int row, int column)
      Gets Cell text by given row and column
    • getFormatResult

      public FormatResult getFormatResult()
    • getCellFormattedText

      public String getCellFormattedText(FormatResult ft)
    • getFontHtmlStyle

      public static String getFontHtmlStyle(SSheet sheet, SCell cell, SCellStyle cellStyle, FormatResult ft, SCellStyle tbCellStyle, SConditionalStyle cdStyle)
    • getRichCellHtmlText

      public static String getRichCellHtmlText(SSheet sheet, int row, int column, FormatResult ft, SCellStyle tbStyle, SConditionalStyle cdStyle)
      Gets Cell text by given row and column, it handling
    • getCellHtmlText

      public static String getCellHtmlText(SSheet sheet, int row, int column, FormatResult ft, SCellStyle tbStyle, SConditionalStyle cdStyle)
      Gets Cell text by given row and column
    • getRealHtmlStyle

      public String getRealHtmlStyle(FormatResult ft, SCellStyle tbCellStyle, boolean hasMergedBorder, boolean isTextWrapped)
    • getAutoFilterBorder

      public String getAutoFilterBorder()
    • getDependencyBorder

      public String getDependencyBorder()
    • withDataBarBorder

      public boolean withDataBarBorder()