diff options
author | Philippe Jung <phil.jung@free.fr> | 2015-05-02 00:55:37 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-05-05 10:04:26 +0000 |
commit | 8c4a1663f5d93380268365d35a5581d8065df897 (patch) | |
tree | c3fa083b810cb8b42c6b1b4b3f37d76f65a4b056 /sw/uiconfig | |
parent | b1df1ac809fd6de972a6ed4f638a1ac8d29ba40d (diff) |
tdf#34555 add crop features to sw
Adds Crop (by handles) to writer. Proposal of new Format menu and image
context menu organisation.
This is part of a serie of 4 patches that adds Save graphic, Change Picture,
Edit with external tool, Crop (by handles) in all products (scalc,
sdraw, simpress, swriter).
Main menus, toolbars and contextual menus are updated accordingly.
Change-Id: I6fe8907e08519326c78f0bc71f27032b5716bb8e
Reviewed-on: https://gerrit.libreoffice.org/15590
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'sw/uiconfig')
-rw-r--r-- | sw/uiconfig/sglobal/menubar/menubar.xml | 12 | ||||
-rw-r--r-- | sw/uiconfig/sglobal/toolbar/graphicobjectbar.xml | 1 | ||||
-rw-r--r-- | sw/uiconfig/sweb/menubar/menubar.xml | 12 | ||||
-rw-r--r-- | sw/uiconfig/swform/menubar/menubar.xml | 12 | ||||
-rw-r--r-- | sw/uiconfig/swform/toolbar/graphicobjectbar.xml | 1 | ||||
-rw-r--r-- | sw/uiconfig/swreport/menubar/menubar.xml | 12 | ||||
-rw-r--r-- | sw/uiconfig/swreport/toolbar/graphicobjectbar.xml | 1 | ||||
-rw-r--r-- | sw/uiconfig/swriter/menubar/menubar.xml | 12 | ||||
-rw-r--r-- | sw/uiconfig/swriter/toolbar/graphicobjectbar.xml | 1 | ||||
-rw-r--r-- | sw/uiconfig/swxform/menubar/menubar.xml | 12 | ||||
-rw-r--r-- | sw/uiconfig/swxform/toolbar/graphicobjectbar.xml | 1 |
11 files changed, 77 insertions, 0 deletions
diff --git a/sw/uiconfig/sglobal/menubar/menubar.xml b/sw/uiconfig/sglobal/menubar/menubar.xml index d92a255965fb..4a27b2814053 100644 --- a/sw/uiconfig/sglobal/menubar/menubar.xml +++ b/sw/uiconfig/sglobal/menubar/menubar.xml @@ -279,6 +279,18 @@ </menu:menupopup> </menu:menu> <menu:menuseparator/> + <menu:menu menu:id=".uno:FormatImageMenu"> + <menu:menupopup> + <menu:menuitem menu:id=".uno:Crop"/> + <menu:menuseparator/> + <menu:menuitem menu:id=".uno:ExternalEdit"/> + <menu:menuitem menu:id=".uno:ChangePicture"/> + <menu:menuitem menu:id=".uno:CompressGraphic"/> + <menu:menuseparator/> + <menu:menuitem menu:id=".uno:SaveGraphic"/> + </menu:menupopup> + </menu:menu> + <menu:menuseparator/> <menu:menu menu:id=".uno:AnchorMenu"> <menu:menupopup> <menu:menuitem menu:id=".uno:SetAnchorToPage" menu:style="radio"/> diff --git a/sw/uiconfig/sglobal/toolbar/graphicobjectbar.xml b/sw/uiconfig/sglobal/toolbar/graphicobjectbar.xml index 6e7201c82042..1f27f3c6bbd9 100644 --- a/sw/uiconfig/sglobal/toolbar/graphicobjectbar.xml +++ b/sw/uiconfig/sglobal/toolbar/graphicobjectbar.xml @@ -30,6 +30,7 @@ <toolbar:toolbaritem xlink:href=".uno:FlipHorizontal" toolbar:helpid="20425"/> <toolbar:toolbaritem xlink:href=".uno:RotateLeft" toolbar:helpid=""/> <toolbar:toolbaritem xlink:href=".uno:RotateRight" toolbar:helpid=""/> + <toolbar:toolbaritem xlink:href=".uno:Crop" toolbar:helpid=""/> <toolbar:toolbarseparator/> <toolbar:toolbaritem xlink:href=".uno:FrameDialog" toolbar:helpid="20458"/> </toolbar:toolbar> diff --git a/sw/uiconfig/sweb/menubar/menubar.xml b/sw/uiconfig/sweb/menubar/menubar.xml index f6836bb4f99e..922b0cf5595e 100644 --- a/sw/uiconfig/sweb/menubar/menubar.xml +++ b/sw/uiconfig/sweb/menubar/menubar.xml @@ -222,6 +222,18 @@ </menu:menupopup> </menu:menu> <menu:menuseparator/> + <menu:menu menu:id=".uno:FormatImageMenu"> + <menu:menupopup> + <menu:menuitem menu:id=".uno:Crop"/> + <menu:menuseparator/> + <menu:menuitem menu:id=".uno:ExternalEdit"/> + <menu:menuitem menu:id=".uno:ChangePicture"/> + <menu:menuitem menu:id=".uno:CompressGraphic"/> + <menu:menuseparator/> + <menu:menuitem menu:id=".uno:SaveGraphic"/> + </menu:menupopup> + </menu:menu> + <menu:menuseparator/> <menu:menu menu:id=".uno:AnchorMenu"> <menu:menupopup> <menu:menuitem menu:id=".uno:SetAnchorToPage" menu:style="radio"/> diff --git a/sw/uiconfig/swform/menubar/menubar.xml b/sw/uiconfig/swform/menubar/menubar.xml index 6f081acc1b47..4795e4476b33 100644 --- a/sw/uiconfig/swform/menubar/menubar.xml +++ b/sw/uiconfig/swform/menubar/menubar.xml @@ -278,6 +278,18 @@ </menu:menupopup> </menu:menu> <menu:menuseparator/> + <menu:menu menu:id=".uno:FormatImageMenu"> + <menu:menupopup> + <menu:menuitem menu:id=".uno:Crop"/> + <menu:menuseparator/> + <menu:menuitem menu:id=".uno:ExternalEdit"/> + <menu:menuitem menu:id=".uno:ChangePicture"/> + <menu:menuitem menu:id=".uno:CompressGraphic"/> + <menu:menuseparator/> + <menu:menuitem menu:id=".uno:SaveGraphic"/> + </menu:menupopup> + </menu:menu> + <menu:menuseparator/> <menu:menu menu:id=".uno:AnchorMenu"> <menu:menupopup> <menu:menuitem menu:id=".uno:SetAnchorToPage" menu:style="radio"/> diff --git a/sw/uiconfig/swform/toolbar/graphicobjectbar.xml b/sw/uiconfig/swform/toolbar/graphicobjectbar.xml index 6e7201c82042..1f27f3c6bbd9 100644 --- a/sw/uiconfig/swform/toolbar/graphicobjectbar.xml +++ b/sw/uiconfig/swform/toolbar/graphicobjectbar.xml @@ -30,6 +30,7 @@ <toolbar:toolbaritem xlink:href=".uno:FlipHorizontal" toolbar:helpid="20425"/> <toolbar:toolbaritem xlink:href=".uno:RotateLeft" toolbar:helpid=""/> <toolbar:toolbaritem xlink:href=".uno:RotateRight" toolbar:helpid=""/> + <toolbar:toolbaritem xlink:href=".uno:Crop" toolbar:helpid=""/> <toolbar:toolbarseparator/> <toolbar:toolbaritem xlink:href=".uno:FrameDialog" toolbar:helpid="20458"/> </toolbar:toolbar> diff --git a/sw/uiconfig/swreport/menubar/menubar.xml b/sw/uiconfig/swreport/menubar/menubar.xml index 4d9ba26bd992..f9d3fececa89 100644 --- a/sw/uiconfig/swreport/menubar/menubar.xml +++ b/sw/uiconfig/swreport/menubar/menubar.xml @@ -280,6 +280,18 @@ </menu:menupopup> </menu:menu> <menu:menuseparator/> + <menu:menu menu:id=".uno:FormatImageMenu"> + <menu:menupopup> + <menu:menuitem menu:id=".uno:Crop"/> + <menu:menuseparator/> + <menu:menuitem menu:id=".uno:ExternalEdit"/> + <menu:menuitem menu:id=".uno:ChangePicture"/> + <menu:menuitem menu:id=".uno:CompressGraphic"/> + <menu:menuseparator/> + <menu:menuitem menu:id=".uno:SaveGraphic"/> + </menu:menupopup> + </menu:menu> + <menu:menuseparator/> <menu:menu menu:id=".uno:AnchorMenu"> <menu:menupopup> <menu:menuitem menu:id=".uno:SetAnchorToPage" menu:style="radio"/> diff --git a/sw/uiconfig/swreport/toolbar/graphicobjectbar.xml b/sw/uiconfig/swreport/toolbar/graphicobjectbar.xml index 6e7201c82042..1f27f3c6bbd9 100644 --- a/sw/uiconfig/swreport/toolbar/graphicobjectbar.xml +++ b/sw/uiconfig/swreport/toolbar/graphicobjectbar.xml @@ -30,6 +30,7 @@ <toolbar:toolbaritem xlink:href=".uno:FlipHorizontal" toolbar:helpid="20425"/> <toolbar:toolbaritem xlink:href=".uno:RotateLeft" toolbar:helpid=""/> <toolbar:toolbaritem xlink:href=".uno:RotateRight" toolbar:helpid=""/> + <toolbar:toolbaritem xlink:href=".uno:Crop" toolbar:helpid=""/> <toolbar:toolbarseparator/> <toolbar:toolbaritem xlink:href=".uno:FrameDialog" toolbar:helpid="20458"/> </toolbar:toolbar> diff --git a/sw/uiconfig/swriter/menubar/menubar.xml b/sw/uiconfig/swriter/menubar/menubar.xml index edcf10ef1c1d..dc794495939c 100644 --- a/sw/uiconfig/swriter/menubar/menubar.xml +++ b/sw/uiconfig/swriter/menubar/menubar.xml @@ -296,6 +296,18 @@ </menu:menupopup> </menu:menu> <menu:menuseparator/> + <menu:menu menu:id=".uno:FormatImageMenu"> + <menu:menupopup> + <menu:menuitem menu:id=".uno:Crop"/> + <menu:menuseparator/> + <menu:menuitem menu:id=".uno:ExternalEdit"/> + <menu:menuitem menu:id=".uno:ChangePicture"/> + <menu:menuitem menu:id=".uno:CompressGraphic"/> + <menu:menuseparator/> + <menu:menuitem menu:id=".uno:SaveGraphic"/> + </menu:menupopup> + </menu:menu> + <menu:menuseparator/> <menu:menu menu:id=".uno:AnchorMenu"> <menu:menupopup> <menu:menuitem menu:id=".uno:SetAnchorToPage" menu:style="radio"/> diff --git a/sw/uiconfig/swriter/toolbar/graphicobjectbar.xml b/sw/uiconfig/swriter/toolbar/graphicobjectbar.xml index daccb1461598..a41a1dffbf24 100644 --- a/sw/uiconfig/swriter/toolbar/graphicobjectbar.xml +++ b/sw/uiconfig/swriter/toolbar/graphicobjectbar.xml @@ -30,6 +30,7 @@ <toolbar:toolbaritem xlink:href=".uno:FlipHorizontal" toolbar:helpid="20425"/> <toolbar:toolbaritem xlink:href=".uno:RotateLeft" toolbar:helpid=""/> <toolbar:toolbaritem xlink:href=".uno:RotateRight" toolbar:helpid=""/> + <toolbar:toolbaritem xlink:href=".uno:Crop" toolbar:helpid=""/> <toolbar:toolbarseparator/> <toolbar:toolbaritem xlink:href=".uno:GraphicDialog" toolbar:visible="false"/> </toolbar:toolbar> diff --git a/sw/uiconfig/swxform/menubar/menubar.xml b/sw/uiconfig/swxform/menubar/menubar.xml index 854d89c139f9..c6cf58f31702 100644 --- a/sw/uiconfig/swxform/menubar/menubar.xml +++ b/sw/uiconfig/swxform/menubar/menubar.xml @@ -280,6 +280,18 @@ </menu:menupopup> </menu:menu> <menu:menuseparator/> + <menu:menu menu:id=".uno:FormatImageMenu"> + <menu:menupopup> + <menu:menuitem menu:id=".uno:Crop"/> + <menu:menuseparator/> + <menu:menuitem menu:id=".uno:ExternalEdit"/> + <menu:menuitem menu:id=".uno:ChangePicture"/> + <menu:menuitem menu:id=".uno:CompressGraphic"/> + <menu:menuseparator/> + <menu:menuitem menu:id=".uno:SaveGraphic"/> + </menu:menupopup> + </menu:menu> + <menu:menuseparator/> <menu:menu menu:id=".uno:AnchorMenu"> <menu:menupopup> <menu:menuitem menu:id=".uno:SetAnchorToPage" menu:style="radio"/> diff --git a/sw/uiconfig/swxform/toolbar/graphicobjectbar.xml b/sw/uiconfig/swxform/toolbar/graphicobjectbar.xml index 6e7201c82042..1f27f3c6bbd9 100644 --- a/sw/uiconfig/swxform/toolbar/graphicobjectbar.xml +++ b/sw/uiconfig/swxform/toolbar/graphicobjectbar.xml @@ -30,6 +30,7 @@ <toolbar:toolbaritem xlink:href=".uno:FlipHorizontal" toolbar:helpid="20425"/> <toolbar:toolbaritem xlink:href=".uno:RotateLeft" toolbar:helpid=""/> <toolbar:toolbaritem xlink:href=".uno:RotateRight" toolbar:helpid=""/> + <toolbar:toolbaritem xlink:href=".uno:Crop" toolbar:helpid=""/> <toolbar:toolbarseparator/> <toolbar:toolbaritem xlink:href=".uno:FrameDialog" toolbar:helpid="20458"/> </toolbar:toolbar> |