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'),},},