From ff39d0f20ca398ff72a854c9b495eb82fa35407d Mon Sep 17 00:00:00 2001 From: maxkadushkin Date: Fri, 5 May 2023 16:44:20 +0300 Subject: [PATCH] [all] fix bug 62422 --- macos/ONLYOFFICE/Code/Utils/ASCConstants.m | 2 +- win-linux/src/components/cfiledialog.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/macos/ONLYOFFICE/Code/Utils/ASCConstants.m b/macos/ONLYOFFICE/Code/Utils/ASCConstants.m index 868c5039c..58eb49318 100644 --- a/macos/ONLYOFFICE/Code/Utils/ASCConstants.m +++ b/macos/ONLYOFFICE/Code/Utils/ASCConstants.m @@ -74,7 +74,7 @@ } + (NSArray *)spreadsheets { - return @[@"xls", @"xlsx", @"csv", @"ods", @"xltx", @"ots", @"xltm", @"fods", @"et", @"ett", @"sxc"]; + return @[@"xls", @"xlsx", @"csv", @"ods", @"xltx", @"ots", @"xltm", @"xml", @"fods", @"et", @"ett", @"sxc"]; } + (NSArray *)presentations { diff --git a/win-linux/src/components/cfiledialog.cpp b/win-linux/src/components/cfiledialog.cpp index d654d3977..b736e5cd9 100644 --- a/win-linux/src/components/cfiledialog.cpp +++ b/win-linux/src/components/cfiledialog.cpp @@ -251,7 +251,7 @@ QStringList CFileDialogWrapper::modalOpen(const QString& path, const QString& fi #else " (*.docx *.doc *.odt *.ott *.rtf *.docm *.dotx *.dotm *.fb2 *.fodt *.wps *.wpt *.xml *.pdf *.djv *.djvu *.sxw *.stw);;" + #endif - tr("Spreadsheets") + " (*.xlsx *.xls *.ods *.ots *.xltx *.xltm *.fods *.et *.ett *.sxc);;" + + tr("Spreadsheets") + " (*.xlsx *.xls *.ods *.ots *.xltx *.xltm *.xml *.fods *.et *.ett *.sxc);;" + tr("Presentations") + " (*.pptx *.ppt *.odp *.otp *.ppsm *.ppsx *.pps *.potx *.pot *.potm *.fodp *.dps *.dpt *.sxi);;" + tr("Web Page") + " (*.html *.htm *.mht *.mhtml *.epub);;" + tr("Text files") + " (*.txt *.csv)";