Kaydet (Commit) 8a7a20f6 authored tarafından Mihai Varga's avatar Mihai Varga Kaydeden (comit) Mihai Varga

LOK: get feedback for all of the font/back color commands

Change-Id: Id4aac707666420752b985bcfd03b5b9bb99f79f1
üst d9542827
......@@ -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"),
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment