summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sfx2/sfxsids.hrc2
-rw-r--r--officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu8
-rw-r--r--svx/sdi/svx.sdi17
-rw-r--r--sw/sdi/_basesh.sdi6
-rw-r--r--sw/source/uibase/shells/basesh.cxx3
-rw-r--r--sw/uiconfig/sglobal/menubar/menubar.xml1
-rw-r--r--sw/uiconfig/swriter/menubar/menubar.xml1
7 files changed, 37 insertions, 1 deletions
diff --git a/include/sfx2/sfxsids.hrc b/include/sfx2/sfxsids.hrc
index f7d77257350c..69b68db67fbc 100644
--- a/include/sfx2/sfxsids.hrc
+++ b/include/sfx2/sfxsids.hrc
@@ -432,7 +432,7 @@ class SvxSearchItem;
// Used for redaction
#define SID_SHAPE_NAME (SID_SFX_START + 808)
// FREE: SID_SFX_START + 809
- // FREE: SID_SFX_START + 810
+#define SID_ACCESSIBILITY_CHECK (SID_SFX_START + 810)
#define SID_ASYNCHRON (SID_SFX_START + 811)
// default-ids for configuration
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
index 40ca50889208..584c0d0b7146 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
@@ -2926,6 +2926,14 @@
<value>1</value>
</prop>
</node>
+ <node oor:name=".uno:AccessibilityCheck" oor:op="replace">
+ <prop oor:name="Label" oor:type="xs:string">
+ <value xml:lang="en-US">~Accessibility Check...</value>
+ </prop>
+ <prop oor:name="Properties" oor:type="xs:int">
+ <value>1</value>
+ </prop>
+ </node>
<node oor:name=".uno:StylesMenu" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
<value xml:lang="en-US">Styl~es</value>
diff --git a/svx/sdi/svx.sdi b/svx/sdi/svx.sdi
index 9d1d9cbc8747..c2ceb08f7c0c 100644
--- a/svx/sdi/svx.sdi
+++ b/svx/sdi/svx.sdi
@@ -12201,3 +12201,20 @@ SfxVoidItem SpellCheckApplySuggestion SID_SPELLCHECK_APPLY_SUGGESTION
ToolBoxConfig = FALSE,
GroupId = SfxGroupId::Format;
]
+
+SfxVoidItem AccessibilityCheck SID_ACCESSIBILITY_CHECK
+()
+[
+ AutoUpdate = FALSE,
+ FastCall = FALSE,
+ ReadOnlyDoc = TRUE,
+ Toggle = FALSE,
+ Container = FALSE,
+ RecordAbsolute = FALSE,
+ RecordPerSet;
+
+ AccelConfig = FALSE,
+ MenuConfig = FALSE,
+ ToolBoxConfig = FALSE,
+ GroupId = SfxGroupId::Modify;
+]
diff --git a/sw/sdi/_basesh.sdi b/sw/sdi/_basesh.sdi
index ef4dd4413a1a..9726bcd44f81 100644
--- a/sw/sdi/_basesh.sdi
+++ b/sw/sdi/_basesh.sdi
@@ -586,4 +586,10 @@ interface BaseTextSelection
ExecMethod = Execute;
StateMethod = GetState;
]
+
+ SID_ACCESSIBILITY_CHECK
+ [
+ ExecMethod = ExecDlg;
+ DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
+ ]
}
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx
index 07ba572b15d2..d7f19331e1f7 100644
--- a/sw/source/uibase/shells/basesh.cxx
+++ b/sw/source/uibase/shells/basesh.cxx
@@ -2676,6 +2676,9 @@ void SwBaseShell::ExecDlg(SfxRequest &rReq)
}
}
break;
+ case SID_ACCESSIBILITY_CHECK:
+ {}
+ break;
default:OSL_FAIL("wrong Dispatcher (basesh.cxx)");
}
if(!bDone)
diff --git a/sw/uiconfig/sglobal/menubar/menubar.xml b/sw/uiconfig/sglobal/menubar/menubar.xml
index 7c5df550f5bf..e74fcb8f60ec 100644
--- a/sw/uiconfig/sglobal/menubar/menubar.xml
+++ b/sw/uiconfig/sglobal/menubar/menubar.xml
@@ -715,6 +715,7 @@
</menu:menupopup>
</menu:menu>
<menu:menuitem menu:id=".uno:WordCountDialog" menu:style="text"/>
+ <menu:menuitem menu:id=".uno:AccessibilityCheck"/>
<menu:menuseparator/>
<menu:menu menu:id=".uno:AutoFormatMenu">
<menu:menupopup>
diff --git a/sw/uiconfig/swriter/menubar/menubar.xml b/sw/uiconfig/swriter/menubar/menubar.xml
index bdfd44675517..b76352de27b9 100644
--- a/sw/uiconfig/swriter/menubar/menubar.xml
+++ b/sw/uiconfig/swriter/menubar/menubar.xml
@@ -723,6 +723,7 @@
</menu:menupopup>
</menu:menu>
<menu:menuitem menu:id=".uno:WordCountDialog"/>
+ <menu:menuitem menu:id=".uno:AccessibilityCheck"/>
<menu:menuseparator/>
<menu:menu menu:id=".uno:AutoFormatMenu">
<menu:menupopup>