Package | Description |
---|---|
cn.orionsec.kit.office.excel.writer.exporting |
Modifier and Type | Method and Description |
---|---|
ExcelExport<T> |
ExcelExport.addRow(T row)
添加数据
|
ExcelExport<T> |
ExcelExport.addRows(Collection<T> rows)
添加数据
|
static <T> ExcelExport<T> |
ExcelExport.create(Class<T> targetClass)
创建导出实例并初始化
|
static <T> ExcelExport<T> |
ExcelExport.create(Class<T> targetClass,
org.apache.poi.ss.usermodel.Sheet sheet) |
static <T> ExcelExport<T> |
ExcelExport.create(Class<T> targetClass,
org.apache.poi.ss.usermodel.Workbook workbook) |
static <T> ExcelExport<T> |
ExcelExport.create(Class<T> targetClass,
org.apache.poi.ss.usermodel.Workbook workbook,
org.apache.poi.ss.usermodel.Sheet sheet) |
ExcelExport<T> |
ExcelExport.headers(String... headers)
设置表头
|
ExcelExport<T> |
ExcelExport.init()
初始化
|
ExcelExport<T> |
ExcelExport.merge(org.apache.poi.ss.util.CellRangeAddress region,
boolean mergeBorder)
合并单元格
|
ExcelExport<T> |
ExcelExport.merge(int row,
int firstCol,
int lastCol) |
ExcelExport<T> |
ExcelExport.merge(int row,
int firstCol,
int lastCol,
boolean mergeBorder) |
ExcelExport<T> |
ExcelExport.merge(int firstRow,
int lastRow,
int firstCol,
int lastCol) |
ExcelExport<T> |
ExcelExport.merge(int firstRow,
int lastRow,
int firstCol,
int lastCol,
boolean mergeBorder)
合并单元格
|
ExcelExport<T> |
ExcelExport.protect(String password)
保护表格
|
ExcelExport<T> |
ExcelExport.sheet(String sheetName)
设置sheet的名称
|
ExcelExport<T> |
ExcelExport.skip()
跳过一多
|
ExcelExport<T> |
ExcelExport.skip(int i)
跳过行多
|
ExcelExport<T> |
ExcelExport.skipNullRows(boolean skipNullRows)
跳过空行
|
ExcelExport<T> |
ExcelExport.skipTitle()
跳过title
|
ExcelExport<T> |
ExcelExport.title(String title)
设置title的名称
|
Copyright © 2024. All rights reserved.