i18ned entry of numbers within LibreOffice

Eike Rathke erack at redhat.com
Mon Feb 18 08:34:42 PST 2013


Hi Lionel,

On Sunday, 2013-02-17 18:05:26 +0100, Lionel Elie Mamane wrote:

> Zolnai is contributing a nice feature to LibreOffice Base, but in the
> review of the patch I'm hitting what should be a simple issue: how to
> "get" a number (or special value All) from the user?

See also my previous reply to Zolnai where I mentioned NumericBox and
the NumericFormatter used for control fields.

The right place to extend functionality for native numbers is there.

> But we also need a special value "All", so maybe Zolnai did it the
> simplest way possible already :)

I think "All" could be mapped in this case to the maximum allowed value,
couldn't it?


> One question I'm less sure about:
> 
> In the non-ASCII digit locales, is there any reason to reject ASCII
> digits? Should we do that?

No, I don't think we should. IMHO there is no real reason to reject
ASCII digits. Which btw is also how numeric input in Calc is treated,
both ASCII and native numbers are allowed.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
New GnuPG key 0x65632D3A : 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Old GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD
Support the FSFE, care about Free Software! https://fsfe.org/support/?erack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130218/1e7ff533/attachment-0001.pgp>


More information about the LibreOffice mailing list