summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYousuf Philips <philipz85@hotmail.com>2017-05-04 20:09:14 +0400
committerYousuf Philips <philipz85@hotmail.com>2017-05-10 16:04:56 +0200
commit09b76cc3b35429c5ca4351f6e79742a0ea2befac (patch)
tree404769d7c7c9fea377dfe5f320c62ae1211f03c4
parent6dc2efcbd68b9cdad9375eee3ad45b4bd2893733 (diff)
tdf#86350 Add flip commands to image context menu
Change-Id: I5485cb6342e5236e2ca13b93923222f1b84f48f0 Reviewed-on: https://gerrit.libreoffice.org/37253 Tested-by: Jenkins <ci@libreoffice.org> 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/popupmenu/graphic.xml7
2 files changed, 10 insertions, 2 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
index c5a6e34abcfe..b76cd6f49213 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
@@ -6172,6 +6172,11 @@
<value xml:lang="en-US">Rot~ate</value>
</prop>
</node>
+ <node oor:name=".uno:RotateFlipMenu" oor:op="replace">
+ <prop oor:name="Label" oor:type="xs:string">
+ <value xml:lang="en-US">Rot~ate or Flip</value>
+ </prop>
+ </node>
<node oor:name=".uno:AnchorMenu" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
<value xml:lang="en-US">Change Anchor</value>
diff --git a/sw/uiconfig/swriter/popupmenu/graphic.xml b/sw/uiconfig/swriter/popupmenu/graphic.xml
index ae7bad963939..2f50aa865dbd 100644
--- a/sw/uiconfig/swriter/popupmenu/graphic.xml
+++ b/sw/uiconfig/swriter/popupmenu/graphic.xml
@@ -54,11 +54,14 @@
<menu:menuitem menu:id=".uno:SendToBack"/>
</menu:menupopup>
</menu:menu>
- <menu:menu menu:id=".uno:RotateMenu">
+ <menu:menu menu:id=".uno:RotateFlipMenu">
<menu:menupopup>
- <menu:menuitem menu:id=".uno:RotateLeft"/>
<menu:menuitem menu:id=".uno:RotateRight"/>
+ <menu:menuitem menu:id=".uno:RotateLeft"/>
<menu:menuitem menu:id=".uno:Rotate180"/>
+ <menu:menuseparator/>
+ <menu:menuitem menu:id=".uno:FlipVertical"/>
+ <menu:menuitem menu:id=".uno:FlipHorizontal"/>
</menu:menupopup>
</menu:menu>
<menu:menuseparator/>