public enum CssStyle extends Enum<CssStyle>
| Modifier and Type | Method and Description |
|---|---|
String |
getCss() |
static String |
toBackgroundColor(org.apache.poi.hssf.util.HSSFColor hssfColor) |
static String |
toBackgroundColor(org.apache.poi.hssf.util.HSSFColor hssfColor,
boolean whiteAsTransparent) |
static String |
toFontSize(int fontSize) |
static String |
toTextColor(org.apache.poi.hssf.util.HSSFColor hssfColor) |
static CssStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CssStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CssStyle BOLD
public static final CssStyle ITALIC
public static final CssStyle UNDERLINE
public static final CssStyle STRIKEOUT
public static CssStyle[] values()
for (CssStyle c : CssStyle.values()) System.out.println(c);
public static CssStyle valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getCss()
public static String toBackgroundColor(org.apache.poi.hssf.util.HSSFColor hssfColor)
public static String toBackgroundColor(org.apache.poi.hssf.util.HSSFColor hssfColor, boolean whiteAsTransparent)
public static String toTextColor(org.apache.poi.hssf.util.HSSFColor hssfColor)
public static String toFontSize(int fontSize)
Copyright © 2019 TecSinapse. All rights reserved.