DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27571>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27571


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Additional Comments From [EMAIL PROTECTED]  2007-03-23 09:51 -------
Hi, I am still facing this bug. I tried with version 2.5 and the
3.0beta(20061212) and the problem remained, i.e., the generated file is 
corrupted.

A weird thing happened when I removed the first worksheet (tab), the generated
file was NOT corrupted.
I was thinking that the problem was with the MACROS but it seems not.

See the details:
1) Java code:
...
POIFSFileSystem fs = new POIFSFileSystem(new FileInputStream("C:\\table.xls"));
HSSFWorkbook wb = new HSSFWorkbook(fs);
FileOutputStream fileOut = new FileOutputStream("C:\\table_output.xls");
wb.write(fileOut);
fileOut.close();
...

2) The input file attached table.xls

3) The output file attached table_output.xls

4) The modified file with the first worksheet removed
table_removed_first_worksheet.xls.

Thanks,
Juliano

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
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