[Libreoffice-ux-advise] Proposal to limit border widths to 4 values
Markus Mohrhard
markus.mohrhard at googlemail.com
Thu Jun 6 21:20:41 PDT 2013
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
More information about the Libreoffice-ux-advise
mailing list