[Libreoffice-commits] online.git: loleaflet/src loleaflet/unocommands.js
Pranav Kant
pranavk at collabora.co.uk
Fri Mar 16 14:11:16 UTC 2018
loleaflet/src/control/Control.Menubar.js | 3 +++
loleaflet/unocommands.js | 1 +
2 files changed, 4 insertions(+)
New commits:
commit 18fa0d7a7853c7131aef4db80376d07fe1862b10
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Tue Mar 13 15:30:37 2018 +0530
Insert Charts menu items
Change-Id: Ic542210477ab0a401be25b35e91cc9deefec75a9
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index d72e6f999..90da54a95 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -65,6 +65,7 @@ L.Control.Menubar = L.Control.extend({
{name: _UNO('.uno:InsertMenu', 'text'), type: 'menu', menu: [
{name: _UNO('.uno:InsertGraphic', 'text'), id: 'insertgraphic', type: 'action'},
{name: _UNO('.uno:InsertAnnotation', 'text'), id: 'insertcomment', type: 'action'},
+ {uno: '.uno:InsertObjectChart'},
{type: 'separator'},
{name: _UNO('.uno:InsertField', 'text'), type: 'menu', menu: [
{uno: '.uno:InsertPageNumberField'},
@@ -256,6 +257,7 @@ L.Control.Menubar = L.Control.extend({
{name: _UNO('.uno:InsertMenu', 'presentation'), type: 'menu', menu: [
{name: _UNO('.uno:InsertGraphic', 'presentation'), id: 'insertgraphic', type: 'action'},
{name: _UNO('.uno:InsertAnnotation', 'presentation'), id: 'insertcomment', type: 'action'},
+ {uno: '.uno:InsertObjectChart'},
{type: 'separator'},
{uno: '.uno:HyperlinkDialog'},
{type: 'separator'},
@@ -330,6 +332,7 @@ L.Control.Menubar = L.Control.extend({
]},
{name: _UNO('.uno:InsertMenu', 'spreadsheet'), type: 'menu', menu: [
{name: _UNO('.uno:InsertGraphic', 'spreadsheet'), id: 'insertgraphic', type: 'action'},
+ {uno: '.uno:InsertObjectChart'},
{name: _UNO('.uno:InsertAnnotation', 'spreadsheet'), id: 'insertcomment', type: 'action'},
{type: 'separator'},
{uno: '.uno:InsertSymbol'}
diff --git a/loleaflet/unocommands.js b/loleaflet/unocommands.js
index 2a41c046e..65fe8ca00 100644
--- a/loleaflet/unocommands.js
+++ b/loleaflet/unocommands.js
@@ -103,6 +103,7 @@ var unoCommandsArray = {
InsertMenu:{global:{menu:_('~Insert'),},},
InsertNeutralParagraph:{text:{menu:_('Insert Unnumbered Entry'),},},
InsertNonBreakingSpace:{global:{menu:_('~Non-breaking space'),},},
+ InsertObjectChart:{global:{menu:_('~Chart...')}},
InsertPageCountField:{text:{menu:_('Page ~Count'),},},
InsertPageFooter:{text:{menu:_('Foote~r'),},},
InsertPageHeader:{text:{menu:_('He~ader'),},},
More information about the Libreoffice-commits
mailing list