diff options
-rw-r--r-- | desktop/source/lib/init.cxx | 26 | ||||
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 14 |
2 files changed, 24 insertions, 16 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index d2f14de1c186..49a1ef1b0462 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -661,23 +661,27 @@ static void doc_iniUnoCommands () { OUString sUnoCommands[] = { + OUString(".uno:BackColor"), OUString(".uno:Bold"), - OUString(".uno:Italic"), - OUString(".uno:Underline"), - OUString(".uno:Strikeout"), + OUString(".uno:CenterPara"), + OUString(".uno:CharFontName"), + OUString(".uno:DecrementIndent"), OUString(".uno:DefaultBullet"), OUString(".uno:DefaultNumbering"), + OUString(".uno:FontColor"), + OUString(".uno:FontHeight"), + OUString(".uno:IncrementIndent"), + OUString(".uno:Italic"), + OUString(".uno:JustifyPara"), + OUString(".uno:OutlineFont"), OUString(".uno:LeftPara"), - OUString(".uno:CenterPara"), OUString(".uno:RightPara"), - OUString(".uno:JustifyPara"), - OUString(".uno:IncrementIndent"), - OUString(".uno:DecrementIndent"), - OUString(".uno:CharFontName"), - OUString(".uno:FontHeight"), + OUString(".uno:Shadowed"), + OUString(".uno:SubScript"), + OUString(".uno:SuperScript"), + OUString(".uno:Strikeout"), OUString(".uno:StyleApply"), - OUString(".uno:FontColor"), - OUString(".uno:BackColor") + OUString(".uno:Underline") }; util::URL aCommandURL; diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index cb3050a93faf..efb70268b4d1 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1064,15 +1064,19 @@ void SfxDispatchController_Impl::InterceptLOKStateChangeEvent(const SfxObjectShe aBuffer.append("="); if (aEvent.FeatureURL.Path == "Bold" || - aEvent.FeatureURL.Path == "Italic" || - aEvent.FeatureURL.Path == "Underline" || - aEvent.FeatureURL.Path == "Strikeout" || + aEvent.FeatureURL.Path == "CenterPara" || aEvent.FeatureURL.Path == "DefaultBullet" || aEvent.FeatureURL.Path == "DefaultNumbering" || + aEvent.FeatureURL.Path == "Italic" || + aEvent.FeatureURL.Path == "JustifyPara" || aEvent.FeatureURL.Path == "LeftPara" || - aEvent.FeatureURL.Path == "CenterPara" || + aEvent.FeatureURL.Path == "OutlineFont" || aEvent.FeatureURL.Path == "RightPara" || - aEvent.FeatureURL.Path == "JustifyPara") + aEvent.FeatureURL.Path == "Shadowed" || + aEvent.FeatureURL.Path == "SubScript" || + aEvent.FeatureURL.Path == "SuperScript" || + aEvent.FeatureURL.Path == "Strikeout" || + aEvent.FeatureURL.Path == "Underline") { bool bTemp = false; aEvent.State >>= bTemp; |