2013-02-18 23:22:16 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* Copyright (C) 2013 by Azat Khuzhin <a3at.mail@gmail.com> *
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef TXT_CONVERTER_H
|
|
|
|
#define TXT_CONVERTER_H
|
|
|
|
|
|
|
|
#include <core/document.h>
|
|
|
|
#include <core/textdocumentgenerator.h>
|
|
|
|
|
|
|
|
namespace Txt
|
|
|
|
{
|
|
|
|
class Converter : public Okular::TextDocumentConverter
|
|
|
|
{
|
2016-10-29 14:32:24 +00:00
|
|
|
Q_OBJECT
|
|
|
|
|
2013-02-18 23:22:16 +00:00
|
|
|
public:
|
|
|
|
Converter();
|
2019-12-18 11:51:13 +00:00
|
|
|
~Converter() override;
|
2013-02-18 23:22:16 +00:00
|
|
|
|
2017-03-02 19:39:24 +00:00
|
|
|
QTextDocument *convert(const QString &fileName) override;
|
2013-02-18 23:22:16 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|