loleaflet/src/control/Control.NotebookbarBuilder.js | 22 ++++++++++++++++++++ 1 file changed, 22 insertions(+)
New commits: commit 8bff7cca1a84d6026acc2e75c28f2dca651ffbea Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Wed Jun 17 09:27:10 2020 +0200 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Fri Jun 19 11:41:40 2020 +0200 notebookbar: remove unsupported items Change-Id: If070d929ba7b4294135e27ac1ab7984b59c86b4e Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96687 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 864b14e8d..861b61ca5 100644 --- a/loleaflet/src/control/Control.NotebookbarBuilder.js +++ b/loleaflet/src/control/Control.NotebookbarBuilder.js @@ -19,6 +19,8 @@ L.Control.NotebookbarBuilder = L.Control.JSDialogBuilder.extend({ this._controlHandlers['pushbutton'] = function() { return false; }; this._controlHandlers['spinfield'] = function() { return false; }; + this._controlHandlers['formattedfield'] = function() { return false; }; + this._controlHandlers['metricfield'] = function() { return false; }; this._toolitemHandlers['.uno:XLineColor'] = this._colorControl; this._toolitemHandlers['.uno:FontColor'] = this._colorControl; @@ -106,6 +108,26 @@ L.Control.NotebookbarBuilder = L.Control.JSDialogBuilder.extend({ this._toolitemHandlers['.uno:AnimationEffects'] = function() {}; this._toolitemHandlers['.uno:OptimizeTable'] = function() {}; this._toolitemHandlers['.uno:TableDesign'] = function() {}; + this._toolitemHandlers['.uno:ContourDialog'] = function() {}; + this._toolitemHandlers['.uno:TextWrap'] = function() {}; + this._toolitemHandlers['.uno:AcceptTrackedChangeToNext'] = function() {}; + this._toolitemHandlers['.uno:RejectTrackedChangeToNext'] = function() {}; + this._toolitemHandlers['.uno:RedactDoc'] = function() {}; + this._toolitemHandlers['.uno:TableCellBackgroundColor'] = function() {}; + this._toolitemHandlers['.uno:FrameLineColor'] = function() {}; + this._toolitemHandlers['.uno:ProtectTraceChangeMode'] = function() {}; + this._toolitemHandlers['.uno:RowOperations'] = function() {}; + this._toolitemHandlers['.uno:ColumnOperations'] = function() {}; + this._toolitemHandlers['.uno:Insert'] = function() {}; + this._toolitemHandlers['.uno:InsertCell'] = function() {}; + this._toolitemHandlers['.uno:AddName'] = function() {}; + this._toolitemHandlers['.uno:DefineName'] = function() {}; + this._toolitemHandlers['.uno:ToolProtectionDocument'] = function() {}; + this._toolitemHandlers['.uno:Protect'] = function() {}; + this._toolitemHandlers['.uno:ImportFromFile'] = function() {}; + this._toolitemHandlers['.uno:PhotoAlbumDialog'] = function() {}; + this._toolitemHandlers['.uno:AutoFormat'] = 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