public class MapElementDocxHandler extends Object implements GenericElementDocxHandler
| Constructor and Description |
|---|
MapElementDocxHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
exportElement(JRDocxExporterContext exporterContext,
JRGenericPrintElement element,
JRExporterGridCell gridCell)
Exports a generic element.
|
JRPrintImage |
getImage(JRDocxExporterContext exporterContext,
JRGenericPrintElement element)
Creates an equivalent image of the
JRGenericPrintElement element to be exported instead. |
static MapElementDocxHandler |
getInstance() |
boolean |
toExport(JRGenericPrintElement element)
Decides whether a generic print element is to be exported.
|
public static MapElementDocxHandler getInstance()
public void exportElement(JRDocxExporterContext exporterContext, JRGenericPrintElement element, JRExporterGridCell gridCell)
GenericElementDocxHandler
Access to the exporter output and environment is provided via the
JRDocxExporterContext argument.
exportElement in interface GenericElementDocxHandlerexporterContext - the exporter contextelement - the generic element to exportpublic boolean toExport(JRGenericPrintElement element)
GenericElementHandlertoExport in interface GenericElementHandlerelement - the elementpublic JRPrintImage getImage(JRDocxExporterContext exporterContext, JRGenericPrintElement element) throws JRException
GenericElementDocxHandlerJRGenericPrintElement element to be exported instead.getImage in interface GenericElementDocxHandlerelement - the generic element to exportJRExceptionCopyright © 2012. All Rights Reserved.