diff options
author | Heiko Tietze <tietze.heiko@gmail.com> | 2020-09-01 10:45:05 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2020-09-18 01:11:18 +0200 |
commit | 705226338beeabd214f260c00f1a6db2cfb52475 (patch) | |
tree | 3643bda35f5878ef39cdb4548bcd8f8d7e42ec15 /sd/uiconfig | |
parent | 90a5b6844409ee46b8cb4d87ad8446994a546575 (diff) |
Resolves tdf#97918 - Individual UNO commands for distribution options
New UNO commands added, SID_DISTRIBUTE_DLG bend to dropdown, ui removed
Menus and toolbars adjusted
Change-Id: Ic0a3cc299f745a1a0cd18edead1f410ff57a1f1f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102272
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sd/uiconfig')
-rw-r--r-- | sd/uiconfig/sdraw/toolbar/distributebar.xml | 21 | ||||
-rw-r--r-- | sd/uiconfig/sdraw/toolbar/drawingobjectbar.xml | 2 | ||||
-rw-r--r-- | sd/uiconfig/simpress/toolbar/distributebar.xml | 21 | ||||
-rw-r--r-- | sd/uiconfig/simpress/toolbar/drawingobjectbar.xml | 2 |
4 files changed, 42 insertions, 4 deletions
diff --git a/sd/uiconfig/sdraw/toolbar/distributebar.xml b/sd/uiconfig/sdraw/toolbar/distributebar.xml new file mode 100644 index 000000000000..308104262c47 --- /dev/null +++ b/sd/uiconfig/sdraw/toolbar/distributebar.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE toolbar:toolbar PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "toolbar.dtd"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * +--> +<toolbar:toolbar xmlns:toolbar="http://openoffice.org/2001/toolbar" xmlns:xlink="http://www.w3.org/1999/xlink"> + <toolbar:toolbaritem xlink:href=".uno:DistributeHorzLeft"/> + <toolbar:toolbaritem xlink:href=".uno:DistributeHorzCenter"/> + <toolbar:toolbaritem xlink:href=".uno:DistributeHorzDistance"/> + <toolbar:toolbaritem xlink:href=".uno:DistributeHorzRight"/> + <toolbar:toolbarbreak/> + <toolbar:toolbaritem xlink:href=".uno:DistributeVertTop"/> + <toolbar:toolbaritem xlink:href=".uno:DistributeVertCenter"/> + <toolbar:toolbaritem xlink:href=".uno:DistributeVertDistance"/> + <toolbar:toolbaritem xlink:href=".uno:DistributeVertBottom"/> +</toolbar:toolbar>
\ No newline at end of file diff --git a/sd/uiconfig/sdraw/toolbar/drawingobjectbar.xml b/sd/uiconfig/sdraw/toolbar/drawingobjectbar.xml index 4ec8c431197f..04d010eee3dd 100644 --- a/sd/uiconfig/sdraw/toolbar/drawingobjectbar.xml +++ b/sd/uiconfig/sdraw/toolbar/drawingobjectbar.xml @@ -56,8 +56,6 @@ <toolbar:toolbaritem xlink:href=".uno:MirrorHorz"/> <toolbar:toolbaritem xlink:href=".uno:AdvancedMode"/> <toolbar:toolbarseparator/> - <toolbar:toolbaritem xlink:href=".uno:DistributeSelection"/> - <toolbar:toolbarseparator/> <toolbar:toolbaritem xlink:href=".uno:FormatLine" toolbar:visible="false"/> <toolbar:toolbaritem xlink:href=".uno:FormatArea" toolbar:visible="false"/> <toolbar:toolbaritem xlink:href=".uno:Window3D" toolbar:visible="false"/> diff --git a/sd/uiconfig/simpress/toolbar/distributebar.xml b/sd/uiconfig/simpress/toolbar/distributebar.xml new file mode 100644 index 000000000000..308104262c47 --- /dev/null +++ b/sd/uiconfig/simpress/toolbar/distributebar.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE toolbar:toolbar PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "toolbar.dtd"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * +--> +<toolbar:toolbar xmlns:toolbar="http://openoffice.org/2001/toolbar" xmlns:xlink="http://www.w3.org/1999/xlink"> + <toolbar:toolbaritem xlink:href=".uno:DistributeHorzLeft"/> + <toolbar:toolbaritem xlink:href=".uno:DistributeHorzCenter"/> + <toolbar:toolbaritem xlink:href=".uno:DistributeHorzDistance"/> + <toolbar:toolbaritem xlink:href=".uno:DistributeHorzRight"/> + <toolbar:toolbarbreak/> + <toolbar:toolbaritem xlink:href=".uno:DistributeVertTop"/> + <toolbar:toolbaritem xlink:href=".uno:DistributeVertCenter"/> + <toolbar:toolbaritem xlink:href=".uno:DistributeVertDistance"/> + <toolbar:toolbaritem xlink:href=".uno:DistributeVertBottom"/> +</toolbar:toolbar>
\ No newline at end of file diff --git a/sd/uiconfig/simpress/toolbar/drawingobjectbar.xml b/sd/uiconfig/simpress/toolbar/drawingobjectbar.xml index 91b087528ae7..f5646c28d7e3 100644 --- a/sd/uiconfig/simpress/toolbar/drawingobjectbar.xml +++ b/sd/uiconfig/simpress/toolbar/drawingobjectbar.xml @@ -56,8 +56,6 @@ <toolbar:toolbaritem xlink:href=".uno:MirrorHorz"/> <toolbar:toolbaritem xlink:href=".uno:AdvancedMode"/> <toolbar:toolbarseparator/> - <toolbar:toolbaritem xlink:href=".uno:DistributeSelection"/> - <toolbar:toolbarseparator/> <toolbar:toolbaritem xlink:href=".uno:FormatLine" toolbar:visible="false"/> <toolbar:toolbaritem xlink:href=".uno:FormatArea" toolbar:visible="false"/> <toolbar:toolbaritem xlink:href=".uno:Window3D" toolbar:visible="false"/> |