diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2020-05-20 14:23:58 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2020-05-21 12:19:50 +0200 |
commit | cdeaebee8853829e5103d948aaebfe5466d4280e (patch) | |
tree | 7bf1208ae6b26e485fd2f277515440db6f9df177 | |
parent | f7d5cd07933af1bb9ce3112e3b138309113baf6a (diff) |
Add Insert Table in menubar
Change-Id: I13da175b4f15affc3341cbbaf94e39a689820c86
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94570
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
-rw-r--r-- | loleaflet/src/control/Control.Menubar.js | 2 | ||||
-rw-r--r-- | loleaflet/src/unocommands.js | 1 |
2 files changed, 3 insertions, 0 deletions
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)'),},}, |