public class MapElementXlsxHandler extends Object implements GenericElementXlsxHandler
| Constructor and Description |
|---|
MapElementXlsxHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
exportElement(JRXlsxExporterContext exporterContext,
JRGenericPrintElement element,
JRExporterGridCell gridCell,
int colIndex,
int rowIndex)
Exports a generic element.
|
JRPrintImage |
getImage(JRXlsxExporterContext exporterContext,
JRGenericPrintElement element)
Creates an equivalent image of the
JRGenericPrintElement element to be exported instead. |
static MapElementXlsxHandler |
getInstance() |
boolean |
toExport(JRGenericPrintElement element)
Decides whether a generic print element is to be exported.
|
public static MapElementXlsxHandler getInstance()
public void exportElement(JRXlsxExporterContext exporterContext, JRGenericPrintElement element, JRExporterGridCell gridCell, int colIndex, int rowIndex)
GenericElementXlsxHandler
Access to the exporter output and environment is provided via the
JRXlsxExporterContext argument.
exportElement in interface GenericElementXlsxHandlerexporterContext - the exporter contextelement - the generic element to exportpublic boolean toExport(JRGenericPrintElement element)
GenericElementHandlertoExport in interface GenericElementHandlerelement - the elementpublic JRPrintImage getImage(JRXlsxExporterContext exporterContext, JRGenericPrintElement element) throws JRException
GenericElementXlsxHandlerJRGenericPrintElement element to be exported instead.getImage in interface GenericElementXlsxHandlerelement - the generic element to exportJRExceptionCopyright © 2017. All rights reserved.