summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu8
-rw-r--r--sw/uiconfig/swriter/menubar/menubar.xml6
2 files changed, 14 insertions, 0 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
index 1d615a28ee09..3aba7f619224 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
@@ -3596,6 +3596,14 @@
<value xml:lang="en-US">Content Controls</value>
</prop>
</node>
+ <node oor:name=".uno:ProtectMenu" oor:op="replace">
+ <prop oor:name="Label" oor:type="xs:string">
+ <value xml:lang="en-US">~Protect Document</value>
+ </prop>
+ <prop oor:name="Properties" oor:type="xs:int">
+ <value>1</value>
+ </prop>
+ </node>
<node oor:name=".uno:ProtectFields" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
<value xml:lang="en-US">Protect Fields</value>
diff --git a/sw/uiconfig/swriter/menubar/menubar.xml b/sw/uiconfig/swriter/menubar/menubar.xml
index 6239cb53071e..2ff94dca3af5 100644
--- a/sw/uiconfig/swriter/menubar/menubar.xml
+++ b/sw/uiconfig/swriter/menubar/menubar.xml
@@ -760,6 +760,12 @@
<menu:menuitem menu:id=".uno:UpdateCharts"/>
</menu:menupopup>
</menu:menu>
+ <menu:menu menu:id=".uno:ProtectMenu">
+ <menu:menupopup>
+ <menu:menuitem menu:id=".uno:ProtectFields"/>
+ <menu:menuitem menu:id=".uno:ProtectBookmarks"/>
+ </menu:menupopup>
+ </menu:menu>
<menu:menuitem menu:id=".uno:CalculateSel" menu:style="text"/>
<menu:menuitem menu:id=".uno:SortDialog" menu:style="text"/>
<menu:menuseparator/>