MULBLANK class

8 views
Skip to first unread message

xiv

unread,
Apr 6, 2009, 11:28:23 AM4/6/09
to excellibrary
Apologies, again me

I am afraid, the MULBLANK class is wrong

According to:
http://www.softhelp.ru/fileformat/excel/S59DA7.HTM

the existing code:

this.RowIndex = reader.ReadUInt16();
this.FirstColIndex = reader.ReadUInt16();
this.XFIndice = reader.ReadUInt16();
this.LastColIndex = reader.ReadInt16();

will not work

I believe that following code would be more appropriate:

this.RowIndex = reader.ReadUInt16();
this.FirstColIndex = reader.ReadUInt16();

int count = (this.Size - 6) / 2;
this.XFIndice = new List<UInt16>();

for (int i = 0; i<count; i++)
this.XFIndice.Add(reader.ReadUInt16());

this.LastColIndex = reader.ReadInt16();

thanks

--
xiv

Liu Junfeng

unread,
Apr 10, 2009, 3:51:33 AM4/10/09
to excell...@googlegroups.com
Thanks for all your suggestions, they adapted by r45.
 
Regards,
Junfeng

Reply all
Reply to author
Forward
0 new messages