Package net.sf.jasperreports.engine
Class JRAbstractExporter.BaseExporterContext
java.lang.Object
net.sf.jasperreports.engine.JRAbstractExporter.BaseExporterContext
- All Implemented Interfaces:
JRExporterContext
- Direct Known Subclasses:
HtmlExporter.ExporterContext
,JRCsvExporter.ExporterContext
,JRCsvMetadataExporter.ExporterContext
,JRDocxExporter.ExporterContext
,JRGraphics2DExporter.ExporterContext
,JROdsExporter.ExporterContext
,JROdtExporter.ExporterContext
,JRPdfExporter.ExporterContext
,JRPptxExporter.ExporterContext
,JRPrintServiceExporter.ExporterContext
,JRRtfExporter.ExporterContext
,JRTextExporter.ExporterContext
,JRXlsExporter.ExporterContext
,JRXlsMetadataExporter.ExporterContext
,JRXlsxExporter.ExporterContext
,JRXmlExporter.ExporterContext
,JsonExporter.ExporterContext
,JsonMetadataExporter.ExporterContext
,XlsxMetadataExporter.ExporterContext
- Enclosing class:
JRAbstractExporter<RC extends ReportExportConfiguration,
C extends ExporterConfiguration, O extends ExporterOutput, E extends JRExporterContext>
public abstract class JRAbstractExporter.BaseExporterContext
extends Object
implements JRExporterContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the report which is currently exported.Returns the current exporter.int
Returns the current X-axis offset at which elements should be exported.int
Returns the current Y-axis offset at which elements should be exported.void
-
Constructor Details
-
BaseExporterContext
public BaseExporterContext()
-
-
Method Details
-
getExporterRef
Description copied from interface:JRExporterContext
Returns the current exporter.- Specified by:
getExporterRef
in interfaceJRExporterContext
- Returns:
- current exporter
-
getJasperReportsContext
- Specified by:
getJasperReportsContext
in interfaceJRExporterContext
-
getRepository
- Specified by:
getRepository
in interfaceJRExporterContext
-
getExportedReport
Description copied from interface:JRExporterContext
Returns the report which is currently exported.- Specified by:
getExportedReport
in interfaceJRExporterContext
- Returns:
- currently exported report
-
getOffsetX
public int getOffsetX()Description copied from interface:JRExporterContext
Returns the current X-axis offset at which elements should be exported.- Specified by:
getOffsetX
in interfaceJRExporterContext
- Returns:
- the current X-axis offset
-
getOffsetY
public int getOffsetY()Description copied from interface:JRExporterContext
Returns the current Y-axis offset at which elements should be exported.- Specified by:
getOffsetY
in interfaceJRExporterContext
- Returns:
- the current Y-axis offset
-
getValue
- Specified by:
getValue
in interfaceJRExporterContext
-
setValue
- Specified by:
setValue
in interfaceJRExporterContext
-
getValues
- Specified by:
getValues
in interfaceJRExporterContext
-