poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43877] - Cant open the saved XLS has 58 controls
Date Tue, 20 Nov 2007 18:19:59 GMT
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=43877>.
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=43877


yegor@dinom.ru changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trejkaz@trypticon.org




------- Additional Comments From yegor@dinom.ru  2007-11-20 10:19 -------

I'm looking into the problem.

1. It's even worse in trunk. POI produces invalid xls from a workbook with the
only checkbox control, i.e any number of checkboxes results in a invalid xls
document. (In 3.0.1 it works fine, re-save of a workbook with 1 checkbox
produces correct xls). My investigation revealed that the problem is in
org.apache.poi.hssf.record.SubRecord.
It was a patch by Daniel Noll with support for getting OLE objects from
HSSFWorkbook ( bug 43222 ). 

After I commented out the following three lines the situation has improved. 

+            case EmbeddedObjectRefSubRecord.sid:
+                r = new EmbeddedObjectRefSubRecord( in );
+                break;

Daniel, would you please look into it? We are going to release soon and if it is
not fixed, I will have to revert your patch.

2. I confirmed that MSODRAWINGGROUP record gets corrupted if the number of
controls is greater than 58.
Since it works with smaller values most likely we have a continue
record issue. I keep researching.

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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message