Insert Charts menu items

Change-Id: Ic542210477ab0a401be25b35e91cc9deefec75a9
This commit is contained in:
Pranav Kant 2018-03-13 15:30:37 +05:30
parent 8a713ec7a5
commit 18fa0d7a78
2 changed files with 4 additions and 0 deletions

View file

@ -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'}

View file

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