public abstract class JRAbstractExporter.BaseExporterContext extends Object implements JRExporterContext
| Constructor and Description |
|---|
BaseExporterContext() |
| Modifier and Type | Method and Description |
|---|---|
JasperPrint |
getExportedReport()
Returns the report which is currently exported.
|
JRExporter |
getExporter()
Deprecated.
Replaced by
getExporterRef(). |
Exporter |
getExporterRef()
Returns the current exporter.
|
Map<JRExporterParameter,Object> |
getExportParameters()
Returns the map of export parameters.
|
String |
getExportPropertiesPrefix() |
JasperReportsContext |
getJasperReportsContext() |
int |
getOffsetX()
Returns the current X-axis offset at which elements should be exported.
|
int |
getOffsetY()
Returns the current Y-axis offset at which elements should be exported.
|
Object |
getValue(String key) |
Map<String,Object> |
getValues() |
void |
setValue(String key,
Object value) |
public JRExporter getExporter()
getExporterRef().getExporter in interface JRExporterContextpublic Exporter getExporterRef()
JRExporterContextgetExporterRef in interface JRExporterContextpublic JasperReportsContext getJasperReportsContext()
getJasperReportsContext in interface JRExporterContextpublic JasperPrint getExportedReport()
JRExporterContextgetExportedReport in interface JRExporterContextpublic Map<JRExporterParameter,Object> getExportParameters()
JRExporterContext
The map uses JRExporterParameter instances as keys.
getExportParameters in interface JRExporterContextpublic int getOffsetX()
JRExporterContextgetOffsetX in interface JRExporterContextpublic int getOffsetY()
JRExporterContextgetOffsetY in interface JRExporterContextpublic String getExportPropertiesPrefix()
getExportPropertiesPrefix in interface JRExporterContextpublic Object getValue(String key)
getValue in interface JRExporterContextpublic void setValue(String key, Object value)
setValue in interface JRExporterContextpublic Map<String,Object> getValues()
getValues in interface JRExporterContextCopyright © 2017. All rights reserved.