1/*
2 SPDX-FileCopyrightText: 2009 Milian Wolff <mail@milianw.de>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef HTMLEXPORTER_H
8#define HTMLEXPORTER_H
9
10#include "abstractexporter.h"
11
12/// TODO: add abstract interface for future exporters
13class HTMLExporter : public AbstractExporter
14{
15public:
16 HTMLExporter(KTextEditor::View *view, QTextStream &output, const bool withHeaderFooter = false);
17 ~HTMLExporter() override;
18
19 void openLine() override;
20 void closeLine(const bool lastLine) override;
21 void exportText(const QString &text, const KTextEditor::Attribute::Ptr &attrib) override;
22};
23
24#endif
25

source code of ktexteditor/src/export/htmlexporter.h