https://bugs.documentfoundation.org/show_bug.cgi?id=72662
--- Comment #4 from Heiko Tietze <tietze.heiko@gmail.com> ---
Created attachment 130628
--> https://bugs.documentfoundation.org/attachment.cgi?id=130628&action=edit
Mockup for unit selection at numerical inputs
(In reply to Yousuf Philips (jay) from comment #3)
Would suggest we use a units drop down list next to the spinboxes like other
apps do.
Definitely yes. This would replace Tools > Options > LibO X > General:
Settings, Measurement unit with Millimeter, Centimeter, Inch, Pica, Point for
Writer and Draw plus Meter, Kilometer, Foot, Miles, Char, Line in Draw/Impress.
I'd suggest to add the SI unit and to show the current value converted. The
attachment shows how it could work.
Ideally, we define a default unit per input, depending on the localization, and
allow the user to change it - and store what he or she selects. That means we
have centimeter for page settings when the system language is not EN otherwise
it would be inch. And we have points for the paragraph distances. If Benjamin
changes the unit for 'spacing above' to pica, he will still have points for
spacing below and indentations.
The conversion table can be found at
http://opengrok.libreoffice.org/xref/core/vcl/source/control/field.cxx#1114.
While it contains Char and Line for Draw/Impress those units are not known in
the ODF specs
(http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1419774_253892949)
neither I found any other reference. @Regina, Cor: Any thoughts?
If no one remembers why those units have been implemented I suggest to kick
them out. Likewise mile and kilometer as they clutter the list too much.
We could also consider to switch from the hard coded conversion list to the
more general UCUM (http://unitsofmeasure.org/trac) standard, which would
provide the conversion formula with the (extendable list of) unit.
--
You are receiving this mail because:
You are on the CC list for the bug.
Context
- [Libreoffice-ux-advise] [Bug 72662] Be able to see different measurement units for line versus page properties (e.g. pt and in) · bugzilla-daemon
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.