mobile-menu: impress: Remove 'Table' menu's sub menus

Move every table operation to one level, to reduce menu levels.

Change-Id: I90b054ff791b6966ea412074b55889826c053568
This commit is contained in:
Tamás Zolnai 2019-10-16 18:55:46 +02:00
parent 763a9dc1b2
commit 9b5007025a

View file

@ -526,15 +526,13 @@ L.Control.Menubar = L.Control.extend({
{name: _UNO('.uno:FullScreen', 'presentation'), id: 'fullscreen', type: 'action', mobileapp: false}
]},
{name: _UNO('.uno:TableMenu', 'text'/*HACK should be 'presentation', but not in xcu*/), type: 'menu', menu: [
{name: _UNO('.uno:TableInsertMenu', 'text'/*HACK should be 'presentation', but not in xcu*/), type: 'menu', menu: [
{uno: '.uno:InsertRowsBefore'},
{uno: '.uno:InsertRowsAfter'},
{type: 'separator'},
{uno: '.uno:InsertColumnsBefore'},
{uno: '.uno:InsertColumnsAfter'}]},
{name: _UNO('.uno:TableDeleteMenu', 'text'/*HACK should be 'presentation', but not in xcu*/), type: 'menu', menu: [
{uno: '.uno:DeleteRows'},
{uno: '.uno:DeleteColumns'}]},
{uno: '.uno:InsertRowsBefore'},
{uno: '.uno:InsertRowsAfter'},
{type: 'separator'},
{uno: '.uno:InsertColumnsBefore'},
{uno: '.uno:InsertColumnsAfter'},
{uno: '.uno:DeleteRows'},
{uno: '.uno:DeleteColumns'},
{uno: '.uno:MergeCells'}]
},
{name: _UNO('.uno:SlideMenu', 'presentation'), type: 'menu', menu: [