org.equanda.reporting.servlet
Class CustomExporter
java.lang.Object
org.equanda.reporting.servlet.CustomExporter
- All Implemented Interfaces:
- net.sf.jasperreports.engine.JRExporter
public class CustomExporter
- extends Object
- implements net.sf.jasperreports.engine.JRExporter
Custom Exporter, does some preprocessing before letting Jasper Reports
produce the report using the normal exporter.
It checks for overlapping elements, and if they exist,
moves the graphical elements up or down to fix the overlap.
This allows exporters which can not handle overlapping elements properly to still produce a decent report.
- Author:
- NetRom team, Joachim Van der Auwera
|
Constructor Summary |
CustomExporter(net.sf.jasperreports.engine.JRExporter real)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomExporter
public CustomExporter(net.sf.jasperreports.engine.JRExporter real)
exportReport
public void exportReport()
throws net.sf.jasperreports.engine.JRException
- Export the report.
Before doing so, fix the overlapping elements
- Specified by:
exportReport in interface net.sf.jasperreports.engine.JRExporter
- Throws:
net.sf.jasperreports.engine.JRException
setParameter
public void setParameter(net.sf.jasperreports.engine.JRExporterParameter jrExporterParameter,
Object obj)
- Specified by:
setParameter in interface net.sf.jasperreports.engine.JRExporter
getParameter
public Object getParameter(net.sf.jasperreports.engine.JRExporterParameter jrExporterParameter)
- Specified by:
getParameter in interface net.sf.jasperreports.engine.JRExporter
setParameters
public void setParameters(Map map)
- Specified by:
setParameters in interface net.sf.jasperreports.engine.JRExporter
getParameters
public Map getParameters()
- Specified by:
getParameters in interface net.sf.jasperreports.engine.JRExporter
Copyright © 2007-2009. All Rights Reserved.