summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/source/lib/init.cxx26
-rw-r--r--sfx2/source/control/unoctitm.cxx14
2 files changed, 24 insertions, 16 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index b4f0e4b3e91b..48881e191d82 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -669,23 +669,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 42d128a20298..f0e9bc1d24bb 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1067,15 +1067,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;