Hi everyone who's involved with reference parsing,
When parsing references with CONV_XL_A1 convention, the return values
from ScRange::Parse are different from those for CONV_OOO and don't
match what ScCompiler::IsReference expects.
- For a single reference (Sheet1!A1), the bit SCA_VALID is set, which
causes a ScDoubleRefToken to be generated.
- For a range reference like "Sheet1!A1:A2" (with only one sheet name),
SCA_VALID_TAB2 isn't set, which leads to an invalid reference.
Is there any specific reason for this difference? Is it needed somewhere
(some code not using ScCompiler, or some private changes to it)?
Otherwise, I'm going to change it, returning no SCA_VALID bit in the
first case, and SCA_VALID_TAB2 (but not SCA_TAB2_3D) in the second case.
Niklas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]