menubar writer tools and insert update

Change-Id: Id971e0ddbcc2cf5cff2e177374fa3743d61620a8
Signed-off-by: andreas kainz <kainz.a@gmail.com>
This commit is contained in:
andreas kainz 2020-11-03 00:33:06 +01:00 committed by Andreas_K
parent f3b6581015
commit aa9cfa6217
2 changed files with 10 additions and 2 deletions

View file

@ -102,6 +102,9 @@ L.Control.Menubar = L.Control.extend({
{name: _UNO('.uno:InsertColumnBreak', 'spreadsheet'), uno: '.uno:InsertColumnBreak'}, {name: _UNO('.uno:InsertColumnBreak', 'spreadsheet'), uno: '.uno:InsertColumnBreak'},
{type: 'separator'}, {type: 'separator'},
{name: _UNO('.uno:HyperlinkDialog'), id: 'inserthyperlink', type: 'action'}, {name: _UNO('.uno:HyperlinkDialog'), id: 'inserthyperlink', type: 'action'},
{uno: '.uno:InsertBookmark'},
{uno: '.uno:InsertReferenceField'},
{type: 'separator'},
{uno: '.uno:InsertSymbol'}, {uno: '.uno:InsertSymbol'},
{name: _UNO('.uno:FormattingMarkMenu', 'text'), type: 'menu', menu: [ {name: _UNO('.uno:FormattingMarkMenu', 'text'), type: 'menu', menu: [
{uno: '.uno:InsertNonBreakingSpace'}, {uno: '.uno:InsertNonBreakingSpace'},
@ -238,10 +241,13 @@ L.Control.Menubar = L.Control.extend({
{name: _('None (Do not check spelling)'), id: 'nonelanguage', uno: '.uno:LanguageStatus?Language:string=Default_LANGUAGE_NONE'}]} {name: _('None (Do not check spelling)'), id: 'nonelanguage', uno: '.uno:LanguageStatus?Language:string=Default_LANGUAGE_NONE'}]}
]}, ]},
{uno: '.uno:WordCountDialog'}, {uno: '.uno:WordCountDialog'},
{uno: '.uno:LineNumberingDialog'},
{type: 'separator'}, {type: 'separator'},
{name: _UNO('.uno:AutoFormatMenu', 'text'), type: 'menu', menu: [ {name: _UNO('.uno:AutoFormatMenu', 'text'), type: 'menu', menu: [
{uno: '.uno:OnlineAutoFormat'}]} {uno: '.uno:OnlineAutoFormat'}]},
{type: 'separator'},
{uno: '.uno:ChapterNumberingDialog'},
{uno: '.uno:LineNumberingDialog'},
{uno: '.uno:FootnoteDialog'}
]}, ]},
{name: _UNO('.uno:HelpMenu', 'text'), id: 'help', type: 'menu', menu: [ {name: _UNO('.uno:HelpMenu', 'text'), id: 'help', type: 'menu', menu: [
{name: _('Online Help'), id: 'online-help', type: 'action', iosapp: false}, {name: _('Online Help'), id: 'online-help', type: 'action', iosapp: false},

View file

@ -218,7 +218,9 @@ var unoCommandsArray = {
LanguageStatus:{global:{menu:_('Language Status'),},}, LanguageStatus:{global:{menu:_('Language Status'),},},
LayoutStatus:{presentation:{menu:_('Layout'),},}, LayoutStatus:{presentation:{menu:_('Layout'),},},
LeftPara:{global:{context:_('Align Left'),menu:_('Left'),},}, LeftPara:{global:{context:_('Align Left'),menu:_('Left'),},},
ChapterNumberingDialog:{text:{menu:_('Chapter ~Numbering...'),},},
LineNumberingDialog:{text:{menu:_('~Line Numbering...'),},}, LineNumberingDialog:{text:{menu:_('~Line Numbering...'),},},
FootnoteDialog:{text:{menu:_('F~ootnote or Endnote...'),},},
MasterSlidesPanel:{presentation:{menu:_('Master Slides'),},}, MasterSlidesPanel:{presentation:{menu:_('Master Slides'),},},
MergeCells:{presentation:{menu:_('Merge Cells'),},spreadsheet:{menu:_('Merge Cells'),},text:{menu:_('Merge Cells'),},}, MergeCells:{presentation:{menu:_('Merge Cells'),},spreadsheet:{menu:_('Merge Cells'),},text:{menu:_('Merge Cells'),},},
ModifyPage:{presentation:{menu:_('Slide ~Layout'),},}, ModifyPage:{presentation:{menu:_('Slide ~Layout'),},},