Starmath has now full support of HTML colors

Desktop / LibreOffice - dante [gmail.com] - 17 November 2020 12:58 UTC

Some of them have been added to the UI ( from Css3 ). There was not a criteria for color picking so I chose those whose name told me something, those I liked and some to have a more complete palette. It would be nice to be able to ask our users whose colors from https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_Keywords they want in the UI. The color names have been left in alphabetical order. Starmathdatabse has clang format.

Change-Id: I6ac1bdbc9e3ed10bff75a99b90bf92d3dcdcabcb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105892

0643dab6819b Starmath has now full support of HTML colors.
starmath/inc/parse.hxx | 2 +-
starmath/inc/starmathdatabase.hxx | 137 +++++++-
starmath/inc/strings.hrc | 22 ++
starmath/inc/strings.hxx | 551 +++++++++++++++---------------
starmath/inc/token.hxx | 2 +
starmath/qa/extras/mmlimport-test.cxx | 2 +-
starmath/source/ElementsDockingWindow.cxx | 31 +-
starmath/source/mathmlimport.cxx | 4 +-
starmath/source/parse.cxx | 12 +-
starmath/source/starmathdatabase.cxx | 319 +++++++++++++++--
starmath/source/visitors.cxx | 25 +-
11 files changed, 779 insertions(+), 328 deletions(-)

Upstream: cgit.freedesktop.org


  • Share