| 程序包 | 说明 |
|---|---|
| cn.dslcode.common.core.document.excel | |
| cn.dslcode.common.core.document.excel.create |
| 限定符和类型 | 方法和说明 |
|---|---|
static ExcelType |
ExcelType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ExcelType[] |
ExcelType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static org.apache.poi.ss.usermodel.Workbook |
ExcelCreateUtil.createSheet(ExcelType excelType,
List<SheetCell[]> headers,
List<List<SheetCell>> bodys,
String sheetName,
boolean isShowIndex)
根据数据创建excel工作簿,行高默认20和18
|
static org.apache.poi.ss.usermodel.Workbook |
ExcelCreateUtil.createSheet(ExcelType excelType,
List<SheetCell[]> headers,
List<List<SheetCell>> bodys,
String sheetName,
int headHeigth,
int bodyHeight,
boolean isShowIndex)
根据数据创建excel工作簿
|
Copyright © 2018. All rights reserved.