loleaflet/src/control/Control.Menubar.js | 2 ++ loleaflet/src/unocommands.js | 1 + 2 files changed, 3 insertions(+)
New commits: commit cdeaebee8853829e5103d948aaebfe5466d4280e Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Wed May 20 14:23:58 2020 +0200 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Thu May 21 12:19:50 2020 +0200 Add Insert Table in menubar Change-Id: I13da175b4f15affc3341cbbaf94e39a689820c86 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94570 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Szymon Kłos <szymon.k...@collabora.com> diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js index d2ef6b36d..62b54ef35 100644 --- a/loleaflet/src/control/Control.Menubar.js +++ b/loleaflet/src/control/Control.Menubar.js @@ -77,6 +77,7 @@ L.Control.Menubar = L.Control.extend({ {name: _UNO('.uno:InsertGraphic', 'text'), id: 'insertgraphicremote', type: 'action'}, {name: _UNO('.uno:InsertAnnotation', 'text'), id: 'insertcomment', type: 'action'}, {uno: '.uno:InsertObjectChart'}, + {uno: '.uno:InsertTable'}, {type: 'separator'}, {uno: '.uno:InsertSection', id: 'insertsection'}, {name: _UNO('.uno:InsertField', 'text'), type: 'menu', menu: [ @@ -296,6 +297,7 @@ L.Control.Menubar = L.Control.extend({ {name: _UNO('.uno:SelectBackground', 'presentation'), id: 'selectbackground', type: 'action'}, {name: _UNO('.uno:InsertAnnotation', 'presentation'), id: 'insertcomment', type: 'action'}, {uno: '.uno:InsertObjectChart'}, + {uno: '.uno:InsertTable'}, {type: 'separator'}, {name: _UNO('.uno:HyperlinkDialog'), id: 'inserthyperlink', type: 'action'}, {type: 'separator'}, diff --git a/loleaflet/src/unocommands.js b/loleaflet/src/unocommands.js index 608dfd997..449880c74 100644 --- a/loleaflet/src/unocommands.js +++ b/loleaflet/src/unocommands.js @@ -184,6 +184,7 @@ var unoCommandsArray = { InsertSlidesField:{presentation:{menu:_('Slide ~Count'),},}, InsertSoftHyphen:{global:{menu:_('S~oft hyphen'),},}, InsertSymbol:{global:{context:_('Insert Special Character'),menu:_('S~pecial Character...'),},}, + InsertTable:{presentation:{menu:_('~Table...'),},text:{menu:_('Insert ~Table...'),},}, InsertTimeField:{global:{menu:_('Time Field'),},text:{menu:_('~Time'),},}, InsertTimeFieldFix:{presentation:{menu:_('~Time (fixed)'),},}, InsertTimeFieldVar:{presentation:{menu:_('T~ime (variable)'),},}, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits