loleaflet/src/control/Control.ContextMenu.js |    2 +-
 loleaflet/src/unocommands.js                 |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit b470fdbd3f35796e557aa3bcd9b1c0fab4080b2c
Author:     Pranam Lashkari <lpra...@collabora.com>
AuthorDate: Wed Mar 18 02:22:02 2020 +0530
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Tue Mar 17 22:01:59 2020 +0100

    leaflet: "to Foreground" option enabled
    
    In context menu of shape -> arrange -> to foreground
    
    This option allows user to put shape infront of the text
    
    Change-Id: Ifb8690d8f9aae92dc15b6bb643222113b1755a3c
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90672
    Tested-by: Andras Timar <andras.ti...@collabora.com>
    Reviewed-by: Andras Timar <andras.ti...@collabora.com>

diff --git a/loleaflet/src/control/Control.ContextMenu.js 
b/loleaflet/src/control/Control.ContextMenu.js
index 88c20fb52..bd2eb5d78 100644
--- a/loleaflet/src/control/Control.ContextMenu.js
+++ b/loleaflet/src/control/Control.ContextMenu.js
@@ -27,7 +27,7 @@ L.Control.ContextMenu = L.Control.extend({
                                          'SetAnchorToChar', 'SetAnchorToFrame',
                                          'WrapMenu', 'WrapOff', 'WrapOn', 
'WrapIdeal', 'WrapLeft', 'WrapRight', 'WrapThrough',
                                          'WrapThroughTransparent', 
'WrapContour', 'WrapAnchorOnly',
-                                         'ArrangeFrameMenu', 'ArrangeMenu', 
'BringToFront', 'ObjectForwardOne', 'ObjectBackOne', 'SendToBack', 
'SetObjectToBackground',
+                                         'ArrangeFrameMenu', 'ArrangeMenu', 
'BringToFront', 'ObjectForwardOne', 'ObjectBackOne', 'SendToBack', 
'SetObjectToBackground', 'SetObjectToForeground',
                                          'RotateMenu', 'RotateLeft', 
'RotateRight', 'TransformDialog', 'FormatLine', 'FormatArea',
                                          'FormatChartArea', 'InsertTitles', 
'InsertRemoveAxes',
                                          'DeleteLegend', 'DiagramType', 
'DataRanges', 'DiagramData', 'View3D',
diff --git a/loleaflet/src/unocommands.js b/loleaflet/src/unocommands.js
index 90d5a8e85..c8cf31684 100644
--- a/loleaflet/src/unocommands.js
+++ b/loleaflet/src/unocommands.js
@@ -267,6 +267,7 @@ var unoCommandsArray = {
        SetLanguageParagraphMenu:{global:{menu:_('For Paragraph'),},},
        SetLanguageSelectionMenu:{global:{menu:_('For Selection'),},},
        SetObjectToBackground:{global:{menu:_('To Background'),},},
+       SetObjectToForeground:{global:{menu:_('To Foreground'),},},
        SetOptimalColumnWidth:{presentation:{menu:_('Optimal Column 
Width'),},spreadsheet:{menu:_('~Optimal Width...'),},text:{menu:_('Optimal 
Column Width'),},},
        SetOptimalRowHeight:{presentation:{menu:_('Optimal Row 
Height'),},spreadsheet:{menu:_('~Optimal Height...'),},text:{menu:_('Optimal 
Row Height'),},},
        Shadowed:{global:{menu:_('Shadow'),},},
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to