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

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

    leaflet: "to Background" option enabled
    
    In context menu of shape -> arrange -> to background
    
    This option allows user to put shape behind the text
    
    Change-Id: I2af69dc9198de8aee087f5893b84dca92aecc03b
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90670
    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 c6c8e7d9c..88c20fb52 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',
+                                         'ArrangeFrameMenu', 'ArrangeMenu', 
'BringToFront', 'ObjectForwardOne', 'ObjectBackOne', 'SendToBack', 
'SetObjectToBackground',
                                          '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 a177d4732..90d5a8e85 100644
--- a/loleaflet/src/unocommands.js
+++ b/loleaflet/src/unocommands.js
@@ -266,6 +266,7 @@ var unoCommandsArray = {
        SetLanguageAllTextMenu:{global:{menu:_('For All Text'),},},
        SetLanguageParagraphMenu:{global:{menu:_('For Paragraph'),},},
        SetLanguageSelectionMenu:{global:{menu:_('For Selection'),},},
+       SetObjectToBackground:{global:{menu:_('To Background'),},},
        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