org.opengts.util
Class ExcelTools
java.lang.Object
org.opengts.util.ExcelTools
public class ExcelTools
- extends java.lang.Object
Method Summary |
static org.apache.poi.ss.usermodel.CellStyle |
createStyle(org.apache.poi.ss.usermodel.Workbook wb,
int fontPoint,
int boldWeight,
int fontColor,
int horzAlign,
int vertAlign,
boolean wrapText,
int fillColor,
int fillPattern,
int borderTopColor,
int borderRightColor,
int borderBottomColor,
int borderLeftColor)
|
static int |
getColorIndex(java.lang.String name)
|
static void |
main(java.lang.String[] argv)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_ExcelTools_debug
public static final java.lang.String PROP_ExcelTools_debug
- See Also:
- Constant Field Values
IndexColor_NONE
public static final int IndexColor_NONE
- See Also:
- Constant Field Values
IndexColor_WHITE
public static final int IndexColor_WHITE
IndexColor_BLACK
public static final int IndexColor_BLACK
IndexColor_GRAY25
public static final int IndexColor_GRAY25
IndexColor_GRAY50
public static final int IndexColor_GRAY50
STYLE_TITLE
public static final java.lang.String STYLE_TITLE
- See Also:
- Constant Field Values
STYLE_SUBTITLE
public static final java.lang.String STYLE_SUBTITLE
- See Also:
- Constant Field Values
STYLE_HEADER
public static final java.lang.String STYLE_HEADER
- See Also:
- Constant Field Values
STYLE_BODY
public static final java.lang.String STYLE_BODY
- See Also:
- Constant Field Values
STYLE_SUBTOTAL
public static final java.lang.String STYLE_SUBTOTAL
- See Also:
- Constant Field Values
STYLE_TOTAL
public static final java.lang.String STYLE_TOTAL
- See Also:
- Constant Field Values
STYLE_BLANK
public static final java.lang.String STYLE_BLANK
- See Also:
- Constant Field Values
ARG_XLS
public static java.lang.String[] ARG_XLS
ARG_XLSX
public static java.lang.String[] ARG_XLSX
ExcelTools
public ExcelTools()
getColorIndex
public static int getColorIndex(java.lang.String name)
createStyle
public static org.apache.poi.ss.usermodel.CellStyle createStyle(org.apache.poi.ss.usermodel.Workbook wb,
int fontPoint,
int boldWeight,
int fontColor,
int horzAlign,
int vertAlign,
boolean wrapText,
int fillColor,
int fillPattern,
int borderTopColor,
int borderRightColor,
int borderBottomColor,
int borderLeftColor)
main
public static void main(java.lang.String[] argv)