2022-04-24 12:30:31 +02:00
|
|
|
#ifndef PREVIEWGENERATORPLAINTEXT_H
|
|
|
|
#define PREVIEWGENERATORPLAINTEXT_H
|
|
|
|
#include "previewgenerator.h"
|
|
|
|
|
|
|
|
class PreviewGeneratorPlainText : public PreviewGenerator
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
using PreviewGenerator::PreviewGenerator;
|
2022-07-24 11:34:52 +02:00
|
|
|
QString generatePreviewText(QString content, RenderConfig config, QString fileName);
|
2022-05-27 09:28:21 +02:00
|
|
|
QSharedPointer<PreviewResult> generate(RenderConfig config, QString documentPath, unsigned int page);
|
2022-04-24 12:30:31 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // PREVIEWGENERATORPLAINTEXT_H
|