public interface GenericElementJExcelApiMetadataHandler extends GenericElementHandler
| Modifier and Type | Method and Description |
|---|---|
int |
exportElement(JExcelApiExporterContext exporterContext,
JRGenericPrintElement element,
java.util.Map<java.lang.String,java.lang.Object> currentRow,
java.util.Map<java.lang.String,java.lang.Object> repeatedValues,
java.util.List<java.lang.String> columnNames,
java.util.Map<java.lang.String,java.lang.Integer> columnNamesMap,
java.lang.String currentColumnName,
int colIndex,
int rowIndex,
boolean repeatValue)
Deprecated.
Exports a generic element.
|
toExportint exportElement(JExcelApiExporterContext exporterContext, JRGenericPrintElement element, java.util.Map<java.lang.String,java.lang.Object> currentRow, java.util.Map<java.lang.String,java.lang.Object> repeatedValues, java.util.List<java.lang.String> columnNames, java.util.Map<java.lang.String,java.lang.Integer> columnNamesMap, java.lang.String currentColumnName, int colIndex, int rowIndex, boolean repeatValue)
Access to the exporter output and environment is provided via the
JExcelApiExporterContext argument.
exporterContext - the exporter contextelement - the generic element to exportcurrentRow - the map with column names as keys and exported CellValue objects as valuesrepeatedValues - the map containing CellValue objects to be placed instead in the currentRow map when the exported object is nullcolumnNames - the list of column namescolumnNamesMap - the map containing the mapping between column names and column indexescurrentColumnName - the current column's namecolIndex - the current column indexrowIndex - the current row indexrepeatValue - the flag specifying if null values should be replaced with objects from the repeatedValues map© 2001-2010 Jaspersoft Corporation www.jaspersoft.com