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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14729

can't merge more than 1027 times





------- Additional Comments From [EMAIL PROTECTED]  2002-11-21 19:18 -------
I have tried in excel, and yes it works for at least upto 65000 merged cells.  
I can send you the excel file I you like.

I think I know what the cause of the bug is however - I think the CONTINUE 
record is not being used correctly.

In BIFF8 the maximum biff size is of 8224 for the biff contents without the 
header, and a merged cell record requires 8 bytes per range.  An additional 2 
bytes are required at the beginning for the number of merged cell entries.  
For 1027 merged cells this equals 8*1027 + 2 = 8218 bytes, for 1028 merges a 
corrupt xls file is produced, and the biff entry contains 8*1028 + 2 = 8226 
bytes, which exceeds the biff8 record structure!  I assume the bug is 
therefore is the incorrect use of a CONTINUE record.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to