As part of the OOoAuthors team I am trying to document the new number recognition behaviour in Calc for the 2.0 code line.
It would be really useful if I could look at the relevant source code for identifying the input to a cell to be of a certain type and for then assigning a number format. I am having difficulty navigating my way through the code to find the portion that I need (I'm sorry that I am so thick).
If you're referring to issue 22345, that change was in ScColumn::SetString, file sc/source/core/data/column3.cxx (look for a comment #i22345#). It was a rather limited change to solve one specific problem. The specification is a bit verbose in relation to that, the feature announcement (http://sc.openoffice.org/servlets/ReadMsg?list=features&msgNo=155) contains all there is to it.
The actual work of determining if the input is a number is in SvNumberFormatter::IsNumberFormat and the methods it calls. There have only been some changes regarding date input there.
Niklas
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
