net.sf.jasperreports.engine.export
Interface GenericElementJExcelApiMetadataHandler
- All Superinterfaces:
- GenericElementHandler
public interface GenericElementJExcelApiMetadataHandler
- extends GenericElementHandler
A generic print element XLS export handler.
- Version:
- $Id: GenericElementJExcelApiMetadataHandler.java 5180 2012-03-29 13:23:12Z teodord $
- Author:
- sanda zaharia (shertage@users.sourceforge.net)
|
Method Summary |
int |
exportElement(JExcelApiExporterContext exporterContext,
JRGenericPrintElement element,
Map<String,Object> currentRow,
Map<String,Object> repeatedValues,
List<String> columnNames,
Map<String,Integer> columnNamesMap,
String currentColumnName,
int colIndex,
int rowIndex,
boolean repeatValue)
Exports a generic element. |
exportElement
int exportElement(JExcelApiExporterContext exporterContext,
JRGenericPrintElement element,
Map<String,Object> currentRow,
Map<String,Object> repeatedValues,
List<String> columnNames,
Map<String,Integer> columnNamesMap,
String currentColumnName,
int colIndex,
int rowIndex,
boolean repeatValue)
- Exports a generic element.
Access to the exporter output and environment is provided via the
JExcelApiExporterContext argument.
- Parameters:
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
- Returns:
- int value representing the resulting row index, if this was incremented during export
Copyright © 2012. All Rights Reserved.