[Libreoffice-commits] core.git: officecfg/registry sw/uiconfig
Samuel Mehrbrodt (via logerrit)
logerrit at kemper.freedesktop.org
Mon Feb 17 07:11:15 UTC 2020
officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu | 8 ++++++++
sw/uiconfig/swriter/menubar/menubar.xml | 6 ++++++
2 files changed, 14 insertions(+)
New commits:
commit e24585ec2a9ef39ce68f9cf9b498fab999805ee8
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Thu Feb 13 15:50:43 2020 +0100
Commit: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Mon Feb 17 08:10:42 2020 +0100
Add menu entries for field/bookmark protection
Change-Id: I5e0a194698a85e81089a929a0979e2b4022555e9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88612
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
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/>
More information about the Libreoffice-commits
mailing list