Package org.idempiere.print.renderer
Class XLSReportRenderer
java.lang.Object
org.idempiere.print.renderer.XLSReportRenderer
- All Implemented Interfaces:
IReportRenderer<XLSReportRendererConfiguration>
public class XLSReportRenderer
extends Object
implements IReportRenderer<XLSReportRendererConfiguration>
Excel (xls) content rendering service for report engine
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet configuration typeGet MIME content type (text/html, etc)Get file extension (without dot)getId()
Get id of renderergetName()
Get renderer nameboolean
isBinary()
Is binary contentvoid
renderReport
(ReportEngine reportEngine, XLSReportRendererConfiguration configuration) Render content for report engine
-
Constructor Details
-
XLSReportRenderer
public XLSReportRenderer()
-
-
Method Details
-
getId
Description copied from interface:IReportRenderer
Get id of renderer- Specified by:
getId
in interfaceIReportRenderer<XLSReportRendererConfiguration>
- Returns:
- renderer id (HTML, XLS, etc)
-
getName
Description copied from interface:IReportRenderer
Get renderer name- Specified by:
getName
in interfaceIReportRenderer<XLSReportRendererConfiguration>
- Returns:
- renderer name
-
getContentType
Description copied from interface:IReportRenderer
Get MIME content type (text/html, etc)- Specified by:
getContentType
in interfaceIReportRenderer<XLSReportRendererConfiguration>
- Returns:
- MIME content type
-
getFileExtension
Description copied from interface:IReportRenderer
Get file extension (without dot)- Specified by:
getFileExtension
in interfaceIReportRenderer<XLSReportRendererConfiguration>
- Returns:
- file extension
-
renderReport
Description copied from interface:IReportRenderer
Render content for report engine- Specified by:
renderReport
in interfaceIReportRenderer<XLSReportRendererConfiguration>
-
isBinary
public boolean isBinary()Description copied from interface:IReportRenderer
Is binary content- Specified by:
isBinary
in interfaceIReportRenderer<XLSReportRendererConfiguration>
- Returns:
- true if content is binary
-
getConfigurationType
Description copied from interface:IReportRenderer
Get configuration type- Specified by:
getConfigurationType
in interfaceIReportRenderer<XLSReportRendererConfiguration>
- Returns:
- configuration type
-