Package io.keikai.ui.impl
Class CellFormatHelper
java.lang.Object
io.keikai.ui.impl.CellFormatHelper
- All Implemented Interfaces:
Serializable
- Author:
- Dennis.Chen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCellFormatHelper(SSheet sheet, int row, int col, MergeMatrixHelper mmhelper, SConditionalStyle cdStyle) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidappendTextCSSStyle(StringBuilder sb, SCell cell, boolean hasMergedBorder) static StringgetCellHtmlText(SSheet sheet, int row, int column) Gets Cell text by given row and columnstatic StringgetCellHtmlText(SSheet sheet, int row, int column, FormatResult ft, SCellStyle tbStyle, SConditionalStyle cdStyle) Gets Cell text by given row and columnstatic StringgetFontCSSStyle(SCell cell, SFont font) static StringgetFontHtmlStyle(SSheet sheet, SCell cell, SCellStyle cellStyle, FormatResult ft, SCellStyle tbCellStyle, SConditionalStyle cdStyle) getHtmlStyle(StringBuffer doubleBorder, STable table, SCellStyle tbStyle, Map<String, String> mergedBorder) getInnerHtmlStyle(boolean hasMergedBorder) static SCellStyle.AlignmentgetRealAlignment(SCell cell) getRealHtmlStyle(FormatResult ft, SCellStyle tbCellStyle, boolean hasMergedBorder, boolean isTextWrapped) static StringgetRichCellHtmlText(SSheet sheet, int row, int column) Gets Cell text by given row and column, it handlingstatic StringgetRichCellHtmlText(SSheet sheet, int row, int column, FormatResult ft, SCellStyle tbStyle, SConditionalStyle cdStyle) Gets Cell text by given row and column, it handlingstatic StringgetRichTextEditCellHtml(SSheet sheet, int row, int column) booleanhasRightBorder(STable table, SCellStyle tbStyle) boolean
-
Constructor Details
-
CellFormatHelper
public CellFormatHelper(SSheet sheet, int row, int col, MergeMatrixHelper mmhelper, SConditionalStyle cdStyle)
-
-
Method Details
-
getHtmlStyle
public String getHtmlStyle(StringBuffer doubleBorder, STable table, SCellStyle tbStyle, Map<String, String> mergedBorder) -
getFontCSSStyle
-
getInnerHtmlStyle
-
getFontHtmlStyle
-
getRealAlignment
-
hasRightBorder
-
getCellFormattedText
-
getCellEditText
-
getRichCellHtmlText
Gets Cell text by given row and column, it handling -
getRichTextEditCellHtml
-
appendTextCSSStyle
-
getCellHtmlText
Gets Cell text by given row and column -
getFormatResult
-
getCellFormattedText
-
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
-
getDependencyBorder
-
withDataBarBorder
public boolean withDataBarBorder()
-