diff options
author | Mihai Varga <mihai.varga@collabora.com> | 2015-12-18 16:55:25 +0200 |
---|---|---|
committer | Mihai Varga <mihai.mv13@gmail.com> | 2015-12-18 16:58:17 +0200 |
commit | 8a7a20f67567ee94a5d3a77230c8e260f0142c1c (patch) | |
tree | 69b9df5d2df098fd4381034e7b90b52ae00d0db6 | |
parent | d95428278d54697064973a70c68fd2c40d174d8a (diff) |
LOK: get feedback for all of the font/back color commands
Change-Id: Id4aac707666420752b985bcfd03b5b9bb99f79f1
-rw-r--r-- | desktop/source/lib/init.cxx | 3 | ||||
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 8fa8e0eb9d6b..3b0c7d769455 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -661,9 +661,12 @@ static void doc_iniUnoCommands () OUString sUnoCommands[] = { OUString(".uno:BackColor"), + OUString(".uno:BackgroundColor"), OUString(".uno:Bold"), OUString(".uno:CenterPara"), + OUString(".uno:CharBackColor"), OUString(".uno:CharFontName"), + OUString(".uno:Color"), OUString(".uno:DecrementIndent"), OUString(".uno:DefaultBullet"), OUString(".uno:DefaultNumbering"), diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 00c76e2c7dc7..864582603f90 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1102,8 +1102,11 @@ void SfxDispatchController_Impl::InterceptLOKStateChangeEvent(const SfxObjectShe aEvent.State >>= aTemplate; aBuffer.append(aTemplate.StyleName); } - else if (aEvent.FeatureURL.Path == "FontColor" || - aEvent.FeatureURL.Path == "BackColor") + else if (aEvent.FeatureURL.Path == "BackColor" || + aEvent.FeatureURL.Path == "BackgroundColor" || + aEvent.FeatureURL.Path == "CharBackColor" || + aEvent.FeatureURL.Path == "Color" || + aEvent.FeatureURL.Path == "FontColor") { sal_Int32 nColor = -1; aEvent.State >>= nColor; |