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

Andras Timar andras.timar at collabora.com
Fri Oct 28 10:41:30 UTC 2016


 loleaflet/src/control/Control.Menubar.js |   28 +++++++++++++++++++---------
 1 file changed, 19 insertions(+), 9 deletions(-)

New commits:
commit c96ef2d3af6d246a65bfb88cbc834d17aa24b73e
Author: Andras Timar <andras.timar at collabora.com>
Date:   Fri Oct 28 12:40:40 2016 +0200

    add Formatting marks to Insert menu of Writer

diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index f77c1bc..eff476d 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -31,16 +31,26 @@ L.Control.Menubar = L.Control.extend({
 												{name: _('Zoom out'), id: 'zoomout', type: 'action'},
 												{name: _('Reset zoom'), id: 'zoomreset', type: 'action'}]
 			},
-			{name: _('Insert'), type: 'menu', menu: [{name: _('Image'), id: 'insertgraphic', type: 'action'},
-												{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: _('Insert'), type: 'menu', menu: [
+				{name: _('Image'), id: 'insertgraphic', type: 'action'},
+				{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'},
+				{type: 'separator'},
+				{name: _('Formatting mark'), type: 'menu', menu: [
+						{name: _('Non-breaking space'), type: 'unocommand', uno: '.uno:InsertNonBreakingSpace'},
+						{name: _('Non-breaking hyphen'), type: 'unocommand', uno: '.uno:InsertHardHyphen'},
+						{name: _('Soft hyphen'), type: 'unocommand', uno: '.uno:InsertSoftHyphen'},
+						{name: _('No-with optional break'), type: 'unocommand', uno: '.uno:InsertZWSP'},
+						{name: _('No-with no break'), type: 'unocommand', uno: '.uno:InsertZWNBSP'},
+						{name: _('Left-to-right mark'), type: 'unocommand', uno: '.uno:InsertLRM'},
+						{name: _('Right-to-left mark'), type: 'unocommand', uno: '.uno:InsertRLM'}]}]
 			},
-			{name: _('Format'), type: 'menu', menu:[
+			{name: _('Format'), type: 'menu', menu: [
 				{name: _('Text'), type: 'menu', menu: [
 						{name: _('Bold'), type: 'unocommand', uno: '.uno:Bold'},
 						{name: _('Italic'), type: 'unocommand', uno: '.uno:Italic'},


More information about the Libreoffice-commits mailing list