public class ExcelBatchExportService extends ExcelExportService
excelExportStyler, type
dataHandler, dictHandler, LOGGER, needHandlerList
Constructor and Description |
---|
ExcelBatchExportService() |
createHeaderAndTitle, createSheet, createSheetForMap, createTitle2Row
addStatisticsRow, createCells, createDoubleCell, createImageCell, createImageCell, createListCells, createStringCell, getExcelExportStyler, getImageType, getStyles, mergeCells, setCellWith, setColumnHidden, setCurrentIndex, setExcelExportStyler
getAllExcelField, getCellValue, getFieldBySomeMethod, getFieldLength, getListCellValue, getRowHeight, getRowNums, indexExcelEntity, sortAllParams
public void init(ExportParams entity, Class<?> pojoClass)
public void init(ExportParams entity, List<ExcelExportEntity> excelParams)
public List<ExcelExportEntity> createExcelExportEntityList(ExportParams entity, Class<?> pojoClass)
public void createSheet(org.apache.poi.ss.usermodel.Workbook workbook, ExportParams entity, List<ExcelExportEntity> excelParams)
public org.apache.poi.ss.usermodel.Workbook appendData(Collection<?> dataSet)
protected void insertDataToSheet(org.apache.poi.ss.usermodel.Workbook workbook, ExportParams entity, List<ExcelExportEntity> entityList, Collection<?> dataSet, org.apache.poi.ss.usermodel.Sheet sheet)
insertDataToSheet
in class ExcelExportService
public static ExcelBatchExportService getExcelBatchExportService(ExportParams entity, Class<?> pojoClass)
public static ExcelBatchExportService getExcelBatchExportService(ExportParams entity, List<ExcelExportEntity> excelParams)
public static ExcelBatchExportService getCurrentExcelBatchExportService()
public void closeExportBigExcel()
Copyright © 2018 Lumer. All rights reserved.