Skip to content
Snippets Groups Projects
Commit 36715b7a authored by Andras Timar's avatar Andras Timar
Browse files

loleaflet: switch position of View and Insert menus

parent 443d0bae
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,12 @@ L.Control.Menubar = L.Control.extend({
{type: 'separator'},
{name: _('Select all'), type: 'unocommand', uno: '.uno:SelectAll'}]
},
{name: _('View'), type: 'menu', menu: [{name: _('Full screen'), id: 'fullscreen', type: 'action'},
{type: 'separator'},
{name: _('Zoom in'), id: 'zoomin', type: 'action'},
{name: _('Zoom out'), id: 'zoomout', type: 'action'},
{name: _('Reset zoom'), id: 'zoomreset', type: 'action'}]
},
{name: _('Insert'), type: 'menu', menu: [{name: _('Image'), id: 'insertgraphic', type: 'action'},
{name: _('Comment'), type: 'unocommand', uno: '.uno:InsertAnnotation'},
{type: 'separator'},
......@@ -34,12 +40,6 @@ L.Control.Menubar = L.Control.extend({
{name: _('Page break'), type: 'unocommand', uno: '.uno:InsertPageBreak'},
{name: _('Column break'), type: 'unocommand', uno: '.uno:InsertColumnBreak'}]
},
{name: _('View'), type: 'menu', menu: [{name: _('Full screen'), id: 'fullscreen', type: 'action'},
{type: 'separator'},
{name: _('Zoom in'), id: 'zoomin', type: 'action'},
{name: _('Zoom out'), id: 'zoomout', type: 'action'},
{name: _('Reset zoom'), id: 'zoomreset', type: 'action'}]
},
{name: _('Tables'), type: 'menu', menu: [{name: _('Insert'), type: 'menu', menu: [{name: _('Rows before'), type: 'unocommand', uno: '.uno:InsertRowsBefore'},
{name: _('Rows after'), type: 'unocommand', uno: '.uno:InsertRowsAfter'},
{type: 'separator'},
......@@ -77,14 +77,14 @@ L.Control.Menubar = L.Control.extend({
{type: 'separator'},
{name: _('Select all'), type: 'unocommand', uno: '.uno:SelectAll'}]
},
{name: _('Insert'), type: 'menu', menu: [{name: _('Image'), id: 'insertgraphic', type: 'action'}]
},
{name: _('View'), type: 'menu', menu: [{name: _('Full screen'), id: 'fullscreen', type: 'action'},
{type: 'separator'},
{name: _('Zoom in'), id: 'zoomin', type: 'action'},
{name: _('Zoom out'), id: 'zoomout', type: 'action'},
{name: _('Reset zoom'), id: 'zoomreset', type: 'action'}]
},
{name: _('Insert'), type: 'menu', menu: [{name: _('Image'), id: 'insertgraphic', type: 'action'}]
},
{name: _('Tables'), type: 'menu', menu: [{name: _('Insert'), type: 'menu', menu: [{name: _('Rows before'), type: 'unocommand', uno: '.uno:InsertRowsBefore'},
{name: _('Rows after'), type: 'unocommand', uno: '.uno:InsertRowsAfter'},
{type: 'separator'},
......@@ -123,18 +123,18 @@ L.Control.Menubar = L.Control.extend({
{type: 'separator'},
{name: _('Select all'), type: 'unocommand', uno: '.uno:SelectAll'}]
},
{name: _('Insert'), type: 'menu', menu: [{name: _('Image'), id: 'insertgraphic', type: 'action'},
{name: _('Comment'), type: 'unocommand', uno: '.uno:InsertAnnotation'},
{type: 'separator'},
{name: _('Row'), type: 'unocommand', uno: '.uno:InsertRows'},
{name: _('Column'), type: 'unocommand', uno: '.uno:InsertColumns'}]
},
{name: _('View'), type: 'menu', menu: [{name: _('Full screen'), id: 'fullscreen', type: 'action'},
{type: 'separator'},
{name: _('Zoom in'), id: 'zoomin', type: 'action'},
{name: _('Zoom out'), id: 'zoomout', type: 'action'},
{name: _('Reset zoom'), id: 'zoomreset', type: 'action'}]
},
{name: _('Insert'), type: 'menu', menu: [{name: _('Image'), id: 'insertgraphic', type: 'action'},
{name: _('Comment'), type: 'unocommand', uno: '.uno:InsertAnnotation'},
{type: 'separator'},
{name: _('Row'), type: 'unocommand', uno: '.uno:InsertRows'},
{name: _('Column'), type: 'unocommand', uno: '.uno:InsertColumns'}]
},
{name: _('Cells'), type: 'menu', menu: [{name: _('Insert row'), type: 'unocommand', uno: '.uno:InsertRows'},
{name: _('Insert column'), type: 'unocommand', uno: '.uno:InsertColumns'},
{type: 'separator'},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment