KTextEditor

htmlexporter.h
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
TODO: add abstract interface for future exporters.
A text widget with KXMLGUIClient that represents a Document.
Definition view.h:244
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:56 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.