HTMLExporter Class Reference
This file is part of the KDE libraries Copyright (C) 2009 Milian Wolff <mail@milianw.de> More...
#include <htmlexporter.h>

Public Member Functions | |
| HTMLExporter (KTextEditor::View *view, QTextStream &output, const bool withHeaderFooter=false) | |
| virtual | ~HTMLExporter () |
| virtual void | closeLine (const bool lastLine) |
| virtual void | exportText (const QString &text, const KTextEditor::Attribute::Ptr &attrib) |
| virtual void | openLine () |
Detailed Description
This file is part of the KDE libraries Copyright (C) 2009 Milian Wolff <mail@milianw.de>
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License version 2 as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. TODO: add abstract interface for future exporters
Definition at line 26 of file htmlexporter.h.
Constructor & Destructor Documentation
| HTMLExporter::HTMLExporter | ( | KTextEditor::View * | view, |
| QTextStream & | output, | ||
| const bool | encapsulate = false |
||
| ) |
This file is part of the KDE libraries Copyright (C) 2009 Milian Wolff <mail@milianw.de> Copyright (C) 2002 John Firebaugh <jfirebaugh@kde.org> Copyright (C) 2001 Christoph Cullmann <cullmann@kde.org> Copyright (C) 2001 Joseph Wenninger <jowenn@kde.org> Copyright (C) 1999 Jochen Wilhelmy <digisnap@cs.tu-berlin.de>
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License version 2 as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Definition at line 30 of file htmlexporter.cpp.
| HTMLExporter::~HTMLExporter | ( | ) | [virtual] |
Definition at line 59 of file htmlexporter.cpp.
Member Function Documentation
| void HTMLExporter::closeLine | ( | const bool | lastLine | ) | [virtual] |
Finish the current line.
Implements AbstractExporter.
Definition at line 73 of file htmlexporter.cpp.
| void HTMLExporter::exportText | ( | const QString & | text, |
| const KTextEditor::Attribute::Ptr & | attrib | ||
| ) | [virtual] |
Export text with given text attribute attrib.
NOTE: Check attrib, it might be null for KTextEditors that do not implement the HighlightInterface.
Implements AbstractExporter.
Definition at line 81 of file htmlexporter.cpp.
| void HTMLExporter::openLine | ( | ) | [virtual] |
The documentation for this class was generated from the following files:
KDE 4.6 API Reference