org.jeecgframework.poi.excel.export.template.ExcelExportOfTemplateUtil Java Examples

The following examples show how to use org.jeecgframework.poi.excel.export.template.ExcelExportOfTemplateUtil. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ExcelExportUtil.java    From autopoi with Apache License 2.0 2 votes vote down vote up
/**
 * 导出文件通过模板解析,不推荐这个了,推荐全部通过模板来执行处理
 * 
 * @param params
 *            导出参数类
 * @param pojoClass
 *            对应实体
 * @param dataSet
 *            实体集合
 * @param map
 * 
 *            模板集合
 * @return
 */
public static Workbook exportExcel(TemplateExportParams params, Class<?> pojoClass, Collection<?> dataSet, Map<String, Object> map) {
	return new ExcelExportOfTemplateUtil().createExcleByTemplate(params, pojoClass, dataSet, map);
}
 
Example #2
Source File: ExcelExportUtil.java    From autopoi with Apache License 2.0 2 votes vote down vote up
/**
 * 导出文件通过模板解析只有模板,没有集合
 * 
 * @param params
 *            导出参数类
 * @param map
 *            模板集合
 * @return
 */
public static Workbook exportExcel(TemplateExportParams params, Map<String, Object> map) {
	return new ExcelExportOfTemplateUtil().createExcleByTemplate(params, null, null, map);
}
 
Example #3
Source File: ExcelExportUtil.java    From jeasypoi with Apache License 2.0 2 votes vote down vote up
/**
 * 导出文件通过模板解析,不推荐这个了,推荐全部通过模板来执行处理
 * 
 * @param params
 *            导出参数类
 * @param pojoClass
 *            对应实体
 * @param dataSet
 *            实体集合
 * @param map
 *            模板集合
 * @return
 */
public static Workbook exportExcel(TemplateExportParams params, Class<?> pojoClass, Collection<?> dataSet, Map<String, Object> map) {
	return new ExcelExportOfTemplateUtil().createExcleByTemplate(params, pojoClass, dataSet, map);
}
 
Example #4
Source File: ExcelExportUtil.java    From jeasypoi with Apache License 2.0 2 votes vote down vote up
/**
 * 导出文件通过模板解析只有模板,没有集合
 * 
 * @param params
 *            导出参数类
 * @param map
 *            模板集合
 * @return
 */
public static Workbook exportExcel(TemplateExportParams params, Map<String, Object> map) {
	return new ExcelExportOfTemplateUtil().createExcleByTemplate(params, null, null, map);
}
 
Example #5
Source File: ExcelExportUtil.java    From easypoi with Apache License 2.0 2 votes vote down vote up
/**
 * 导出文件通过模板解析,不推荐这个了,推荐全部通过模板来执行处理
 * 
 * @param params
 *            导出参数类
 * @param pojoClass
 *            对应实体
 * @param dataSet
 *            实体集合
 * @param map
 *            模板集合
 * @return
 */
public static Workbook exportExcel(TemplateExportParams params, Class<?> pojoClass,
                                   Collection<?> dataSet, Map<String, Object> map) {
    return new ExcelExportOfTemplateUtil().createExcleByTemplate(params, pojoClass, dataSet,
        map);
}
 
Example #6
Source File: ExcelExportUtil.java    From easypoi with Apache License 2.0 2 votes vote down vote up
/**
 * 导出文件通过模板解析只有模板,没有集合
 * 
 * @param params
 *            导出参数类
 * @param map
 *            模板集合
 * @return
 */
public static Workbook exportExcel(TemplateExportParams params, Map<String, Object> map) {
    return new ExcelExportOfTemplateUtil().createExcleByTemplate(params, null, null, map);
}