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 Wed, 21 Nov 2007 01:59:23 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





------- Additional Comments From trejkaz@trypticon.org  2007-11-20 17:59 -------
Created an attachment (id=21169)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21169&action=view)
Fix for EmbeddedObjectRefSubRecord

Patch contains the following fixes made to EmbeddedObjectRefSubRecord:

1. serialize() wasn't writing the record's sid and length (I forgot that it
   was the subclass' responsibility... blame the API ;-))

2. getRecordSize() was off by 2 as it wasn't taking into account the length of
   the stream ID offset field.

3. Storing the amount of padding instead of figuring it out from the offsets.
   Makes no difference but is somewhat more sane to look at.  Still a hack
   because it should probably write all the stuff and then set the offset field

   once it knows how far in it is.

In any case after this that file still doesn't work for me.  But commenting out
the EmbeddedObjectRefSubRecord check in SubRecord doesn't make it work either.


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