public class JRGraphics2DExporter extends JRAbstractExporter
As its name indicates, this exporter is special because it does not produce files or does not send character or binary data to an output stream.
| Modifier and Type | Class and Description |
|---|---|
protected class |
JRGraphics2DExporter.ExporterContext |
JRAbstractExporter.BaseExporterContext, JRAbstractExporter.ParameterOverriddenResolver, JRAbstractExporter.ParameterOverrideResolver, JRAbstractExporter.ParameterResolver| Modifier and Type | Field and Description |
|---|---|
protected JRGraphics2DExporterContext |
exporterContext |
protected FrameDrawer |
frameDrawer |
static String |
GRAPHICS2D_EXPORTER_KEY
The exporter key, as used in
GenericElementHandlerEnviroment.getHandler(net.sf.jasperreports.engine.JRGenericElementType, String). |
protected Graphics2D |
grx |
static String |
MINIMIZE_PRINTER_JOB_SIZE
Property that provides a default value for the
JRGraphics2DExporterParameter.MINIMIZE_PRINTER_JOB_SIZE
Graphics2D exporter parameter. |
protected JRExportProgressMonitor |
progressMonitor |
protected AwtTextRenderer |
textRenderer |
protected float |
zoom |
allSelector, dateFormatCache, endPageIndex, filter, fontMap, globalOffsetX, globalOffsetY, hyperlinkProducerFactory, isModeBatch, jasperPrint, jasperPrintList, jasperReportsContext, noBackcolorSelector, noneSelector, numberFormatCache, parameters, propertiesUtil, PROPERTY_DEFAULT_FILTER_FACTORY, PROPERTY_SUFFIX_DEFAULT_FILTER_FACTORY, startPageIndex, styledTextUtil| Constructor and Description |
|---|
JRGraphics2DExporter() |
JRGraphics2DExporter(JasperReportsContext jasperReportsContext) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
exportPage(JRPrintPage page) |
void |
exportReport()
Actually starts the export process.
|
void |
exportReportToGraphics2D() |
protected String |
getExporterKey() |
FrameDrawer |
getFrameDrawer() |
protected void |
setDrawers() |
protected void |
setTextRenderer() |
createFilter, defaultParseNumber, getBooleanCellValue, getBooleanParameter, getCharacterParameter, getCustomHandler, getDateCellValue, getDateFormat, getFloatParameter, getHyperlinkProducer, getIntegerParameter, getJasperReportsContext, getLocale, getNumberCellValue, getNumberFormat, getOffsetX, getOffsetY, getParameter, getParameterResolver, getParameters, getPropertiesUtil, getReportContext, getStringArrayParameter, getStringParameter, getStringParameterOrDefault, getStyledText, getStyledText, getTextFormatFactoryClass, getTextLocale, getTextTimeZone, getTextValue, getTextValueString, reset, resetClassLoader, resetExportContext, restoreElementOffsets, setClassLoader, setExportContext, setFontMap, setFrameElementsOffset, setHyperlinkProducerFactory, setInput, setJasperPrint, setJasperReportsContext, setOffset, setOffset, setOutput, setPageRange, setParameter, setParameters, setReportContextpublic static final String MINIMIZE_PRINTER_JOB_SIZE
JRGraphics2DExporterParameter.MINIMIZE_PRINTER_JOB_SIZE
Graphics2D exporter parameter.public static final String GRAPHICS2D_EXPORTER_KEY
GenericElementHandlerEnviroment.getHandler(net.sf.jasperreports.engine.JRGenericElementType, String).protected Graphics2D grx
protected JRExportProgressMonitor progressMonitor
protected float zoom
protected AwtTextRenderer textRenderer
protected FrameDrawer frameDrawer
protected JRGraphics2DExporterContext exporterContext
public JRGraphics2DExporter()
throws JRException
JRExceptionJRGraphics2DExporter(JasperReportsContext)public JRGraphics2DExporter(JasperReportsContext jasperReportsContext) throws JRException
JRExceptionpublic void exportReport()
throws JRException
JRExporterexportReport in interface JRExporterexportReport in class JRAbstractExporterJRExceptionprotected void setTextRenderer()
protected void setDrawers()
public void exportReportToGraphics2D()
throws JRException
JRExceptionprotected void exportPage(JRPrintPage page) throws JRException
JRExceptionprotected String getExporterKey()
getExporterKey in class JRAbstractExporterpublic FrameDrawer getFrameDrawer()
Copyright © 2012. All Rights Reserved.