Contributor License Agreement

This commit is contained in:
Jakub Melka
2021-08-19 14:32:17 +02:00
parent 354a93f4d6
commit 78aca34b57
2 changed files with 1 additions and 0 deletions

View File

@@ -69,6 +69,7 @@ void AudioBookPlugin::onCreateTextStreamTriggered()
}
pdf::PDFDocumentTextFlowFactory factory;
factory.setCalculateBoundingBoxes(true);
pdf::PDFDocumentTextFlow textFlow = factory.create(m_document, pdf::PDFDocumentTextFlowFactory::Algorithm::Auto);
m_textFlowEditor.setTextFlow(std::move(textFlow));
}