You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Obi Van Kenobi <ge...@yahoo.com> on 2004/04/03 09:51:21 UTC

Bug in POIFS documentation ?

Hi,

I was reading through POIFS documentation given in
site and trying to correlate with an xls file opened
in a Hex editor. I noticed the following. Please
clarify whether this is an error in POIFS
documentation.

1) Header

Doc says
FileType, Uk1, Uk2, Uk3, Uk4, Uk5, Uk6,
LOG_2_BIG_BLOCK_SIZE

According to doc Uk4 should be 0x003B (default).

I noticed that there is another unknown integer
constant between Uk3 and Uk4 (say Uk3a). Only after
this Uk4 comes. So is the doc wrong ?  


2) Property - 

The final param SIZE is at offset 0x78 and is of type
Integer (size = 4 ). So property will end in 0x82. But
size of property is 128 (0x80). So what is wrong?,  Is
SIZE  is of type short or some offset in between has
gone wrong.

(I do not think size is short. It should be "int",
else how can it hold big values. So I think offsets in
between has gone wrong ?)

Can any body please clarify ?

Thanks
Obi Van

__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-user-help@jakarta.apache.org


Re: Bug in POIFS documentation ?

Posted by Obi Van Kenobi <ge...@yahoo.com>.
Hi ,

Sorry to flood your mail boxes.  ****The documentation
is perfect*****. Even first question is not valid.  I
did not see the offset. (The offset is not in
arithmetic progression, that is why I thought the
constants were sequential.)

Thanks
Obi Van


--- Obi Van Kenobi <ge...@yahoo.com> wrote:
> Hi,
> 
> oops
> 
> I am Sorry.  I take back the *second* question
> 
> 0x78 + 4  = 0x7C  (not 0x82) 
> 
> But *first* question is still valid.
> 
> Thanks
> Obi Van
> 
> --- Obi Van Kenobi <ge...@yahoo.com>
> wrote:
> > Hi,
> > 
> > I was reading through POIFS documentation given in
> > site and trying to correlate with an xls file
> opened
> > in a Hex editor. I noticed the following. Please
> > clarify whether this is an error in POIFS
> > documentation.
> > 
> > 1) Header
> > 
> > Doc says
> > FileType, Uk1, Uk2, Uk3, Uk4, Uk5, Uk6,
> > LOG_2_BIG_BLOCK_SIZE
> > 
> > According to doc Uk4 should be 0x003B (default).
> > 
> > I noticed that there is another unknown integer
> > constant between Uk3 and Uk4 (say Uk3a). Only
> after
> > this Uk4 comes. So is the doc wrong ?  
> > 
> > 
> > 2) Property - 
> > 
> > The final param SIZE is at offset 0x78 and is of
> > type
> > Integer (size = 4 ). So property will end in 0x82.
> > But
> > size of property is 128 (0x80). So what is wrong?,
> 
> > Is
> > SIZE  is of type short or some offset in between
> has
> > gone wrong.
> > 
> > (I do not think size is short. It should be "int",
> > else how can it hold big values. So I think
> offsets
> > in
> > between has gone wrong ?)
> > 
> > Can any body please clarify ?
> > 
> > Thanks
> > Obi Van
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Small Business $15K Web Design Giveaway 
> > http://promotions.yahoo.com/design_giveaway/
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > poi-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > poi-user-help@jakarta.apache.org
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business $15K Web Design Giveaway 
> http://promotions.yahoo.com/design_giveaway/
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> poi-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-user-help@jakarta.apache.org


Re: Bug in POIFS documentation ?

Posted by Obi Van Kenobi <ge...@yahoo.com>.
Hi,

oops

I am Sorry.  I take back the *second* question

0x78 + 4  = 0x7C  (not 0x82) 

But *first* question is still valid.

Thanks
Obi Van

--- Obi Van Kenobi <ge...@yahoo.com> wrote:
> Hi,
> 
> I was reading through POIFS documentation given in
> site and trying to correlate with an xls file opened
> in a Hex editor. I noticed the following. Please
> clarify whether this is an error in POIFS
> documentation.
> 
> 1) Header
> 
> Doc says
> FileType, Uk1, Uk2, Uk3, Uk4, Uk5, Uk6,
> LOG_2_BIG_BLOCK_SIZE
> 
> According to doc Uk4 should be 0x003B (default).
> 
> I noticed that there is another unknown integer
> constant between Uk3 and Uk4 (say Uk3a). Only after
> this Uk4 comes. So is the doc wrong ?  
> 
> 
> 2) Property - 
> 
> The final param SIZE is at offset 0x78 and is of
> type
> Integer (size = 4 ). So property will end in 0x82.
> But
> size of property is 128 (0x80). So what is wrong?, 
> Is
> SIZE  is of type short or some offset in between has
> gone wrong.
> 
> (I do not think size is short. It should be "int",
> else how can it hold big values. So I think offsets
> in
> between has gone wrong ?)
> 
> Can any body please clarify ?
> 
> Thanks
> Obi Van
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business $15K Web Design Giveaway 
> http://promotions.yahoo.com/design_giveaway/
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> poi-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-user-help@jakarta.apache.org