Ah.. if only this were just a flag, or it could be fixed at one place. 

But having said that, it should not be all that difficult. 

Simplifying things a bit:

Array formula's are stored in ARRAY records, while normal formulae's are
stored in FORMULA records. The two are actually quite similar. The
actual formula is stored in as parsed tokens (just like the formula
record). However, operand tokens (ptg's) in an ARRAY formula are stored
using the "array flavour" of the token. 

The low level token implementation includes the flavor attribute, so
that's done. However, the  ARRAY record and its semantics needs to be
implemented. In addition, the flavours of the tokens change in strange
ways, based on the operators and the context. The algorithm that
currently handles this needs to be checked for array flavoured tokens. 

If you're interested, first read the OpenOffice file format doc (linked
from the poi site). Glad to help if you have further questions. 

Regards
-
Avik


On Tue, 2004-12-14 at 11:18 +0100, Gerd Mueller wrote:
> Hi,
> 
> Could it be that POI/HSSF doesn't save the matrix flag for formulas?
> If so, where can I fix it?
> 
> Best Regards,
> gerd
> 
> ________________________________________________________________
> Gerd Mueller                                    [EMAIL PROTECTED]     
> SMB GmbH                                  http://www.smb-tec.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
-- 


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

Reply via email to