public class ExcelExporter extends Exporter
Exporter.ColumnType| Constructor and Description |
|---|
ExcelExporter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addColumnFacets(DataTable table,
org.apache.poi.ss.usermodel.Sheet sheet,
Exporter.ColumnType columnType) |
protected void |
addColumnValue(org.apache.poi.ss.usermodel.Row row,
List<javax.faces.component.UIComponent> components,
UIColumn column) |
protected void |
addColumnValue(org.apache.poi.ss.usermodel.Row row,
String value) |
protected void |
addColumnValue(org.apache.poi.ss.usermodel.Row row,
javax.faces.component.UIComponent component) |
protected org.apache.poi.ss.usermodel.RichTextString |
createRichTextString(String value) |
protected org.apache.poi.ss.usermodel.Workbook |
createWorkBook() |
void |
export(javax.faces.context.FacesContext context,
DataTable table,
String filename,
boolean pageOnly,
boolean selectionOnly,
String encodingType,
javax.el.MethodExpression preProcessor,
javax.el.MethodExpression postProcessor) |
void |
export(javax.faces.context.FacesContext context,
List<String> clientIds,
String filename,
boolean pageOnly,
boolean selectionOnly,
String encodingType,
javax.el.MethodExpression preProcessor,
javax.el.MethodExpression postProcessor) |
void |
export(javax.faces.context.FacesContext context,
String filename,
List<DataTable> tables,
boolean pageOnly,
boolean selectionOnly,
String encodingType,
javax.el.MethodExpression preProcessor,
javax.el.MethodExpression postProcessor) |
protected void |
exportCells(DataTable table,
Object document) |
void |
exportTable(javax.faces.context.FacesContext context,
DataTable table,
org.apache.poi.ss.usermodel.Sheet sheet,
boolean pageOnly,
boolean selectionOnly) |
protected String |
getContentDisposition(String filename) |
protected void |
writeExcelToResponse(javax.faces.context.ExternalContext externalContext,
org.apache.poi.ss.usermodel.Workbook generatedExcel,
String filename) |
exportAll, exportColumnByFunction, exportPageOnly, exportRow, exportRow, exportSelectionOnly, exportValue, getColumnsToExport, getSheetName, hasColumnFooter, postRowExport, preRowExportpublic void export(javax.faces.context.FacesContext context,
DataTable table,
String filename,
boolean pageOnly,
boolean selectionOnly,
String encodingType,
javax.el.MethodExpression preProcessor,
javax.el.MethodExpression postProcessor)
throws IOException
export in class ExporterIOExceptionpublic void export(javax.faces.context.FacesContext context,
String filename,
List<DataTable> tables,
boolean pageOnly,
boolean selectionOnly,
String encodingType,
javax.el.MethodExpression preProcessor,
javax.el.MethodExpression postProcessor)
throws IOException
export in class ExporterIOExceptionpublic void export(javax.faces.context.FacesContext context,
List<String> clientIds,
String filename,
boolean pageOnly,
boolean selectionOnly,
String encodingType,
javax.el.MethodExpression preProcessor,
javax.el.MethodExpression postProcessor)
throws IOException
export in class ExporterIOExceptionprotected void exportCells(DataTable table, Object document)
exportCells in class Exporterprotected void addColumnFacets(DataTable table, org.apache.poi.ss.usermodel.Sheet sheet, Exporter.ColumnType columnType)
protected void addColumnValue(org.apache.poi.ss.usermodel.Row row,
javax.faces.component.UIComponent component)
protected void addColumnValue(org.apache.poi.ss.usermodel.Row row,
String value)
protected void addColumnValue(org.apache.poi.ss.usermodel.Row row,
List<javax.faces.component.UIComponent> components,
UIColumn column)
protected org.apache.poi.ss.usermodel.RichTextString createRichTextString(String value)
protected org.apache.poi.ss.usermodel.Workbook createWorkBook()
protected void writeExcelToResponse(javax.faces.context.ExternalContext externalContext,
org.apache.poi.ss.usermodel.Workbook generatedExcel,
String filename)
throws IOException
IOExceptionpublic void exportTable(javax.faces.context.FacesContext context,
DataTable table,
org.apache.poi.ss.usermodel.Sheet sheet,
boolean pageOnly,
boolean selectionOnly)
Copyright © 2016. All rights reserved.