Kaydet (Commit) 3efce450 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 3ecc2b1f
...@@ -670,9 +670,12 @@ static void doc_iniUnoCommands () ...@@ -670,9 +670,12 @@ static void doc_iniUnoCommands ()
OUString sUnoCommands[] = OUString sUnoCommands[] =
{ {
OUString(".uno:BackColor"), OUString(".uno:BackColor"),
OUString(".uno:BackgroundColor"),
OUString(".uno:Bold"), OUString(".uno:Bold"),
OUString(".uno:CenterPara"), OUString(".uno:CenterPara"),
OUString(".uno:CharBackColor"),
OUString(".uno:CharFontName"), OUString(".uno:CharFontName"),
OUString(".uno:Color"),
OUString(".uno:DecrementIndent"), OUString(".uno:DecrementIndent"),
OUString(".uno:DefaultBullet"), OUString(".uno:DefaultBullet"),
OUString(".uno:DefaultNumbering"), OUString(".uno:DefaultNumbering"),
......
...@@ -1104,8 +1104,11 @@ void SfxDispatchController_Impl::InterceptLOKStateChangeEvent(const SfxObjectShe ...@@ -1104,8 +1104,11 @@ void SfxDispatchController_Impl::InterceptLOKStateChangeEvent(const SfxObjectShe
aEvent.State >>= aTemplate; aEvent.State >>= aTemplate;
aBuffer.append(aTemplate.StyleName); aBuffer.append(aTemplate.StyleName);
} }
else if (aEvent.FeatureURL.Path == "FontColor" || else if (aEvent.FeatureURL.Path == "BackColor" ||
aEvent.FeatureURL.Path == "BackColor") aEvent.FeatureURL.Path == "BackgroundColor" ||
aEvent.FeatureURL.Path == "CharBackColor" ||
aEvent.FeatureURL.Path == "Color" ||
aEvent.FeatureURL.Path == "FontColor")
{ {
sal_Int32 nColor = -1; sal_Int32 nColor = -1;
aEvent.State >>= nColor; 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