summaryrefslogtreecommitdiff
path: root/starmath/inc/token.hxx
diff options
context:
space:
mode:
authordante <dante19031999@gmail.com>2020-11-15 10:11:16 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-17 13:58:13 +0100
commit0643dab6819bdf248321d27f6b58a2cce125e51c (patch)
treeaf4e2eb9ea2bd598049ed0c588675c948bb1ab15 /starmath/inc/token.hxx
parent00944232373588fa32bcbb7ce6fcd01204346241 (diff)
Starmath has now full support of HTML colors.
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 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/inc/token.hxx')
-rw-r--r--starmath/inc/token.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/starmath/inc/token.hxx b/starmath/inc/token.hxx
index 0c3788fd8966..da33c818105b 100644
--- a/starmath/inc/token.hxx
+++ b/starmath/inc/token.hxx
@@ -64,6 +64,7 @@ namespace o3tl {
// Tokens identifiers. Allow to know what kind of information the node contains.
enum SmTokenType
{
+ // clang-format off
// Uncategorized
TEND, TSPECIAL, TNONE, TESCAPE, TUNKNOWN,
TBLANK, TSBLANK, TPLACE, TNOSPACE, TDOTSDOWN,
@@ -139,6 +140,7 @@ enum SmTokenType
// Color
TRGB, TRGBA, THEX, THTMLCOL, TDVIPSNAMESCOL,
TICONICCOL
+ // clang-format on
};
struct SmTokenTableEntry