From c3c2519bee85700d78baa9bd63ca9f59946b5361 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 8 Oct 2021 19:54:58 +0300 Subject: [PATCH] [DE] Download as oform and docxf --- .../main/resources/img/doc-formats/docxf.svg | 8 ++++++++ .../main/resources/img/doc-formats/oform.svg | 18 ++++++++++++++++++ .../main/app/view/FileMenuPanels.js | 6 ++++++ apps/documenteditor/main/index.html | 2 ++ apps/documenteditor/main/index.html.deploy | 2 ++ apps/documenteditor/main/index_loader.html | 2 ++ .../main/index_loader.html.deploy | 2 ++ 7 files changed, 40 insertions(+) create mode 100644 apps/common/main/resources/img/doc-formats/docxf.svg create mode 100644 apps/common/main/resources/img/doc-formats/oform.svg diff --git a/apps/common/main/resources/img/doc-formats/docxf.svg b/apps/common/main/resources/img/doc-formats/docxf.svg new file mode 100644 index 000000000..4f92c33a4 --- /dev/null +++ b/apps/common/main/resources/img/doc-formats/docxf.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/apps/common/main/resources/img/doc-formats/oform.svg b/apps/common/main/resources/img/doc-formats/oform.svg new file mode 100644 index 000000000..9e2067a69 --- /dev/null +++ b/apps/common/main/resources/img/doc-formats/oform.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/apps/documenteditor/main/app/view/FileMenuPanels.js b/apps/documenteditor/main/app/view/FileMenuPanels.js index 979a3aefb..950979fed 100644 --- a/apps/documenteditor/main/app/view/FileMenuPanels.js +++ b/apps/documenteditor/main/app/view/FileMenuPanels.js @@ -64,6 +64,9 @@ define([ {name: 'RTF', imgCls: 'rtf', type: Asc.c_oAscFileType.RTF} ],[ {name: 'DOCM', imgCls: 'docm', type: Asc.c_oAscFileType.DOCM}, + {name: 'DOCXF', imgCls: 'docxf', type: Asc.c_oAscFileType.DOCXF}, + {name: 'OFORM', imgCls: 'oform', type: Asc.c_oAscFileType.OFORM} + ],[ {name: 'HTML (Zipped)', imgCls: 'html', type: Asc.c_oAscFileType.HTML}, {name: 'FB2', imgCls: 'fb2', type: Asc.c_oAscFileType.FB2}, {name: 'EPUB', imgCls: 'epub', type: Asc.c_oAscFileType.EPUB} @@ -137,6 +140,9 @@ define([ {name: 'RTF', imgCls: 'rtf', type: Asc.c_oAscFileType.RTF, ext: '.rtf'} ],[ {name: 'DOCM', imgCls: 'docm', type: Asc.c_oAscFileType.DOCM, ext: '.docm'}, + {name: 'DOCXF', imgCls: 'docxf', type: Asc.c_oAscFileType.DOCXF, ext: '.docxf'}, + {name: 'OFORM', imgCls: 'oform', type: Asc.c_oAscFileType.OFORM, ext: '.oform'} + ],[ {name: 'HTML (Zipped)', imgCls: 'html', type: Asc.c_oAscFileType.HTML, ext: '.html'}, {name: 'FB2', imgCls: 'fb2', type: Asc.c_oAscFileType.FB2, ext: '.fb2'}, {name: 'EPUB', imgCls: 'epub', type: Asc.c_oAscFileType.EPUB, ext: '.epub'} diff --git a/apps/documenteditor/main/index.html b/apps/documenteditor/main/index.html index 4e42d513a..8d72d3a61 100644 --- a/apps/documenteditor/main/index.html +++ b/apps/documenteditor/main/index.html @@ -316,6 +316,8 @@ + + diff --git a/apps/documenteditor/main/index.html.deploy b/apps/documenteditor/main/index.html.deploy index 7b6f06933..a3ec6e07f 100644 --- a/apps/documenteditor/main/index.html.deploy +++ b/apps/documenteditor/main/index.html.deploy @@ -310,6 +310,8 @@ + + diff --git a/apps/documenteditor/main/index_loader.html b/apps/documenteditor/main/index_loader.html index 1c9047bde..dd264349c 100644 --- a/apps/documenteditor/main/index_loader.html +++ b/apps/documenteditor/main/index_loader.html @@ -283,6 +283,8 @@ + + diff --git a/apps/documenteditor/main/index_loader.html.deploy b/apps/documenteditor/main/index_loader.html.deploy index 1a25ff3f2..3f60b2346 100644 --- a/apps/documenteditor/main/index_loader.html.deploy +++ b/apps/documenteditor/main/index_loader.html.deploy @@ -328,6 +328,8 @@ + +