JSD-9277 导出excel文件属性自定义
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.1 KiB

/*
* Copyright (C), 2018-2021
* Project: starter
* FileName: StreamExcelExporter
* Author: Louis
* Date: 2021/12/3 9:27
*/
package com.fr.plugin.ibgq.excel.exporter;
import com.fr.general.FRLogger;
import com.fr.io.exporter.AppExporter;
import com.fr.io.exporter.ExcelExporter;
import com.fr.main.workbook.ResultWorkBook;
import com.fr.page.PaperSettingProvider;
import com.fr.plugin.ibgq.export.StreamExcel2007PlusExporter;
import java.io.OutputStream;
import java.util.List;
/**
* <Function Description><br>
* <StreamExcelExporter>
*
* @author fr.open
* @since 1.0.0
*/
public class StreamExcelExporter extends ExcelExporter {
public StreamExcelExporter(List<PaperSettingProvider> var1) {
super(var1);
}
protected void exportFor2003(OutputStream var1, ResultWorkBook var2, boolean var3) throws Exception {
FRLogger.getLogger().error("StreamExcelExporter for 2003 is not supported");
}
protected AppExporter getExporterFor2007(List<PaperSettingProvider> var1) throws ClassNotFoundException {
return new StreamExcel2007PlusExporter(var1);
}
}