mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
Merge pull request 'iss: add association with .pages, .numbers, .key' (#112) from feature/additional-formats into release/v8.3.0
This commit is contained in:
@ -36,6 +36,9 @@
|
||||
#define IDI_ICON36 136
|
||||
#define IDI_ICON37 137
|
||||
#define IDI_ICON38 138
|
||||
#define IDI_ICON39 139
|
||||
#define IDI_ICON40 140
|
||||
#define IDI_ICON41 141
|
||||
|
||||
#define IDS_DOCX 1000
|
||||
#define IDS_XLSX 1001
|
||||
|
||||
@ -39,6 +39,9 @@ IDI_ICON35 ICON DISCARDABLE "./res/icons/fods.ico"
|
||||
IDI_ICON36 ICON DISCARDABLE "./res/icons/fodt.ico"
|
||||
IDI_ICON37 ICON DISCARDABLE "./res/icons/vsdx.ico"
|
||||
IDI_ICON38 ICON DISCARDABLE "./res/icons/xlsm.ico"
|
||||
IDI_ICON39 ICON DISCARDABLE "./res/icons/pages.ico"
|
||||
IDI_ICON40 ICON DISCARDABLE "./res/icons/numbers.ico"
|
||||
IDI_ICON41 ICON DISCARDABLE "./res/icons/key.ico"
|
||||
|
||||
#include <windows.h>
|
||||
#include "src/version.h"
|
||||
|
||||
@ -1439,6 +1439,13 @@ en.extFODS =OpenDocument Flat XML Spreadsheet
|
||||
en.extFODT =OpenDocument Flat XML Document
|
||||
|
||||
en.extVSDX =Visio Drawing
|
||||
|
||||
en.extPAGES =Apple Pages text document
|
||||
|
||||
en.extNUMBERS =Apple Numbers spreadsheet
|
||||
|
||||
en.extKEY =Apple Keynotes presentation
|
||||
|
||||
;======================================================================================================
|
||||
|
||||
en.jumpDOCX =New document
|
||||
@ -1869,9 +1876,9 @@ var
|
||||
prefix: string;
|
||||
begin
|
||||
#ifdef _ONLYOFFICE
|
||||
SetArrayLength(AudioExts, 28);
|
||||
SetArrayLength(AudioExts, 31);
|
||||
#else
|
||||
SetArrayLength(AudioExts, 27);
|
||||
SetArrayLength(AudioExts, 30);
|
||||
#endif
|
||||
SetArrayLength(AudioExtEnabled, GetArrayLength(AudioExts));
|
||||
|
||||
@ -1903,8 +1910,11 @@ begin
|
||||
AudioExts[24] := 'FODT';
|
||||
AudioExts[25] := 'VSDX';
|
||||
AudioExts[26] := 'XLSM';
|
||||
AudioExts[27] := 'PAGES';
|
||||
AudioExts[28] := 'NUMBERS';
|
||||
AudioExts[29] := 'KEY';
|
||||
#ifdef _ONLYOFFICE
|
||||
AudioExts[27] := 'DOCXF';
|
||||
AudioExts[30] := 'DOCXF';
|
||||
#endif
|
||||
|
||||
SetArrayLength(ExtensionRegistryInfo, GetArrayLength(AudioExts));
|
||||
@ -1939,8 +1949,11 @@ begin
|
||||
ExtensionRegistryInfo[24] := prefix + 'Fodt:' + ExpandConstant('{cm:extFODT}') + ':' + '35';
|
||||
ExtensionRegistryInfo[25] := prefix + 'Vsdx:' + ExpandConstant('{cm:extVSDX}') + ':' + '36';
|
||||
ExtensionRegistryInfo[26] := prefix + 'Xlsm:' + ExpandConstant('{cm:extXLSM}') + ':' + '37';
|
||||
ExtensionRegistryInfo[27] := prefix + 'Pages:' + ExpandConstant('{cm:extPAGES}') + ':' + '38';
|
||||
ExtensionRegistryInfo[28] := prefix + 'Numbers:' + ExpandConstant('{cm:extNUMBERS}') + ':' + '39';
|
||||
ExtensionRegistryInfo[29] := prefix + 'Key:' + ExpandConstant('{cm:extKEY}') + ':' + '40';
|
||||
#ifdef _ONLYOFFICE
|
||||
ExtensionRegistryInfo[27] := prefix + 'Docxf:' + ExpandConstant('{cm:extDOCXF}') + ':' + '13';
|
||||
ExtensionRegistryInfo[30] := prefix + 'Docxf:' + ExpandConstant('{cm:extDOCXF}') + ':' + '13';
|
||||
#endif
|
||||
end;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user