|
|
@ -5,7 +5,6 @@ package com.fr.design.actions.file.export; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.base.FRContext; |
|
|
|
import com.fr.base.FRContext; |
|
|
|
import com.fr.base.Parameter; |
|
|
|
import com.fr.base.Parameter; |
|
|
|
import com.fr.io.exporter.pdfstream.PDFStreamExporter; |
|
|
|
|
|
|
|
import com.fr.page.PageSetProvider; |
|
|
|
import com.fr.page.PageSetProvider; |
|
|
|
import com.fr.design.actions.JWorkBookAction; |
|
|
|
import com.fr.design.actions.JWorkBookAction; |
|
|
|
import com.fr.design.gui.iprogressbar.FRProgressBar; |
|
|
|
import com.fr.design.gui.iprogressbar.FRProgressBar; |
|
|
@ -140,7 +139,7 @@ public abstract class AbstractExportAction extends JWorkBookAction { |
|
|
|
if (exporter instanceof AppExporter) { |
|
|
|
if (exporter instanceof AppExporter) { |
|
|
|
AppExporter appExporter = (AppExporter) exporter; |
|
|
|
AppExporter appExporter = (AppExporter) exporter; |
|
|
|
if (exporter instanceof ExcelExporter || exporter instanceof CSVExporter |
|
|
|
if (exporter instanceof ExcelExporter || exporter instanceof CSVExporter |
|
|
|
|| exporter instanceof PDFExporter || exporter instanceof PDFStreamExporter || exporter instanceof WordExporter) { |
|
|
|
|| exporter instanceof PDFExporterProcessor || exporter instanceof WordExporter) { |
|
|
|
ReportHelper.clearFormulaResult(tpl);// 清空rpt中的公式计算结果
|
|
|
|
ReportHelper.clearFormulaResult(tpl);// 清空rpt中的公式计算结果
|
|
|
|
|
|
|
|
|
|
|
|
appExporter.export(fileOutputStream, tpl.execute(parameterMap, ActorFactory.getActor(ActorConstants.TYPE_PAGE) |
|
|
|
appExporter.export(fileOutputStream, tpl.execute(parameterMap, ActorFactory.getActor(ActorConstants.TYPE_PAGE) |
|
|
|