i18ned entry of numbers within LibreOffice

Caolán McNamara caolanm at redhat.com
Mon Feb 18 12:58:45 PST 2013


On Sun, 2013-02-17 at 18:05 +0100, Lionel Elie Mamane wrote:
> In the non-ASCII digit locales, is there any reason to reject ASCII
> digits? Should we do that?
> 
> In all these questions, if we do "the same as the other number entries
> in LibreOffice (e.g. font size, configuration of undo stack depth,
> ...)", then I'm happy. I'm not trying to do better.
> 
> 
> Thanks in advance for the help

I'm with erack on just allowing native digits to be used anywhere we
allow ascii digits for the general case anyway. FWIW
decimalStringToNumber in comphelper might be of some use along with the
sort of code used in comphelper's compareNatural

C.



More information about the LibreOffice mailing list