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

New commits:
commit 1cfe416559951ad7079a176d4c02de9aa0c1e5fe
Author: Aron Budea <aron.bu...@collabora.com>
Date:   Thu Feb 15 07:30:14 2018 +0100

    loleaflet: add download as RTF option
    
    Change-Id: Id258461ff49bcc6d6a0b1e4df826c184e769c5e1
    Reviewed-on: https://gerrit.libreoffice.org/49787
    Reviewed-by: pranavk <pran...@collabora.co.uk>
    Tested-by: pranavk <pran...@collabora.co.uk>

diff --git a/loleaflet/src/control/Control.Menubar.js 
b/loleaflet/src/control/Control.Menubar.js
index 13338925..e60f7c6f 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -23,7 +23,8 @@ L.Control.Menubar = L.Control.extend({
                                        {name: _('PDF Document (.pdf)'), id: 
'downloadas-pdf', type: 'action'},
                                        {name: _('ODF text document (.odt)'), 
id: 'downloadas-odt', type: 'action'},
                                        {name: _('Microsoft Word 2003 (.doc)'), 
id: 'downloadas-doc', type: 'action'},
-                                       {name: _('Microsoft Word (.docx)'), id: 
'downloadas-docx', type: 'action'}]},
+                                       {name: _('Microsoft Word (.docx)'), id: 
'downloadas-docx', type: 'action'},
+                                       {name: _('Rich Text (.rtf)'), id: 
'downloadas-rtf', type: 'action'}]},
                                {type: 'separator'},
                                {uno: '.uno:SetDocumentProperties'}
                        ]},
@@ -378,7 +379,7 @@ L.Control.Menubar = L.Control.extend({
                allowedReadonlyMenus: ['file', 'downloadas', 'view', 'help'],
 
                allowedViewModeActions: [
-                       'downloadas-pdf', 'downloadas-odt', 'downloadas-doc', 
'downloadas-docx', // file menu
+                       'downloadas-pdf', 'downloadas-odt', 'downloadas-doc', 
'downloadas-docx', 'downloadas-rtf', // file menu
                        'downloadas-odp', 'downloadas-ppt', 'downloadas-pptx', 
// file menu
                        'downloadas-ods', 'downloadas-xls', 'downloadas-xlsx', 
// file menu
                        'fullscreen', 'zoomin', 'zoomout', 'zoomreset', // view 
menu
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to