|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.hssf.HssfAggregateTableUtils com.jidesoft.hssf.HssfAggregateTablePaneUtils
HssfTableScrollPaneUtils
@Deprecated public class HssfAggregateTablePaneUtils
HssfAggregateTablePaneUtils
is a class that has methods to export AggregateTablePane to Excel file
format using POI.
HssfTableUtils.CLIENT_PROPERTY_EXCEL_OUTPUT_FORMAT
for the target
AggregateTablePane before you invoke this method so that you can choose the output format. If you didn't set the
client property, we will use office2003 format for backward compatibility concern.
Constructor Summary | |
---|---|
HssfAggregateTablePaneUtils()
Deprecated. |
Method Summary | |
---|---|
static boolean |
export(AggregateTablePane tablePane,
OutputStream out,
String sheetName)
Deprecated. Exports the AggregateTablePane to Excel file as an output steam. |
static boolean |
export(AggregateTablePane tablePane,
OutputStream out,
String sheetName,
HssfTableUtils.CellValueConverter converter)
Deprecated. Exports the AggregateTablePane to Excel file. |
static boolean |
export(AggregateTablePane tablePane,
String fileName,
String sheetName,
boolean append)
Deprecated. Exports the AggregateTablePane to Excel file. |
static boolean |
export(AggregateTablePane tablePane,
String fileName,
String sheetName,
boolean append,
HssfTableUtils.CellValueConverter converter)
Deprecated. Exports the AggregateTablePane to Excel file. |
Methods inherited from class com.jidesoft.hssf.HssfAggregateTableUtils |
---|
export, export, export, export, export, export, export, export, export, exportToCell, exportToSheet, exportToSheet, exportToSheet, exportToSheet, exportToSheet, exportToSheet, exportToSheet, exportToSheet, isHssfInstalled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HssfAggregateTablePaneUtils()
Method Detail |
---|
public static boolean export(AggregateTablePane tablePane, String fileName, String sheetName, boolean append) throws IOException
tablePane
- the AggregateTablePane
.fileName
- the Excel file name. It should be the full path to the file.sheetName
- the worksheet name.append
- whether it appends to the existing Excel file or it creates a new Excel file.
IOException
- if if an I/O error occurs when writing to the file.public static boolean export(AggregateTablePane tablePane, String fileName, String sheetName, boolean append, HssfTableUtils.CellValueConverter converter) throws IOException
tablePane
- the AggregateTablePane
.fileName
- the Excel file name. It should be the full path to the file.sheetName
- the worksheet name.append
- whether it appends to the existing Excel file or it creates a new Excel file.converter
- the converter to converts cell value to the value that can be set to Excel cell. Please note,
this converter is only used to convert the cell in the data area, not any cells in row header or
column header area.
IOException
- if if an I/O error occurs when writing to the file.public static boolean export(AggregateTablePane tablePane, OutputStream out, String sheetName) throws IOException
tablePane
- the AggregateTablePane
.out
- the output streamsheetName
- the worksheet name.
IOException
- if if an I/O error occurs when writing to the OutputStream.public static boolean export(AggregateTablePane tablePane, OutputStream out, String sheetName, HssfTableUtils.CellValueConverter converter) throws IOException
tablePane
- the AggregateTablePane
.out
- the output streamsheetName
- the worksheet name.converter
- the converter to converts cell value to the value that can be set to Excel cell. Please note,
this converter is only used to convert the cell in the data area, not any cells in row header or
column header area.
IOException
- if if an I/O error occurs when writing to the OutputStream.
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |