mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Add PptxTxtConverter to x2t
This commit is contained in:
@ -116,8 +116,9 @@ std::wstring CPptxTxtConverter::CPptxTxtConverterImpl::GetTextFromShape(const PP
|
||||
std::wstring text;
|
||||
text.reserve(knStringReserve);
|
||||
|
||||
for (const auto& paragraph : oShape.txBody->Paragrs)
|
||||
text += paragraph.GetText(true);
|
||||
if (oShape.txBody.IsInit())
|
||||
for (const auto& paragraph : oShape.txBody->Paragrs)
|
||||
text += paragraph.GetText(true);
|
||||
|
||||
return text; // RVO
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user