public class ExcelOutputHandler extends OutputTypeHandler
file, mimeType| Constructor and Description |
|---|
ExcelOutputHandler(java.lang.String path,
javax.faces.context.FacesContext fc,
java.lang.String title) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCell(jxl.write.WritableCell cell) |
protected jxl.write.WritableCell |
deriveCellFromObject(java.lang.Object output,
int col,
int row,
jxl.write.WritableCellFormat format)
Unlike the other methods, row is specific to the whole worksheet,
not just the data rows
|
void |
flushFile() |
protected jxl.write.WritableCellFormat |
getCellFormat() |
protected jxl.write.WritableCellFormat |
getFooterCellFormat() |
protected jxl.write.WritableCellFormat |
getHeaderCellFormat() |
void |
writeCell(java.lang.Object output,
int col,
int row)
The row indexing is zero based, from the perspective of the row data,
ignoring how many rows were used for the header
|
void |
writeFooterCell(java.lang.Object output,
int col,
int row)
The row indexing is zero based, from the perspective of the row data,
ignoring how many rows were used for the header
|
void |
writeHeaderCell(java.lang.String text,
int col) |
getFile, getMimeTypepublic ExcelOutputHandler(java.lang.String path,
javax.faces.context.FacesContext fc,
java.lang.String title)
public void flushFile()
flushFile in class OutputTypeHandlerpublic void writeCell(java.lang.Object output,
int col,
int row)
writeCell in class OutputTypeHandlerpublic void writeHeaderCell(java.lang.String text,
int col)
writeHeaderCell in class OutputTypeHandlerpublic void writeFooterCell(java.lang.Object output,
int col,
int row)
writeFooterCell in class OutputTypeHandlerprotected jxl.write.WritableCell deriveCellFromObject(java.lang.Object output,
int col,
int row,
jxl.write.WritableCellFormat format)
protected void addCell(jxl.write.WritableCell cell)
protected jxl.write.WritableCellFormat getHeaderCellFormat()
protected jxl.write.WritableCellFormat getCellFormat()
protected jxl.write.WritableCellFormat getFooterCellFormat()
Copyright 2025 ICEsoft Technologies Canada, Corp. All Rights Reserved.