Skip to content

Commit

Permalink
Merge pull request #2870 from ONLYOFFICE/fix/sse-xlsb
Browse files Browse the repository at this point in the history
[SSE] Save to xlsb format
  • Loading branch information
JuliaRadzhabova authored Feb 29, 2024
2 parents c91102c + f4295e0 commit 66fffae
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions apps/spreadsheeteditor/main/app/controller/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
Expand Down
1 change: 1 addition & 0 deletions apps/spreadsheeteditor/main/app/controller/Toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
];

Expand Down
6 changes: 4 additions & 2 deletions apps/spreadsheeteditor/main/app/view/FileMenuPanels.js
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down Expand Up @@ -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'},
Expand Down
3 changes: 3 additions & 0 deletions apps/spreadsheeteditor/main/resources/less/leftmenu.less
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 66fffae

Please sign in to comment.