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

New commits:
commit 999b3de1ccef58535c84f9671435dee4264a59e2
Author:     Szymon Kłos <szymon.k...@collabora.com>
AuthorDate: Thu May 7 13:17:50 2020 +0200
Commit:     Szymon Kłos <szymon.k...@collabora.com>
CommitDate: Fri May 8 09:36:45 2020 +0200

    notebookbar: hide unsupported items in impress
    
    Change-Id: I54e4a15c32ef5876dd74df185cddf9341d9b8718
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93691
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>

diff --git a/loleaflet/src/control/Control.NotebookbarBuilder.js 
b/loleaflet/src/control/Control.NotebookbarBuilder.js
index 85fc98816..237e9c497 100644
--- a/loleaflet/src/control/Control.NotebookbarBuilder.js
+++ b/loleaflet/src/control/Control.NotebookbarBuilder.js
@@ -39,6 +39,7 @@ L.Control.NotebookbarBuilder = 
L.Control.JSDialogBuilder.extend({
                this._toolitemHandlers['.uno:Paste'] = 
this._clipboardButtonControl;
                this._toolitemHandlers['.uno:BasicShapes'] = 
this._shapesControl;
                this._toolitemHandlers['.uno:ConditionalFormatMenu'] = 
this._conditionalFormatControl;
+               this._toolitemHandlers['.uno:SetDefault'] = 
this._clearFormattingControl;
 
                this._toolitemHandlers['.uno:SelectWidth'] = function() {};
                this._toolitemHandlers['.uno:SetOutline'] = function() {};
@@ -88,6 +89,22 @@ L.Control.NotebookbarBuilder = 
L.Control.JSDialogBuilder.extend({
                this._toolitemHandlers['.uno:HideAllNotes'] = function() {};
                this._toolitemHandlers['.uno:ShareDocument'] = function() {};
                this._toolitemHandlers['.uno:EditDoc'] = function() {};
+               this._toolitemHandlers['.uno:AssignLayout'] = function() {};
+               this._toolitemHandlers['.uno:ConnectorToolbox'] = function() {};
+               this._toolitemHandlers['.uno:Presentation'] = function() {};
+               this._toolitemHandlers['.uno:PresentationCurrentSlide'] = 
function() {};
+               this._toolitemHandlers['.uno:PresentationLayout'] = function() 
{};
+               this._toolitemHandlers['.uno:FontworkGalleryFloater'] = 
function() {};
+               this._toolitemHandlers['.uno:CapturePoint'] = function() {};
+               this._toolitemHandlers['.uno:Objects3DToolbox'] = function() {};
+               this._toolitemHandlers['.uno:InsertMath'] = function() {};
+               this._toolitemHandlers['.uno:ShowAnnotations'] = function() {};
+               this._toolitemHandlers['.uno:DeleteAnnotation'] = function() {};
+               this._toolitemHandlers['.uno:NextAnnotation'] = function() {};
+               this._toolitemHandlers['.uno:PreviousAnnotation'] = function() 
{};
+               this._toolitemHandlers['.uno:AnimationEffects'] = function() {};
+               this._toolitemHandlers['.uno:OptimizeTable'] = function() {};
+               this._toolitemHandlers['.uno:TableDesign'] = function() {};
                this._toolitemHandlers['vnd.sun.star.findbar:FocusToFindbar'] = 
function() {};
        },
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to