File indexing completed on 2024-04-21 03:57:28
0001 /* 0002 SPDX-FileCopyrightText: 2009 Milian Wolff <mail@milianw.de> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef HTMLEXPORTER_H 0008 #define HTMLEXPORTER_H 0009 0010 #include "abstractexporter.h" 0011 0012 /// TODO: add abstract interface for future exporters 0013 class HTMLExporter : public AbstractExporter 0014 { 0015 public: 0016 HTMLExporter(KTextEditor::View *view, QTextStream &output, const bool withHeaderFooter = false); 0017 ~HTMLExporter() override; 0018 0019 void openLine() override; 0020 void closeLine(const bool lastLine) override; 0021 void exportText(const QString &text, const KTextEditor::Attribute::Ptr &attrib) override; 0022 }; 0023 0024 #endif