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 void |
applyCellOptions(org.apache.poi.ss.usermodel.Workbook wb,
ExporterOptions options,
org.apache.poi.ss.usermodel.CellStyle cellStyle) |
protected void |
applyFacetOptions(org.apache.poi.ss.usermodel.Workbook wb,
ExporterOptions options,
org.apache.poi.ss.usermodel.CellStyle facetStyle) |
protected void |
applyOptions(org.apache.poi.ss.usermodel.Workbook wb,
DataTable table,
org.apache.poi.ss.usermodel.Sheet sheet,
ExporterOptions options) |
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,
ExporterOptions options,
javax.el.MethodExpression onTableRender) |
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,
ExporterOptions options,
javax.el.MethodExpression onTableRender) |
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,
ExporterOptions options,
javax.el.MethodExpression onTableRender) |
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 String |
getContentType() |
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,
ExporterOptions options,
javax.el.MethodExpression onTableRender)
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,
ExporterOptions options,
javax.el.MethodExpression onTableRender)
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,
ExporterOptions options,
javax.el.MethodExpression onTableRender)
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
IOExceptionprotected String getContentType()
public void exportTable(javax.faces.context.FacesContext context,
DataTable table,
org.apache.poi.ss.usermodel.Sheet sheet,
boolean pageOnly,
boolean selectionOnly)
protected void applyOptions(org.apache.poi.ss.usermodel.Workbook wb,
DataTable table,
org.apache.poi.ss.usermodel.Sheet sheet,
ExporterOptions options)
protected void applyFacetOptions(org.apache.poi.ss.usermodel.Workbook wb,
ExporterOptions options,
org.apache.poi.ss.usermodel.CellStyle facetStyle)
protected void applyCellOptions(org.apache.poi.ss.usermodel.Workbook wb,
ExporterOptions options,
org.apache.poi.ss.usermodel.CellStyle cellStyle)
Copyright © 2018. All rights reserved.