Thats a bug.. infact thats many bugs in NamePtg... i have made some fixes locally, and 
was testing it, but unfortunately had to travel before i could finish it... i dont 
have much mail or internet access now, and will be able to make a commit by the end of 
next week... sorry if that coused you problems. 


   -------Original Message-------
   > From: Paul Krause <[EMAIL PROTECTED]>
   > Subject: NamePtg's field_3_zero
   > Sent: 16 Jul 2003 21:06:08
   >
   >  Why does NamePtg have a third field?
   >  
   >  ����private short������������ field_3_zero;�� // reserved must be 0
   >  
   >  According to section 3.10.2 of http://sc.openoffice.org/excelfileformat.pdf, 
tName has only two fields, and that is what I see in my test spreadsheet as well.
   >  
   >  Currently, I'm able to work around this by hacking getSize, but it doesn't seem 
right.
   >  
   >  ����public int getSize()
   >  ����{
   >  ��������return (field_3_zero == 0) ? SIZE : SIZE - 2;
   >  ����}
   >  
   >  What's the story behind field_3_zero?
   >  
   >  PFK
   >  
   >  
   >  ---------------------------------------------------------------------
   >  To unsubscribe, e-mail: [EMAIL PROTECTED]
   >  For additional commands, e-mail: [EMAIL PROTECTED]
   -------Original Message-------


Reply via email to