public static interface Range.CellStyleHelper
| Modifier and Type | Method and Description |
|---|---|
EditableCellStyle |
createCellStyle(CellStyle src)
create a new cell style and clone attribute from src if it is not null
|
Color |
createColorFromHtmlColor(String htmlColor)
create a color object from a htmlColor expression
|
EditableFont |
createFont(Font src)
create a new font and clone attribute from src if it is not null
|
Font |
findFont(Font.Boldweight boldweight,
Color color,
int fontHeight,
String fontName,
boolean italic,
boolean strikeout,
Font.TypeOffset typeOffset,
Font.Underline underline)
find the font with given condition
|
boolean |
isAvailable(CellStyle style)
Check if this style still available
|
EditableCellStyle createCellStyle(CellStyle src)
src - the source to clone, could be nullEditableFont createFont(Font src)
src - the source to clone, could be nullColor createColorFromHtmlColor(String htmlColor)
htmlColor - html color expression, ex. #FF00FFFont findFont(Font.Boldweight boldweight, Color color, int fontHeight, String fontName, boolean italic, boolean strikeout, Font.TypeOffset typeOffset, Font.Underline underline)
boldweight - color - fontHeight - fontName - italic - strikeout - typeOffset - underline - boolean isAvailable(CellStyle style)
Copyright © 2020. All rights reserved.