loleaflet/src/control/Control.Menubar.js |    3 +++
 loleaflet/unocommands.js                 |    1 +
 2 files changed, 4 insertions(+)

New commits:
commit 30e68822484f9375299183ecf24f1295fe713bf1
Author: Pranav Kant <[email protected]>
Date:   Tue Mar 13 15:30:37 2018 +0530

    Insert Charts menu items
    
    (cherry picked from commit 18fa0d7a7853c7131aef4db80376d07fe1862b10)
    
    Change-Id: Iefaf90811f025a5d86249b9b582bf5658254d90a
    Reviewed-on: https://gerrit.libreoffice.org/51626
    Reviewed-by: Jan Holesovsky <[email protected]>
    Tested-by: Jan Holesovsky <[email protected]>

diff --git a/loleaflet/src/control/Control.Menubar.js 
b/loleaflet/src/control/Control.Menubar.js
index 81dd25fc5..de5235d0c 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -63,6 +63,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'},
@@ -252,6 +253,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'},
@@ -324,6 +326,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 b77574953..d9d0b68eb 100644
--- a/loleaflet/unocommands.js
+++ b/loleaflet/unocommands.js
@@ -104,6 +104,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'),},},
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to