public class MapElementDocxHandler extends java.lang.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(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 GenericElementDocxHandler
exporterContext
- the exporter contextelement
- the generic element to exportpublic boolean toExport(JRGenericPrintElement element)
GenericElementHandler
toExport
in interface GenericElementHandler
element
- the elementpublic JRPrintImage getImage(JRGenericPrintElement element) throws JRException
GenericElementDocxHandler
JRGenericPrintElement
element to be exported instead.getImage
in interface GenericElementDocxHandler
element
- the generic element to exportJRException
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com