public class DefaultExportExtension extends AbstractExportExtension
CURRENT_LEVEL, MARK_TAG
DEFAULT_LAYER_INDEX
构造器和说明 |
---|
DefaultExportExtension() |
限定符和类型 | 方法和说明 |
---|---|
ExportCollection |
createCollection(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
ReportSessionIDInfor sessionIDInfor,
java.lang.String format,
java.lang.String fileName,
boolean isEmbed)
导出所需要的集合
|
java.lang.String |
fileName(javax.servlet.http.HttpServletRequest req,
TemplateSessionIDInfo sessionIDInfor)
导出后的文件名
|
createExcelExporter, createLargeDataExportCollection, currentAPILevel, layerIndex
public java.lang.String fileName(javax.servlet.http.HttpServletRequest req, TemplateSessionIDInfo sessionIDInfor) throws java.lang.Exception
ExportExtensionProcessor
req
- HTTP请求sessionIDInfor
- 报表的会话信息java.lang.Exception
public ExportCollection createCollection(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, ReportSessionIDInfor sessionIDInfor, java.lang.String format, java.lang.String fileName, boolean isEmbed) throws java.lang.Exception
ExportExtensionProcessor
req
- HTTP请求res
- HTTP响应sessionIDInfor
- 报表的会话信息format
- 导出格式fileName
- 导出的文件名isEmbed
- 是否是内置导出java.lang.Exception
- 如果导出过程中出现异常则抛出此异常