summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYousuf Philips <philipz85@hotmail.com>2017-12-21 01:11:01 +0400
committerYousuf Philips <philipz85@hotmail.com>2017-12-21 23:36:58 +0100
commit993bbae2d43d3e4dea445cccbee3bb16d883af02 (patch)
treecce37be9f8f408cad3e0a324a858fbf26c3a1dff
parent3bd4957191f12457c17404645bab0794639c95f8 (diff)
tdf#91781 Writer: Add Breaks submenu in Insert menu
Change-Id: I6d143aa058bce731493e3f90fe361ee2a0d257f9 Reviewed-on: https://gerrit.libreoffice.org/46865 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
-rw-r--r--officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu5
-rw-r--r--sw/uiconfig/swriter/menubar/menubar.xml9
2 files changed, 13 insertions, 1 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
index e814b4f64fd3..09e73efd9241 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
@@ -6492,6 +6492,11 @@
<value xml:lang="en-US">Navigate</value>
</prop>
</node>
+ <node oor:name=".uno:BreaksMenu" oor:op="replace">
+ <prop oor:name="Label" oor:type="xs:string">
+ <value xml:lang="en-US">More Breaks</value>
+ </prop>
+ </node>
</node>
</node>
</oor:component-data>
diff --git a/sw/uiconfig/swriter/menubar/menubar.xml b/sw/uiconfig/swriter/menubar/menubar.xml
index df2a37ae796b..cfcc9cd1b908 100644
--- a/sw/uiconfig/swriter/menubar/menubar.xml
+++ b/sw/uiconfig/swriter/menubar/menubar.xml
@@ -231,7 +231,14 @@
<menu:menu menu:id=".uno:InsertMenu">
<menu:menupopup>
<menu:menuitem menu:id=".uno:InsertPagebreak"/>
- <menu:menuitem menu:id=".uno:InsertBreak"/>
+ <menu:menu menu:id=".uno:BreaksMenu">
+ <menu:menupopup>
+ <menu:menuitem menu:id=".uno:InsertLinebreak"/>
+ <menu:menuitem menu:id=".uno:InsertColumnBreak"/>
+ <menu:menuseparator/>
+ <menu:menuitem menu:id=".uno:InsertBreak"/>
+ </menu:menupopup>
+ </menu:menu>
<menu:menuseparator/>
<menu:menuitem menu:id=".uno:InsertGraphic"/>
<menu:menu menu:id=".uno:GraphicMenu">