public class ExcelTableExporter extends AbstractTableExporter
exportLink, imageSrc, label, selected
Constructor and Description |
---|
ExcelTableExporter() |
ExcelTableExporter(String label) |
ExcelTableExporter(String label,
String imageSrc) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.poi.hssf.usermodel.HSSFCellStyle |
createCellStyle(MessageFormat messageFormat) |
protected void |
createCellStyles(ExportTable table,
org.apache.poi.hssf.usermodel.HSSFSheet sheet,
Context context) |
protected org.apache.poi.hssf.usermodel.HSSFCellStyle |
createHeaderStyle(org.apache.poi.hssf.usermodel.HSSFSheet sheet) |
protected org.apache.poi.hssf.usermodel.HSSFRow |
createRow(org.apache.poi.hssf.usermodel.HSSFSheet sheet) |
protected org.apache.poi.hssf.usermodel.HSSFWorkbook |
createWorkbook() |
protected void |
export(ExportTable table,
Context context,
OutputStream output) |
protected void |
exportTableBody(ExportTable table,
org.apache.poi.hssf.usermodel.HSSFSheet sheet,
Context context) |
protected void |
exportTableHeader(ExportTable table,
org.apache.poi.hssf.usermodel.HSSFSheet sheet,
Context context) |
protected Object |
getColumnValue(Object row,
Column column,
Context context) |
protected String |
getFilename() |
protected String |
getMimeType() |
protected short |
parseCellFormat(String pattern) |
protected void |
setCellValue(Object value,
org.apache.poi.hssf.usermodel.HSSFCell cell) |
void |
setName(String name) |
export, getExportLink, getImageSrc, getLabel, isSelected, setActionListener, setExportLink, setImageSrc, setLabel, setSelected
public ExcelTableExporter()
public ExcelTableExporter(String label)
public void setName(String name)
setName
in class AbstractTableExporter
protected String getMimeType()
getMimeType
in class AbstractTableExporter
protected String getFilename()
getFilename
in class AbstractTableExporter
protected void export(ExportTable table, Context context, OutputStream output) throws IOException
export
in class AbstractTableExporter
IOException
protected void exportTableHeader(ExportTable table, org.apache.poi.hssf.usermodel.HSSFSheet sheet, Context context)
protected void exportTableBody(ExportTable table, org.apache.poi.hssf.usermodel.HSSFSheet sheet, Context context)
protected org.apache.poi.hssf.usermodel.HSSFWorkbook createWorkbook()
protected void createCellStyles(ExportTable table, org.apache.poi.hssf.usermodel.HSSFSheet sheet, Context context)
protected org.apache.poi.hssf.usermodel.HSSFRow createRow(org.apache.poi.hssf.usermodel.HSSFSheet sheet)
protected org.apache.poi.hssf.usermodel.HSSFCellStyle createHeaderStyle(org.apache.poi.hssf.usermodel.HSSFSheet sheet)
protected void setCellValue(Object value, org.apache.poi.hssf.usermodel.HSSFCell cell)
protected org.apache.poi.hssf.usermodel.HSSFCellStyle createCellStyle(MessageFormat messageFormat)
protected short parseCellFormat(String pattern)