org.primefaces.component.export
Class ExcelExporter
java.lang.Object
org.primefaces.component.export.Exporter
org.primefaces.component.export.ExcelExporter
public class ExcelExporter
- extends Exporter
Method Summary |
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)
|
protected void |
addColumnValue(org.apache.poi.ss.usermodel.Row row,
javax.faces.component.UIComponent component)
|
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)
|
protected void |
exportAll(javax.faces.context.FacesContext context,
DataTable table,
org.apache.poi.ss.usermodel.Sheet sheet)
|
protected void |
exportCells(DataTable table,
org.apache.poi.ss.usermodel.Sheet sheet)
|
protected void |
exportPageOnly(javax.faces.context.FacesContext context,
DataTable table,
org.apache.poi.ss.usermodel.Sheet sheet)
|
protected void |
exportRow(DataTable table,
org.apache.poi.ss.usermodel.Sheet sheet,
int rowIndex)
|
protected void |
exportSelectionOnly(javax.faces.context.FacesContext context,
DataTable table,
org.apache.poi.ss.usermodel.Sheet sheet)
|
protected void |
writeExcelToResponse(javax.faces.context.ExternalContext externalContext,
org.apache.poi.ss.usermodel.Workbook generatedExcel,
String filename)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExcelExporter
public ExcelExporter()
export
public 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
- Specified by:
export
in class Exporter
- Throws:
IOException
exportPageOnly
protected void exportPageOnly(javax.faces.context.FacesContext context,
DataTable table,
org.apache.poi.ss.usermodel.Sheet sheet)
exportSelectionOnly
protected void exportSelectionOnly(javax.faces.context.FacesContext context,
DataTable table,
org.apache.poi.ss.usermodel.Sheet sheet)
exportAll
protected void exportAll(javax.faces.context.FacesContext context,
DataTable table,
org.apache.poi.ss.usermodel.Sheet sheet)
exportRow
protected void exportRow(DataTable table,
org.apache.poi.ss.usermodel.Sheet sheet,
int rowIndex)
exportCells
protected void exportCells(DataTable table,
org.apache.poi.ss.usermodel.Sheet sheet)
addColumnFacets
protected void addColumnFacets(DataTable table,
org.apache.poi.ss.usermodel.Sheet sheet,
Exporter.ColumnType columnType)
addColumnValue
protected void addColumnValue(org.apache.poi.ss.usermodel.Row row,
javax.faces.component.UIComponent component)
addColumnValue
protected void addColumnValue(org.apache.poi.ss.usermodel.Row row,
List<javax.faces.component.UIComponent> components)
writeExcelToResponse
protected void writeExcelToResponse(javax.faces.context.ExternalContext externalContext,
org.apache.poi.ss.usermodel.Workbook generatedExcel,
String filename)
throws IOException
- Throws:
IOException
Copyright © 2013. All Rights Reserved.