Package icu.easyj.poi.excel.hook
Interface IListToExcelHook
- All Known Implementing Classes:
AbstractListToExcelHook
public interface IListToExcelHook
列表转Excel时提供的勾子接口
- Author:
- wangliang181230
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidonAfterCreateDataRows(Map<Object, Object> context, org.apache.poi.ss.usermodel.Sheet sheet, ExcelMapping mapping) “创建所有数据行之后” 触发的事件default voidonBeforeCreateHeadRow(Map<Object, Object> context, org.apache.poi.ss.usermodel.Sheet sheet, ExcelMapping mapping) “创建头行之前” 触发的事件
-
Method Details
-
onBeforeCreateHeadRow
default void onBeforeCreateHeadRow(Map<Object, Object> context, org.apache.poi.ss.usermodel.Sheet sheet, ExcelMapping mapping) “创建头行之前” 触发的事件- Parameters:
context- 表格所需上下文sheet- 表格mapping- 表格映射
-
onAfterCreateDataRows
default void onAfterCreateDataRows(Map<Object, Object> context, org.apache.poi.ss.usermodel.Sheet sheet, ExcelMapping mapping) “创建所有数据行之后” 触发的事件- Parameters:
context- 表格所需上下文sheet- 表格mapping- 表格映射
-