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