diff --git a/apps/api/documents/api.js b/apps/api/documents/api.js index 9e7b1db92..e9bb0b2d8 100644 --- a/apps/api/documents/api.js +++ b/apps/api/documents/api.js @@ -161,6 +161,9 @@ collaboration: false / true // collaboration tab protect: false / true, // protect tab plugins: false / true // plugins tab + view: { + navigation: false/true // navigation button in de + } / false / true, // view tab save: false/true // save button on toolbar in }, header: { diff --git a/apps/documenteditor/main/app/template/Toolbar.template b/apps/documenteditor/main/app/template/Toolbar.template index a00ce3b84..a20d3042e 100644 --- a/apps/documenteditor/main/app/template/Toolbar.template +++ b/apps/documenteditor/main/app/template/Toolbar.template @@ -175,10 +175,10 @@
-
+
-
+
diff --git a/apps/documenteditor/main/app/view/Toolbar.js b/apps/documenteditor/main/app/view/Toolbar.js index e0e43324f..414d11f7b 100644 --- a/apps/documenteditor/main/app/view/Toolbar.js +++ b/apps/documenteditor/main/app/view/Toolbar.js @@ -114,7 +114,7 @@ define([ {caption: me.textTabInsert, action: 'ins', extcls: 'canedit', dataHintTitle: 'I'}, {caption: me.textTabLayout, action: 'layout', extcls: 'canedit', layoutname: 'toolbar-layout', dataHintTitle: 'L'}, {caption: me.textTabLinks, action: 'links', extcls: 'canedit', layoutname: 'toolbar-references', dataHintTitle: 'R'}, - {caption: me.textTabView, action: 'view', extcls: 'canedit', dataHintTitle: 'W'} + {caption: me.textTabView, action: 'view', extcls: 'canedit', layoutname: 'toolbar-view', dataHintTitle: 'W'} ] } ); diff --git a/apps/presentationeditor/main/app/view/Toolbar.js b/apps/presentationeditor/main/app/view/Toolbar.js index 983d4f278..ea3b44441 100644 --- a/apps/presentationeditor/main/app/view/Toolbar.js +++ b/apps/presentationeditor/main/app/view/Toolbar.js @@ -136,7 +136,7 @@ define([ {caption: me.textTabInsert, action: 'ins', extcls: 'canedit', dataHintTitle: 'I'}, {caption: me.textTabTransitions, action: 'transit', extcls: 'canedit', dataHintTitle: 'N'}, undefined, - {caption: me.textTabView, action: 'view', extcls: 'canedit', dataHintTitle: 'W'} + {caption: me.textTabView, action: 'view', extcls: 'canedit', layoutname: 'toolbar-view', dataHintTitle: 'W'} ] } ); diff --git a/apps/spreadsheeteditor/main/app/view/Toolbar.js b/apps/spreadsheeteditor/main/app/view/Toolbar.js index 38c59bb55..7306237e6 100644 --- a/apps/spreadsheeteditor/main/app/view/Toolbar.js +++ b/apps/spreadsheeteditor/main/app/view/Toolbar.js @@ -366,7 +366,7 @@ define([ {caption: me.textTabFormula, action: 'formula', extcls: 'canedit', dataHintTitle: 'O'}, {caption: me.textTabData, action: 'data', extcls: 'canedit', dataHintTitle: 'D'}, undefined, undefined, undefined, - {caption: me.textTabView, action: 'view', extcls: 'canedit', dataHintTitle: 'W'} + {caption: me.textTabView, action: 'view', extcls: 'canedit', layoutname: 'toolbar-view', dataHintTitle: 'W'} ]} );