diff options
author | Heiko Tietze <tietze.heiko@gmail.com> | 2023-04-13 12:15:46 +0200 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2023-04-14 11:39:06 +0200 |
commit | 11bb9c14da13507adeeea8dce863fb4b96a92870 (patch) | |
tree | 77731313a7a4630a807a55393d7132e9dda512c3 /svtools | |
parent | b9ad48f1939145105ee57470b5c9210bacc8ee45 (diff) |
[API CHANGE] Related tdf#154080 - Allow customization of comment indicator color
* Calc > View option replaced by a new application color
* Border not only in highcontrast mode but always shown
* Border color depending on cell/sheet background
The previous option TextOverflow in Calc.xcs was replaced by
CalcTextOverflow in UI.xcs in order to combine color and on/off
with the accepted drawback of incompatibility.
The alternative, keeping the color separate from the toggle, would
separate the options and was rejected therefore.
Change-Id: Ie3e469163485d8eb1cffc7022e1518ad20e8e54e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150340
Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/config/colorcfg.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx index 8f8488feeefc..3fa88a3886cf 100644 --- a/svtools/source/config/colorcfg.cxx +++ b/svtools/source/config/colorcfg.cxx @@ -137,6 +137,7 @@ uno::Sequence< OUString> GetPropertyNames(std::u16string_view rScheme) { std::u16string_view(u"/CalcPageBreakManual"), false }, { std::u16string_view(u"/CalcPageBreakAutomatic"), false }, { std::u16string_view(u"/CalcHiddenColRow"), true }, + { std::u16string_view(u"/CalcTextOverflow"), true }, { std::u16string_view(u"/CalcDetective") ,false }, { std::u16string_view(u"/CalcDetectiveError") ,false }, { std::u16string_view(u"/CalcReference") ,false }, @@ -398,6 +399,7 @@ Color ColorConfig::GetDefaultColor(ColorConfigEntry eEntry) { Color(0x2300dc), Color(0x2300DC) }, // CALCPAGEBREAKMANUAL { COL_GRAY7, COL_GRAY7 }, // CALCPAGEBREAKAUTOMATIC { Color(0x2300dc), Color(0x2300DC) }, // CALCHIDDENCOLROW + { COL_LIGHTRED, COL_LIGHTRED }, // CALCTEXTOVERFLOW { COL_LIGHTBLUE, Color(0x355269) }, // CALCDETECTIVE { COL_LIGHTRED, Color(0xC9211E) }, // CALCDETECTIVEERROR { Color(0xef0fff), Color(0x0D23D5) }, // CALCREFERENCE |