mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-02-10 18:05:16 +08:00
[all] support "keynotes" "pages" "numbers" formats for open
This commit is contained in:
@ -70,15 +70,15 @@
|
||||
+ (NSArray *)documents {
|
||||
return @[@"docx", @"doc", @"odt", @"ott", @"rtf", @"docm", @"dot", @"dotx", @"dotm", @"docxf", @"fodt", @"wps", @"wpt",
|
||||
@"xml", @"pdf", @"epub", @"djv", @"djvu", @"txt", @"html", @"htm", @"mht", @"mhtml", @"xps", @"doctx",
|
||||
@"fb2", @"oform", @"sxw", @"stw", @"md"];
|
||||
@"fb2", @"oform", @"sxw", @"stw", @"md", @"pages"];
|
||||
}
|
||||
|
||||
+ (NSArray *)spreadsheets {
|
||||
return @[@"xls", @"xlsx", @"xlsm", @"xlsb", @"csv", @"ods", @"xltx", @"ots", @"xltm", @"xml", @"fods", @"et", @"ett", @"sxc"];
|
||||
return @[@"xls", @"xlsx", @"xlsm", @"xlsb", @"csv", @"ods", @"xltx", @"ots", @"xltm", @"xml", @"fods", @"et", @"ett", @"sxc",@"numbers"];
|
||||
}
|
||||
|
||||
+ (NSArray *)presentations {
|
||||
return @[@"ppt", @"pptx", @"pptm", @"ppsx", @"odp", @"potx", @"otp", @"pps", @"ppsm", @"potm", @"fodp", @"dps", @"dpt", @"sxi"];
|
||||
return @[@"ppt", @"pptx", @"pptm", @"ppsx", @"odp", @"potx", @"otp", @"pps", @"ppsm", @"potm", @"fodp", @"dps", @"dpt", @"sxi",@"key"];
|
||||
}
|
||||
|
||||
+ (NSArray *)cancryptformats {
|
||||
|
||||
@ -243,12 +243,13 @@ QStringList CFileDialogWrapper::modalOpen(const QString& path, const QString& fi
|
||||
// _filter_ = joinFilters();
|
||||
_filter_ = tr("Text documents") +
|
||||
#ifndef __LOCK_OFORM_FORMATS
|
||||
" (*.docx *.doc *.odt *.ott *.rtf *.docm *.dot *.dotx *.dotm *.fb2 *.fodt *.wps *.wpt *.xml *.pdf *.djv *.djvu *.docxf *.oform *.sxw *.stw *.xps *.oxps);;" +
|
||||
" (*.docx *.doc *.odt *.ott *.rtf *.docm *.dot *.dotx *.dotm *.fb2 *.fodt *.wps *.wpt *.xml *.pdf *.djv *.djvu *.docxf *.oform *.sxw *.stw *.xps *.oxps *.pages);;" +
|
||||
#else
|
||||
" (*.docx *.doc *.odt *.ott *.rtf *.docm *.dot *.dotx *.dotm *.fb2 *.fodt *.wps *.wpt *.xml *.pdf *.djv *.djvu *.sxw *.stw *.xps *.oxps);;" +
|
||||
#endif
|
||||
tr("Spreadsheets") + " (*.xlsx *.xls *.xlsm *.xlsb *.ods *.ots *.xltx *.xltm *.xml *.fods *.et *.ett *.sxc);;" +
|
||||
tr("Presentations") + " (*.pptx *.ppt *.odp *.otp *.ppsm *.pptm *.ppsx *.pps *.potx *.pot *.potm *.fodp *.dps *.dpt *.sxi);;" +
|
||||
tr("Spreadsheets") + " (*.xlsx *.xls *.xlsm *.xlsb *.ods *.ots *.xltx *.xltm *.xml *.fods *.et *.ett *.sxc *.numbers);;" +
|
||||
tr("Presentations") + " (*.pptx *.ppt *.odp *.otp *.ppsm *.pptm *.ppsx *.pps *.potx *.pot *.potm *.fodp *.dps *.dpt *.sxi *.key);;" +
|
||||
tr("Visio diagram") + " (*.vsdx *.vssx *.vstx *.vsdm *.vssm *.vstm);;" +
|
||||
tr("Web Page") + " (*.html *.htm *.mht *.mhtml *.epub);;" +
|
||||
tr("Text files") + " (*.txt *.csv)";
|
||||
//#ifdef __linux__
|
||||
|
||||
Reference in New Issue
Block a user