|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jxl.demo.Write
Demo class which writes a spreadsheet. This demo illustrates most of the features of the JExcelAPI, such as text, numbers, fonts, number formats and date formats
| Field Summary | |
private java.lang.String |
filename
The filename |
| Constructor Summary | |
Write(java.lang.String fn)
Constructor |
|
| Method Summary | |
void |
write()
Uses the JExcelAPI to create a spreadsheet |
private void |
writeBordersSheet(WritableSheet s)
Adds cells to the specified sheet which test the various border styles |
private void |
writeDateFormatSheet(WritableSheet s)
Adds cells to the specified sheet which test the various date formats |
private void |
writeFormulaSheet(WritableSheet ws)
Test out the formula parser |
private void |
writeLabelFormatSheet(WritableSheet s1)
Adds cells to the specified sheet which test the various label formatting styles, such as different fonts, different sizes and bold, underline etc. |
private void |
writeLabelsSheet(WritableSheet ws)
Write out loads of labels, in order to test the shared string table |
private void |
writeNumberFormatSheet(WritableSheet s)
Writes out a sheet containing the various numerical formats |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private java.lang.String filename
| Constructor Detail |
public Write(java.lang.String fn)
fn - | Method Detail |
public void write()
throws java.io.IOException,
WriteException
java.io.IOException - WriteException -
private void writeNumberFormatSheet(WritableSheet s)
throws WriteException
s -
private void writeDateFormatSheet(WritableSheet s)
throws WriteException
s -
private void writeLabelFormatSheet(WritableSheet s1)
throws WriteException
s1 -
private void writeBordersSheet(WritableSheet s)
throws WriteException
s -
private void writeLabelsSheet(WritableSheet ws)
throws WriteException
private void writeFormulaSheet(WritableSheet ws)
throws WriteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||