I have the same phenomenon here with 3.0
It seems POI is not yet fully like the real Excel file format, so it saves unnecessary information or something like that.


Niharika Mateti schrieb:
Hi,

I am using POI to modify an excel sheet. But somehow the file size
increases a lot even if I don't modify anything, and just save it.
When I open that saved excel sheet in Microsoft Excel, and save it, the
file size is again decreased. I am using poi version 2.5.

My code is as follows


POIFSFileSystem fs = *new* POIFSFileSystem(*new* BufferedInputStream(is));

HSSFWorkbook wb = *new* HSSFWorkbook(fs);

fos = *new* FileOutputStream(filename);

wb.write(fos);

Thanks,
Niharika



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

Reply via email to