gui: Begin support to also preview results in plain text files

This commit is contained in:
2022-04-24 12:30:31 +02:00
parent 59aa02f0cd
commit d73674937d
5 changed files with 147 additions and 0 deletions

View File

@ -0,0 +1,12 @@
#ifndef PREVIEWGENERATORPLAINTEXT_H
#define PREVIEWGENERATORPLAINTEXT_H
#include "previewgenerator.h"
class PreviewGeneratorPlainText : public PreviewGenerator
{
public:
using PreviewGenerator::PreviewGenerator;
PreviewResult *generate(RenderConfig config, QString documentPath, unsigned int page);
};
#endif // PREVIEWGENERATORPLAINTEXT_H