diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index 2eb5a0903..b1f5a641d 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -774,7 +774,8 @@ define([ leftmenuController.setMode(me.appOptions).createDelayedElements().setApi(me.api); if (!me.appOptions.isEditMailMerge && !me.appOptions.isEditDiagram) { - pluginsController.setApi(me.api); + pluginsController.setApi(me.api); + this.api && this.api.asc_setFrozenPaneBorderType(Common.localStorage.getBool('sse-freeze-shadow') ? Asc.c_oAscFrozenPaneBorderType.shadow : Asc.c_oAscFrozenPaneBorderType.line); } leftMenuView.disableMenu('all',false); diff --git a/apps/spreadsheeteditor/main/app/controller/Viewport.js b/apps/spreadsheeteditor/main/app/controller/Viewport.js index 151f68b4c..fcb019005 100644 --- a/apps/spreadsheeteditor/main/app/controller/Viewport.js +++ b/apps/spreadsheeteditor/main/app/controller/Viewport.js @@ -235,6 +235,13 @@ define([ value : 'freezepanes' }); + me.header.mnuitemFreezePanesShadow = new Common.UI.MenuItem({ + caption : me.textFreezePanesShadow, + checkable : true, + checked : Common.localStorage.getBool('sse-freeze-shadow'), + value : 'freezepanesshadow' + }); + me.header.mnuZoom = new Common.UI.MenuItem({ template: _.template([ '