https://bugs.freedesktop.org/show_bug.cgi?id=36864

Michael Meeks <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Whiteboard|ProposedEasyHack feature    |EasyHack,DifficultyBeginner
                   |                            |,SkillCpp,TopicCleanup
                 CC|                            |[email protected],
                   |                            |[email protected]

--- Comment #11 from Michael Meeks <[email protected]> ---
In order to make this a real 'easy hack' - we need some code pointers (not
terribly hard to create), but we also need some sample number formats for kB
etc.

How does that fit into the existing number format syntax ? We can do something
like:

[<1000000]0.00," kB";[<1000000000]0.00,," mB";0.00,,," gB"

And create an easy-to-use entry for that. But of course that is all decimal;
failing that we would need to extend the number format syntax to handle
different bases: something that needs to be done carefully and with a view to
standardization.

Either way the code pointers are:

cui/uiconfig/ui/numberingformatpage.ui

and:

cui/source/tabpages/numfmt.cxx

with relevant code in:

svl/source/numbers/zforlist.cxx

It looks like:

i18npool/source/localedata/data/

has locale dependent number formatting entries too, and no doubt Eike has more
thoughts here :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to