mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Support pdf/xps/djvu when test with ST
This commit is contained in:
@ -94,6 +94,10 @@ public:
|
||||
m_formats.insert(std::make_pair<int, bool>(AVS_OFFICESTUDIO_FILE_SPREADSHEET_ODS, true));
|
||||
m_formats.insert(std::make_pair<int, bool>(AVS_OFFICESTUDIO_FILE_SPREADSHEET_CSV, true));
|
||||
|
||||
m_formats.insert(std::make_pair<int, bool>(AVS_OFFICESTUDIO_FILE_CROSSPLATFORM_PDF, true));
|
||||
m_formats.insert(std::make_pair<int, bool>(AVS_OFFICESTUDIO_FILE_CROSSPLATFORM_XPS, true));
|
||||
m_formats.insert(std::make_pair<int, bool>(AVS_OFFICESTUDIO_FILE_CROSSPLATFORM_DJVU, true));
|
||||
|
||||
m_nCount = 0;
|
||||
m_nCurrent = 0;
|
||||
m_nCurrentComplete = 0;
|
||||
@ -125,8 +129,9 @@ public:
|
||||
std::wstring sExt = NSFile::GetFileExtention(*iter);
|
||||
|
||||
if (sExt == L"docx" || sExt == L"doc" || sExt == L"odt" || sExt == L"rtf" || sExt == L"docxf" || sExt == L"oform" ||
|
||||
sExt == L"pptx" || sExt == L"ppt" || sExt == L"odp" ||
|
||||
sExt == L"xlsx" || sExt == L"xls" || sExt == L"ods")
|
||||
sExt == L"pptx" || sExt == L"ppt" || sExt == L"odp" ||
|
||||
sExt == L"xlsx" || sExt == L"xls" || sExt == L"ods" ||
|
||||
sExt == L"pdf" || sExt == L"xps" || sExt == L"djvu")
|
||||
{
|
||||
m_files.push_back(*iter);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user