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

Andras Timar andras.timar at collabora.com
Fri Oct 28 10:23:04 UTC 2016


 loleaflet/src/control/Control.Menubar.js |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 453307a67cb75fac4534c7b404d30b8038d181ec
Author: Andras Timar <andras.timar at collabora.com>
Date:   Fri Oct 28 12:22:36 2016 +0200

    add left-to-right anf right-to-left commands to Writer Format menu

diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 9bfafeb..f77c1bc 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -66,6 +66,9 @@ L.Control.Menubar = L.Control.extend({
 						{name: _('Sentence case'), type: 'unocommand', uno: '.uno:ChangeCaseToSentenceCase'},
 						{name: _('Capitalize Every Word'), type: 'unocommand', uno: '.uno:ChangeCaseToTitleCase'},
 						{name: _('tOGGLE cASE'), type: 'unocommand', uno: '.uno:ChangeCaseToToggleCase'}]},
+				{name: _('Text orientation'), type: 'menu', menu: [
+						{name: _('Set paragraph left-to-right'), type: 'unocommand', uno: '.uno:ParaLeftToRight'},
+						{name: _('Set paragraph right-to-left'), type: 'unocommand', uno: '.uno:ParaRightToLeft'}]},
 				{name: _('Spacing'), type: 'menu', menu: [
 						{name: _('Line spacing: 1'), type: 'unocommand', uno: '.uno:SpacePara1'},
 						{name: _('Line spacing: 1.5'), type: 'unocommand', uno: '.uno:SpacePara15'},


More information about the Libreoffice-commits mailing list