poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shadi Al Barhouch" <shadi...@scs-net.org>
Subject Adding cells
Date Sat, 27 Dec 2003 22:20:49 GMT
Hi :
I would  like to know if there any way to add cells to a spread sheet (Excel
file) before saving it into OutputStream .
For more Decleration :
Suppose I have this code :
HSSFWorkBook workbook = new HSSFWorkBook();
HSSFSheet sheet =workbook.createSheet("General");
HSSFRow row = sheet.createRow(0);
HSSSFCell cell= row.createCell(1);
cell.setString("Hello");
workbook.write(OutputStream os);
Now if I liked to set a new cell to the outputstream
How can I do that and save it to the same outputstream without corrupting
The OutputStream structure.
Best Regards
Shadi



---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org


Mime
View raw message