gui: PreviewGeneratorOdt: Adjust for DocumentProcessResult
这个提交包含在:
父节点
ead4b58aed
当前提交
667ed0cd8b
@ -24,7 +24,7 @@ QSharedPointer<PreviewResult> PreviewGeneratorOdt::generate(RenderConfig config,
|
||||
throw LooqsGeneralException("Error while reading content.xml of " + documentPath);
|
||||
}
|
||||
TagStripperProcessor tsp;
|
||||
QString content = tsp.process(entireContent).constFirst().content;
|
||||
QString content = tsp.process(entireContent).pages.constFirst().content;
|
||||
|
||||
PreviewGeneratorPlainText plainTextGenerator;
|
||||
result->setText(plainTextGenerator.generatePreviewText(content, config, info.fileName()));
|
||||
|
正在加载...
在新工单中引用
屏蔽一个用户