lok: Expose the automatic spell checking state in the UI.

Change-Id: I5c22ff70d3895b0f4a86eb8be85dde971604874a
Reviewed-on: https://gerrit.libreoffice.org/42480
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
This commit is contained in:
Jan Holesovsky
2017-09-19 16:47:17 +02:00
parent 0581342a5b
commit 012f153259
2 changed files with 2 additions and 0 deletions

View File

@@ -1556,6 +1556,7 @@ static void doc_iniUnoCommands ()
OUString(".uno:RowColSelCount"), OUString(".uno:RowColSelCount"),
OUString(".uno:StatusPageStyle"), OUString(".uno:StatusPageStyle"),
OUString(".uno:InsertMode"), OUString(".uno:InsertMode"),
OUString(".uno:SpellOnline"),
OUString(".uno:StatusSelectionMode"), OUString(".uno:StatusSelectionMode"),
OUString(".uno:StateTableCell"), OUString(".uno:StateTableCell"),
OUString(".uno:StatusBarFunc"), OUString(".uno:StatusBarFunc"),

View File

@@ -997,6 +997,7 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
aEvent.FeatureURL.Path == "OutlineFont" || aEvent.FeatureURL.Path == "OutlineFont" ||
aEvent.FeatureURL.Path == "RightPara" || aEvent.FeatureURL.Path == "RightPara" ||
aEvent.FeatureURL.Path == "Shadowed" || aEvent.FeatureURL.Path == "Shadowed" ||
aEvent.FeatureURL.Path == "SpellOnline" ||
aEvent.FeatureURL.Path == "SubScript" || aEvent.FeatureURL.Path == "SubScript" ||
aEvent.FeatureURL.Path == "SuperScript" || aEvent.FeatureURL.Path == "SuperScript" ||
aEvent.FeatureURL.Path == "Strikeout" || aEvent.FeatureURL.Path == "Strikeout" ||