| Package | Description |
|---|---|
| cn.zxinrun.excel.util |
| Modifier and Type | Method and Description |
|---|---|
org.apache.poi.ss.usermodel.Cell |
ExcelUtils.addCell(Excel attr,
org.apache.poi.ss.usermodel.Row row,
T vo,
Field field,
int column)
添加单元格数据到指定行和列。
|
org.apache.poi.ss.usermodel.Cell |
ExcelUtils.createCell(Excel attr,
org.apache.poi.ss.usermodel.Row row,
int column)
创建单元格并设置表头样式。
|
String |
ExcelUtils.dataFormatHandlerAdapter(Object value,
Excel excel)
使用自定义数据处理器格式化单元格数据。
|
void |
ExcelUtils.setCellVo(Object value,
Excel attr,
org.apache.poi.ss.usermodel.Cell cell)
设置单元格的值和样式。
|
void |
ExcelUtils.setDataCell(org.apache.poi.ss.usermodel.Cell cell,
Excel excel)
设置单元格的样式。
|
void |
ExcelUtils.setDataValidation(Excel attr,
org.apache.poi.ss.usermodel.Row row,
int column)
设置单元格的数据校验和列宽。
|
Copyright © 2025. All rights reserved.