Package org.idempiere.ui.zk.report
Class XMLReportViewerRenderer
java.lang.Object
org.idempiere.ui.zk.report.XMLReportViewerRenderer
- All Implemented Interfaces:
IReportViewerRenderer
XML content rendering service for report viewer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet MIME content type (text/html, etc)Renderer label for export output type selectionOutput file extension (without dot)getId()
Get id of rendererboolean
isExport()
Is renderer support exportboolean
isPreview
(boolean roleCanExport) Is renderer support previeworg.zkoss.util.media.AMedia
renderMedia
(ZkReportViewer viewer, boolean export) Render output media for reportMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.idempiere.ui.zk.report.IReportViewerRenderer
getPreviewLabel, isSameContentForExportAndPreview, makePrefix
-
Constructor Details
-
XMLReportViewerRenderer
public XMLReportViewerRenderer()
-
-
Method Details
-
getId
Description copied from interface:IReportViewerRenderer
Get id of renderer- Specified by:
getId
in interfaceIReportViewerRenderer
- Returns:
- renderer id (PDF, HTML, etc)
-
getExportLabel
Description copied from interface:IReportViewerRenderer
Renderer label for export output type selection- Specified by:
getExportLabel
in interfaceIReportViewerRenderer
- Returns:
- label for export output type selection
-
getContentType
Description copied from interface:IReportViewerRenderer
Get MIME content type (text/html, etc)- Specified by:
getContentType
in interfaceIReportViewerRenderer
- Returns:
- MIME content type
-
getFileExtension
Description copied from interface:IReportViewerRenderer
Output file extension (without dot)- Specified by:
getFileExtension
in interfaceIReportViewerRenderer
- Returns:
- output file extension (html, csv, xls, etc)
-
isExport
public boolean isExport()Description copied from interface:IReportViewerRenderer
Is renderer support export- Specified by:
isExport
in interfaceIReportViewerRenderer
- Returns:
- true if renderer support export
-
isPreview
public boolean isPreview(boolean roleCanExport) Description copied from interface:IReportViewerRenderer
Is renderer support preview- Specified by:
isPreview
in interfaceIReportViewerRenderer
- Parameters:
roleCanExport
- true if role can export- Returns:
- true if renderer support preview
-
renderMedia
Description copied from interface:IReportViewerRenderer
Render output media for report- Specified by:
renderMedia
in interfaceIReportViewerRenderer
- Returns:
- media
-