Add Insert Fields menus to Impress desktop menus, too, in order to be sync with mobile UI

Change-Id: I1e0a5e309be25a22dbec73e2a74d7498896a4eb7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92761
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
This commit is contained in:
Andras Timar 2020-04-23 13:51:59 +02:00
parent 67fca3bdfb
commit c98d2d2b3d

View file

@ -301,8 +301,19 @@ L.Control.Menubar = L.Control.extend({
{type: 'separator'},
{uno: '.uno:InsertSymbol'},
{type: 'separator'},
{uno: '.uno:HeaderAndFooter'}]
},
{uno: '.uno:HeaderAndFooter'},
{type: 'separator'},
{name: _UNO('.uno:InsertField', 'text'), id: 'insertfield', type: 'menu', menu: [
{uno: '.uno:InsertDateFieldFix'},
{uno: '.uno:InsertDateFieldVar'},
{uno: '.uno:InsertTimeFieldFix'},
{uno: '.uno:InsertTimeFieldVar'},
{type: 'separator'},
{name: _UNO('.uno:InsertSlideField', 'presentation'), id: 'insertslidefield', type: 'action'},
{name: _UNO('.uno:InsertSlideTitleField', 'presentation'), id: 'insertslidetitlefield', type: 'action'},
{name: _UNO('.uno:InsertSlidesField', 'presentation'), id: 'insertslidesfield', type: 'action'},
]},
]},
{name: _UNO('.uno:FormatMenu', 'presentation'), id: 'format', type: 'menu', menu: [
{uno: '.uno:FontDialog'},
{uno: '.uno:ParagraphDialog'},