[Libreoffice-commits] online.git: loleaflet/src

Andras Timar andras.timar at collabora.com
Tue Oct 4 09:21:35 UTC 2016


 loleaflet/src/control/Control.Menubar.js |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

New commits:
commit b5f95c2aed1c8af9577ac90e0a8a89de049f6852
Author: Andras Timar <andras.timar at collabora.com>
Date:   Tue Oct 4 11:21:10 2016 +0200

    loleaflet: add Insert Footnote, Endnote, Page and Column break to Writer menu

diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 88aef52..7fee304 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -26,7 +26,13 @@ L.Control.Menubar = L.Control.extend({
 												{name: _('Select all'), type: 'unocommand', uno: '.uno:SelectAll'}]
 			},
 			{name: _('Insert'), type: 'menu', menu: [{name: _('Image'), id: 'insertgraphic', type: 'action'},
-												  {name: _('Comment'), type: 'unocommand', uno: '.uno:InsertAnnotation'}]
+												{name: _('Comment'), type: 'unocommand', uno: '.uno:InsertAnnotation'},
+												{type: 'separator'},
+												{name: _('Footnote'), type: 'unocommand', uno: '.uno:InsertFootnote'},
+												{name: _('Endnote'), type: 'unocommand', uno: '.uno:InsertEndnote'},
+												{type: 'separator'},
+												{name: _('Page break'), type: 'unocommand', uno: '.uno:InsertPageBreak'},
+												{name: _('Column break'), type: 'unocommand', uno: '.uno:InsertColumnBreak'}]
 			},
 			{name: _('View'), type: 'menu', menu: [{name: _('Full screen'), id: 'fullscreen', type: 'action'},
 												{type: 'separator'},


More information about the Libreoffice-commits mailing list