Hey,
so after some time I'm back at the border code to fix some problems
with the mappings between OOXML and Calc values.
I mentioned already the last time that in my opinion the only solution
in the end would be to limit the choice to 3 or maybe 4 values. Hair
line, thin, medium and thick which would improve interoperability with
MSO and hopefully make the UI a bit simpler. Right now we have an
unlimited number of border widths and together with all the
combinations of border style I doubt that we will ever get all cases
correct.
Right now the only problem I see with this solution is that ODF's
border concept is similar to our current implementation and we would
need to find an acceptable mapping between values stored in ODF and
our limited border widths. However I hope that in the long run it
would simplify our code and improve the user experience.
Code wise I think it would solve many issues at once. Currently we
have several roundtrips between double and integer and calc and writer
use different units for border widths. These problems should hopefully
disapear with a limited number of fixed width borders.
What is your opinion about this?
Regards,
Markus
Context
- [Libreoffice-ux-advise] Proposal to limit border widths to 4 values · Markus Mohrhard
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.