public final class ExcelExportOfTemplateUtil extends ExcelExportBase
excelExportStyler, typedataHanlder, dictHandler, needHanlderList| 构造器和说明 |
|---|
ExcelExportOfTemplateUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.poi.ss.usermodel.Workbook |
createExcleByTemplate(TemplateExportParams params,
Class<?> pojoClass,
Collection<?> dataSet,
Map<String,Object> map) |
void |
createImageCell(org.apache.poi.ss.usermodel.Cell cell,
double height,
int rowspan,
int colspan,
String imagePath,
byte[] data)
图片类型的Cell
|
int |
getOneObjectSize(Object t,
List<ExcelExportEntity> excelParams)
获取单个对象的高度,主要是处理一堆多的情况
|
addStatisticsRow, createCells, createCells, createImageCell, createListCells, createNumericCell, createStringCell, getExcelExportStyler, getFieldWidth, getImageType, getListCellSize, getStyles, mergeCells, setCellWith, setColumnHidden, setCurrentIndex, setExcelExportStylergetAllExcelField, getCellOrder, getCellValue, getExcelName, getFieldBySomeMethod, getListCellValue, getRowHeight, getValueArr, isInteger, reConfigExcelExportParams, sortAllParamspublic int getOneObjectSize(Object t, List<ExcelExportEntity> excelParams) throws Exception
styles - rowHeight - Exceptionpublic org.apache.poi.ss.usermodel.Workbook createExcleByTemplate(TemplateExportParams params, Class<?> pojoClass, Collection<?> dataSet, Map<String,Object> map)
Copyright © 2022. All rights reserved.