Package org.adempiere.webui.window
Interface IReportViewerExportSource
-
- All Known Implementing Classes:
ZkJRViewer
,ZkReportViewer
public interface IReportViewerExportSource
- Author:
- hengsin
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IReportViewerExportSource.ExportFormat
Model to hold export format properties
-
Field Summary
Fields Modifier and Type Field Description static String
CSV_FILE_EXT
static String
CSV_MIME_TYPE
static String
EXCEL_FILE_EXT
static String
EXCEL_MIME_TYPE
static String
EXCEL_XML_FILE_EXT
static String
EXCEL_XML_MIME_TYPE
static String
HTML_FILE_EXT
static String
HTML_MIME_TYPE
static String
PDF_FILE_EXT
static String
PDF_MIME_TYPE
static String
POSTSCRIPT_FILE_EXT
static String
POSTSCRIPT_MIME_TYPE
static String
SSV_FILE_EXT
static String
TEXT_FILE_EXT
static String
TEXT_MIME_TYPE
static String
XML_FILE_EXT
static String
XML_MIME_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getContentType()
IReportViewerExportSource.ExportFormat[]
getExportFormats()
String
getFileExtension()
org.zkoss.util.media.AMedia
getMedia(String contentType, String fileExtension)
Get media/content by content type and file extensionString
getReportName()
Map<MAuthorizationAccount,IUploadService>
getUploadServiceMap()
-
-
-
Field Detail
-
CSV_MIME_TYPE
static final String CSV_MIME_TYPE
-
EXCEL_MIME_TYPE
static final String EXCEL_MIME_TYPE
-
EXCEL_XML_MIME_TYPE
static final String EXCEL_XML_MIME_TYPE
-
HTML_MIME_TYPE
static final String HTML_MIME_TYPE
-
PDF_MIME_TYPE
static final String PDF_MIME_TYPE
-
POSTSCRIPT_MIME_TYPE
static final String POSTSCRIPT_MIME_TYPE
-
TEXT_MIME_TYPE
static final String TEXT_MIME_TYPE
-
XML_MIME_TYPE
static final String XML_MIME_TYPE
-
CSV_FILE_EXT
static final String CSV_FILE_EXT
- See Also:
- Constant Field Values
-
SSV_FILE_EXT
static final String SSV_FILE_EXT
- See Also:
- Constant Field Values
-
EXCEL_FILE_EXT
static final String EXCEL_FILE_EXT
- See Also:
- Constant Field Values
-
EXCEL_XML_FILE_EXT
static final String EXCEL_XML_FILE_EXT
- See Also:
- Constant Field Values
-
HTML_FILE_EXT
static final String HTML_FILE_EXT
- See Also:
- Constant Field Values
-
PDF_FILE_EXT
static final String PDF_FILE_EXT
- See Also:
- Constant Field Values
-
POSTSCRIPT_FILE_EXT
static final String POSTSCRIPT_FILE_EXT
- See Also:
- Constant Field Values
-
TEXT_FILE_EXT
static final String TEXT_FILE_EXT
- See Also:
- Constant Field Values
-
XML_FILE_EXT
static final String XML_FILE_EXT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMedia
org.zkoss.util.media.AMedia getMedia(String contentType, String fileExtension)
Get media/content by content type and file extension- Parameters:
contentType
-fileExtension
-- Returns:
AMedia
-
getExportFormats
IReportViewerExportSource.ExportFormat[] getExportFormats()
- Returns:
- list of supported export formats
-
getContentType
String getContentType()
- Returns:
- current mime/content type
-
getFileExtension
String getFileExtension()
- Returns:
- current file extension/format
-
getUploadServiceMap
Map<MAuthorizationAccount,IUploadService> getUploadServiceMap()
- Returns:
- list of available authorized upload services
-
getReportName
String getReportName()
- Returns:
- name of report
-
-