Package | Description |
---|---|
cn.orionsec.kit.office.excel | |
cn.orionsec.kit.office.excel.style | |
cn.orionsec.kit.office.excel.writer.exporting |
Modifier and Type | Method and Description |
---|---|
static org.apache.poi.ss.usermodel.CellStyle |
Excels.parseColumnStyle(org.apache.poi.ss.usermodel.Workbook workbook,
ExportFieldOption option)
解析列样式
|
static org.apache.poi.ss.usermodel.CellStyle |
Excels.parseStyle(org.apache.poi.ss.usermodel.Workbook workbook,
ExportFieldOption option)
解析样式
|
Modifier and Type | Method and Description |
---|---|
static org.apache.poi.ss.usermodel.CellStyle |
StyleStream.parseColumnStyle(org.apache.poi.ss.usermodel.Workbook workbook,
ExportFieldOption option)
解析列样式
|
static org.apache.poi.ss.usermodel.CellStyle |
StyleStream.parseStyle(org.apache.poi.ss.usermodel.Workbook workbook,
ExportFieldOption option)
解析样式
|
Modifier and Type | Field and Description |
---|---|
protected Map<Integer,ExportFieldOption> |
SheetConfig.fieldOptions
列配置
key: index
value: option
|
Modifier and Type | Method and Description |
---|---|
Map<Integer,ExportFieldOption> |
SheetConfig.getFieldOptions() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.poi.ss.usermodel.CellStyle |
ExportInitializer.parseStyle(int columnIndex,
boolean isColumn,
ExportFieldOption option)
解析样式
|
protected void |
ExportProcessor.setCellValue(org.apache.poi.ss.usermodel.Cell cell,
int rowIndex,
int columnIndex,
T row,
ExportFieldOption option)
设置cell的值
|
SheetConfig<T> |
SheetConfig.setColumnStyle(int column,
ExportFieldOption option)
设置数据样式 不包括已设置过的
|
SheetConfig<T> |
SheetConfig.setHeaderStyle(int column,
ExportFieldOption option)
设置表头样式 不包括已设置过的
|
SheetConfig<T> |
SheetConfig.setStyle(int column,
ExportFieldOption option)
设置列样式 不包括已设置过的
|
Copyright © 2024. All rights reserved.