Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
menubar writer tools and insert update
Change-Id: Id971e0ddbcc2cf5cff2e177374fa3743d61620a8
Signed-off-by: andreas kainz <kainz.a@gmail.com>
  • Loading branch information
Andreas-Kainz committed Nov 5, 2020
1 parent f3b6581 commit aa9cfa6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 8 additions & 2 deletions loleaflet/src/control/Control.Menubar.js
Expand Up @@ -102,6 +102,9 @@ L.Control.Menubar = L.Control.extend({
{name: _UNO('.uno:InsertColumnBreak', 'spreadsheet'), uno: '.uno:InsertColumnBreak'},
{type: 'separator'},
{name: _UNO('.uno:HyperlinkDialog'), id: 'inserthyperlink', type: 'action'},
{uno: '.uno:InsertBookmark'},
{uno: '.uno:InsertReferenceField'},
{type: 'separator'},
{uno: '.uno:InsertSymbol'},
{name: _UNO('.uno:FormattingMarkMenu', 'text'), type: 'menu', menu: [
{uno: '.uno:InsertNonBreakingSpace'},
Expand Down Expand Up @@ -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'}]}
]},
{uno: '.uno:WordCountDialog'},
{uno: '.uno:LineNumberingDialog'},
{type: 'separator'},
{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: _('Online Help'), id: 'online-help', type: 'action', iosapp: false},
Expand Down
2 changes: 2 additions & 0 deletions loleaflet/src/unocommands.js
Expand Up @@ -218,7 +218,9 @@ var unoCommandsArray = {
LanguageStatus:{global:{menu:_('Language Status'),},},
LayoutStatus:{presentation:{menu:_('Layout'),},},
LeftPara:{global:{context:_('Align Left'),menu:_('Left'),},},
ChapterNumberingDialog:{text:{menu:_('Chapter ~Numbering...'),},},
LineNumberingDialog:{text:{menu:_('~Line Numbering...'),},},
FootnoteDialog:{text:{menu:_('F~ootnote or Endnote...'),},},
MasterSlidesPanel:{presentation:{menu:_('Master Slides'),},},
MergeCells:{presentation:{menu:_('Merge Cells'),},spreadsheet:{menu:_('Merge Cells'),},text:{menu:_('Merge Cells'),},},
ModifyPage:{presentation:{menu:_('Slide ~Layout'),},},
Expand Down

0 comments on commit aa9cfa6

Please sign in to comment.