Add pdf/pptx -> txt convertion in x2ttester

This commit is contained in:
Alexey Nagaev
2025-09-30 08:24:20 +03:00
parent 87e4738481
commit 2f6b41d06a

View File

@ -666,6 +666,8 @@ void Cx2tTester::Convert(const std::vector<std::wstring>& files, bool bNoDirecto
|| (ext == L"docx" && input_ext == L"xps") || (ext == L"docx" && input_ext == L"xps")
// pdf -> docx // pdf -> docx
|| (ext == L"docx" && m_inputFormatsList.IsPdf(input_ext)) || (ext == L"docx" && m_inputFormatsList.IsPdf(input_ext))
// pdf/pptx -> txt
|| (ext == L"txt" && (input_ext == L"pdf" || input_ext == L"pptx"))
// all formats -> images // all formats -> images
|| m_outputFormatsList.IsImage(ext) || m_outputFormatsList.IsImage(ext)
// all formats -> pdf // all formats -> pdf