net.sf.jasperreports.engine.export.ooxml
Interface GenericElementDocxHandler

All Superinterfaces:
GenericElementHandler
All Known Implementing Classes:
MapElementDocxHandler

public interface GenericElementDocxHandler
extends GenericElementHandler

A generic print element DOCX export handler.

Version:
$Id: GenericElementDocxHandler.java 5060 2012-03-13 08:55:42Z teodord $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Method Summary
 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.
 
Methods inherited from interface net.sf.jasperreports.engine.export.GenericElementHandler
toExport
 

Method Detail

exportElement

void exportElement(JRDocxExporterContext exporterContext,
                   JRGenericPrintElement element,
                   JRExporterGridCell gridCell)
Exports a generic element.

Access to the exporter output and environment is provided via the JRDocxExporterContext argument.

Parameters:
exporterContext - the exporter context
element - the generic element to export

getImage

JRPrintImage getImage(JRDocxExporterContext exporterContext,
                      JRGenericPrintElement element)
                      throws JRException
Creates an equivalent image of the JRGenericPrintElement element to be exported instead.

Parameters:
element - the generic element to export
Returns:
JRPrintImage the equivalent image
Throws:
JRException


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com