mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-02-10 18:05:16 +08:00
[win-linux] support hwpml format to open
This commit is contained in:
@ -258,9 +258,9 @@ 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 *.md *.docxf *.oform *.sxw *.stw *.xps *.oxps *.pages *.hwp *.hwpx);;" +
|
||||
" (*.docx *.doc *.odt *.ott *.rtf *.docm *.dot *.dotx *.dotm *.fb2 *.fodt *.hml *.wps *.wpt *.xml *.pdf *.djv *.djvu *.md *.docxf *.oform *.sxw *.stw *.xps *.oxps *.pages *.hwp *.hwpx);;" +
|
||||
#else
|
||||
" (*.docx *.doc *.odt *.ott *.rtf *.docm *.dot *.dotx *.dotm *.fb2 *.fodt *.wps *.wpt *.xml *.pdf *.djv *.djvu *.md *.sxw *.stw *.xps *.oxps);;" +
|
||||
" (*.docx *.doc *.odt *.ott *.rtf *.docm *.dot *.dotx *.dotm *.fb2 *.fodt *.hml *.wps *.wpt *.xml *.pdf *.djv *.djvu *.md *.sxw *.stw *.xps *.oxps);;" +
|
||||
#endif
|
||||
tr("Spreadsheets") + " (*.xlsx *.xls *.xlsm *.xlsb *.ods *.ots *.xltx *.xltm *.xml *.fods *.et *.ett *.sxc *.numbers);;" +
|
||||
tr("Presentations") + " (*.pptx *.ppt *.odp *.odg *.otp *.ppsm *.pptm *.ppsx *.pps *.potx *.pot *.potm *.fodp *.dps *.dpt *.sxi *.key);;" +
|
||||
@ -359,7 +359,7 @@ QStringList CFileDialogWrapper::modalOpenPlugins(const QString& path)
|
||||
QStringList CFileDialogWrapper::modalOpenDocuments(const QString& path, bool multi)
|
||||
{
|
||||
QString filter = m_mapFilters[AVS_OFFICESTUDIO_FILE_UNKNOWN];
|
||||
filter.prepend(tr("Text documents") + " (*.docx *.doc *.odt *.ott *.rtf *.docm *.dotx *.dotm *.fb2 *.fodt *.wps *.wpt *.xml);;");
|
||||
filter.prepend(tr("Text documents") + " (*.docx *.doc *.odt *.ott *.rtf *.docm *.dotx *.dotm *.fb2 *.fodt *.hml *.wps *.wpt *.xml);;");
|
||||
|
||||
return modalOpen(path, filter, &filter, multi);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user