net.sf.jasperreports.jsf.engine.export
Class JExcelApiExporter

java.lang.Object
  extended by net.sf.jasperreports.jsf.engine.export.ExporterBase
      extended by net.sf.jasperreports.jsf.engine.export.JExcelApiExporter
All Implemented Interfaces:
Exporter

public final class JExcelApiExporter
extends ExporterBase

Exports the report contents to an Excel file using the JExcel API.

Author:
A. Alonso Dominguez

Field Summary
static String ATTR_CREATE_CUSTOM_PALETTE
          'CREATE_CUSTOM_PALLETE' exporter attribute name.
static String ATTR_IS_AUTO_DETECT_CELL_TYPE
          Deprecated. 
static String ATTR_IS_COLLAPSE_ROW_SPAN
           
static String ATTR_IS_DETECT_CELL_TYPE
           
static String ATTR_IS_FONT_SIZE_FIX_ENABLED
           
static String ATTR_IS_IGNORE_CELL_BORDER
           
static String ATTR_IS_IGNORE_GRAPHICS
           
static String ATTR_IS_IMAGE_SIZE_FIX_ENABLED
           
static String ATTR_IS_ONE_PAGE_PER_SHEET
           
static String ATTR_IS_REMOVE_EMPTY_SPACE_BETWEEN_COLUMNS
           
static String ATTR_IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS
           
static String ATTR_IS_WHITE_PAGE_BACKGROUND
           
static String ATTR_MAXIMUM_ROWS_PER_SHEET
           
static ContentType CONTENT_TYPE
          MIME type of the exported report.
 
Fields inherited from class net.sf.jasperreports.jsf.engine.export.ExporterBase
ATTR_CHARACTER_ENCODING, ATTR_END_PAGE_INDEX, ATTR_FILTER, ATTR_IGNORE_PAGE_MARGINS, ATTR_OFFSET_X, ATTR_OFFSET_Y, ATTR_PAGE_INDEX, ATTR_START_PAGE_INDEX
 
Constructor Summary
JExcelApiExporter()
           
 
Method Summary
protected  net.sf.jasperreports.engine.JRExporter createJRExporter(javax.faces.context.FacesContext context, UIReport component)
          Creates the jr exporter.
protected  net.sf.jasperreports.engine.export.JRXlsAbstractExporter createJRXlsExporter(javax.faces.context.FacesContext context, UIReport component)
           
 Collection<ContentType> getContentTypes()
          Content type of the output generated by this exporter.
 
Methods inherited from class net.sf.jasperreports.jsf.engine.export.ExporterBase
export, setParameterUsingAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTENT_TYPE

public static final ContentType CONTENT_TYPE
MIME type of the exported report.


ATTR_CREATE_CUSTOM_PALETTE

public static final String ATTR_CREATE_CUSTOM_PALETTE
'CREATE_CUSTOM_PALLETE' exporter attribute name.

See Also:
Constant Field Values

ATTR_IS_AUTO_DETECT_CELL_TYPE

@Deprecated
public static final String ATTR_IS_AUTO_DETECT_CELL_TYPE
Deprecated. 
See Also:
Constant Field Values

ATTR_IS_COLLAPSE_ROW_SPAN

public static final String ATTR_IS_COLLAPSE_ROW_SPAN
See Also:
Constant Field Values

ATTR_IS_DETECT_CELL_TYPE

public static final String ATTR_IS_DETECT_CELL_TYPE
See Also:
Constant Field Values

ATTR_IS_FONT_SIZE_FIX_ENABLED

public static final String ATTR_IS_FONT_SIZE_FIX_ENABLED
See Also:
Constant Field Values

ATTR_IS_IGNORE_CELL_BORDER

public static final String ATTR_IS_IGNORE_CELL_BORDER
See Also:
Constant Field Values

ATTR_IS_IGNORE_GRAPHICS

public static final String ATTR_IS_IGNORE_GRAPHICS
See Also:
Constant Field Values

ATTR_IS_IMAGE_SIZE_FIX_ENABLED

public static final String ATTR_IS_IMAGE_SIZE_FIX_ENABLED
See Also:
Constant Field Values

ATTR_IS_ONE_PAGE_PER_SHEET

public static final String ATTR_IS_ONE_PAGE_PER_SHEET
See Also:
Constant Field Values

ATTR_IS_REMOVE_EMPTY_SPACE_BETWEEN_COLUMNS

public static final String ATTR_IS_REMOVE_EMPTY_SPACE_BETWEEN_COLUMNS
See Also:
Constant Field Values

ATTR_IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS

public static final String ATTR_IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS
See Also:
Constant Field Values

ATTR_IS_WHITE_PAGE_BACKGROUND

public static final String ATTR_IS_WHITE_PAGE_BACKGROUND
See Also:
Constant Field Values

ATTR_MAXIMUM_ROWS_PER_SHEET

public static final String ATTR_MAXIMUM_ROWS_PER_SHEET
See Also:
Constant Field Values
Constructor Detail

JExcelApiExporter

public JExcelApiExporter()
Method Detail

getContentTypes

public Collection<ContentType> getContentTypes()
Description copied from interface: Exporter
Content type of the output generated by this exporter.

Returns:
the exporter's content type.
See Also:
Exporter.getContentTypes()

createJRXlsExporter

protected net.sf.jasperreports.engine.export.JRXlsAbstractExporter createJRXlsExporter(javax.faces.context.FacesContext context,
                                                                                       UIReport component)
                                                                                throws ExporterException
Throws:
ExporterException

createJRExporter

protected net.sf.jasperreports.engine.JRExporter createJRExporter(javax.faces.context.FacesContext context,
                                                                  UIReport component)
Description copied from class: ExporterBase
Creates the jr exporter.

Specified by:
createJRExporter in class ExporterBase
Parameters:
context - the faces' context
component - the report component
Returns:
the jR exporter


Copyright © 2011 SourceForge.net. All Rights Reserved.