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=43088>. 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=43088 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED ------- Additional Comments From [EMAIL PROTECTED] 2007-08-24 11:18 ------- I confirmed the problem. I could also reproduce it with HSSFTextbox - if I set text longer than 4111 characters the xls document gets corrupted. It's clear what's wrong. Excel records can't be longer than 8228 bytes, and text.length()*2 + header gets greater that the limit. BTW, POI fails to read such "bad" workbooks although there are no warnings while saving it. Here is the stack trace: Caused by: org.apache.poi.hssf.record.RecordFormatException: The content of an excel record cannot exceed 8224 bytes at org.apache.poi.hssf.record.RecordInputStream.nextRecord(RecordInputStream.java:108) at org.apache.poi.hssf.record.TextObjectRecord.fillFields(TextObjectRecord.java:47) Regards, Yegor -- 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] For additional commands, e-mail: [EMAIL PROTECTED]
