diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index ed6100dc3f..207bf0716d 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -649,6 +649,7 @@ define([ Asc.c_oAscFileType.XLTX, Asc.c_oAscFileType.OTS, Asc.c_oAscFileType.XLSM, + Asc.c_oAscFileType.XLSB, Asc.c_oAscFileType.JPG, Asc.c_oAscFileType.PNG ]; diff --git a/apps/spreadsheeteditor/main/app/controller/Toolbar.js b/apps/spreadsheeteditor/main/app/controller/Toolbar.js index e887a9e541..4a6ff58512 100644 --- a/apps/spreadsheeteditor/main/app/controller/Toolbar.js +++ b/apps/spreadsheeteditor/main/app/controller/Toolbar.js @@ -128,6 +128,7 @@ define([ Asc.c_oAscFileType.PDFA, Asc.c_oAscFileType.XLTX, Asc.c_oAscFileType.OTS, + Asc.c_oAscFileType.XLSB, Asc.c_oAscFileType.XLSM ]; diff --git a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js index 09368b1e24..a54c98bf1b 100644 --- a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js +++ b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js @@ -49,7 +49,8 @@ define([ ],[ {name: 'XLTX', imgCls: 'xltx', type: Asc.c_oAscFileType.XLTX}, {name: 'OTS', imgCls: 'ots', type: Asc.c_oAscFileType.OTS}, - {name: 'XLSM', imgCls: 'xlsm', type: Asc.c_oAscFileType.XLSM}, + {name: 'XLSB', imgCls: 'xlsb', type: Asc.c_oAscFileType.XLSB}, + {name: 'XLSM', imgCls: 'xlsm', type: Asc.c_oAscFileType.XLSM}, {name: 'PDFA', imgCls: 'pdfa', type: Asc.c_oAscFileType.PDFA} ], [ {name: 'JPG', imgCls: 'jpg', type: Asc.c_oAscFileType.JPG}, @@ -151,7 +152,8 @@ define([ ],[ {name: 'XLTX', imgCls: 'xltx', type: Asc.c_oAscFileType.XLTX, ext: '.xltx'}, {name: 'OTS', imgCls: 'ots', type: Asc.c_oAscFileType.OTS, ext: '.ots'}, - {name: 'XLSM', imgCls: 'xlsm', type: Asc.c_oAscFileType.XLSM, ext: '.xlsm'}, + {name: 'XLSB', imgCls: 'xlsb', type: Asc.c_oAscFileType.XLSB, ext: '.xlsb'}, + {name: 'XLSM', imgCls: 'xlsm', type: Asc.c_oAscFileType.XLSM, ext: '.xlsm'}, {name: 'PDFA', imgCls: 'pdfa', type: Asc.c_oAscFileType.PDFA, ext: '.pdf'} ], [ {name: 'JPG', imgCls: 'jpg', type: Asc.c_oAscFileType.JPG, ext: '.zip'}, diff --git a/apps/spreadsheeteditor/main/resources/less/leftmenu.less b/apps/spreadsheeteditor/main/resources/less/leftmenu.less index e924654c53..9d8ea81f9b 100644 --- a/apps/spreadsheeteditor/main/resources/less/leftmenu.less +++ b/apps/spreadsheeteditor/main/resources/less/leftmenu.less @@ -74,6 +74,9 @@ &jpg { background: ~"url('@{common-image-const-path}/doc-formats/jpg.svg') no-repeat center"; } + &xlsb { + background: ~"url('@{common-image-const-path}/doc-formats/xlsb.svg') no-repeat center"; + } } div {