diff --git a/browser/src/control/Control.NotebookbarCalc.js b/browser/src/control/Control.NotebookbarCalc.js index 2c3b5caba1251..9f7ddbe846ff5 100644 --- a/browser/src/control/Control.NotebookbarCalc.js +++ b/browser/src/control/Control.NotebookbarCalc.js @@ -1386,6 +1386,14 @@ L.Control.NotebookbarCalc = L.Control.NotebookbarWriter.extend({ 'command': 'remotelink', 'accessibility': { focusBack: true, combination: 'LR', de: null } } : {}, + (this._map['wopi'].EnableRemoteAIContent) ? { + 'id': 'insert-insert-remote-ai-content', + 'class': 'unoremotelink', + 'type': 'bigcustomtoolitem', + 'text': _('Assistant'), + 'command': 'remoteaicontent', + 'accessibility': { focusBack: true, combination: 'RL', de: null } + } : {}, { 'type': 'container', 'children': [ diff --git a/browser/src/control/Control.NotebookbarDraw.js b/browser/src/control/Control.NotebookbarDraw.js index 28ef750d2ac58..b9ad80d1b9ad4 100644 --- a/browser/src/control/Control.NotebookbarDraw.js +++ b/browser/src/control/Control.NotebookbarDraw.js @@ -1278,6 +1278,14 @@ L.Control.NotebookbarDraw = L.Control.NotebookbarImpress.extend({ 'command': 'remotelink', 'accessibility': { focusBack: true, combination: 'RL', de: null } } : {}, + (this._map['wopi'].EnableRemoteAIContent) ? { + 'id': 'insert-insert-remote-ai-content', + 'class': 'unoremotelink', + 'type': 'bigcustomtoolitem', + 'text': _('Assistant'), + 'command': 'remoteaicontent', + 'accessibility': { focusBack: true, combination: 'RL', de: null } + } : {}, { 'type': 'container', 'children': [ diff --git a/browser/src/control/Control.NotebookbarImpress.js b/browser/src/control/Control.NotebookbarImpress.js index ae45132c60c5e..43599618571fb 100644 --- a/browser/src/control/Control.NotebookbarImpress.js +++ b/browser/src/control/Control.NotebookbarImpress.js @@ -1290,6 +1290,14 @@ L.Control.NotebookbarImpress = L.Control.NotebookbarWriter.extend({ 'command': 'hyperlinkdialog', 'accessibility': { focusBack: true, combination: 'IL', de: null } }, + (this._map['wopi'].EnableRemoteAIContent) ? { + 'id': 'insert-insert-remote-ai-content', + 'class': 'unoremotelink', + 'type': 'bigcustomtoolitem', + 'text': _('Assistant'), + 'command': 'remoteaicontent', + 'accessibility': { focusBack: true, combination: 'RL', de: null } + } : {}, { 'id': 'insert-insert-annotation', 'type': 'bigtoolitem',