• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

Kate

Public Member Functions

HTMLExporter Class Reference

This file is part of the KDE libraries Copyright (C) 2009 Milian Wolff <mail@milianw.de> More...

#include <htmlexporter.h>

Inheritance diagram for HTMLExporter:
Inheritance graph
[legend]

List of all members.

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]

Begin a new line.

Implements AbstractExporter.

Definition at line 69 of file htmlexporter.cpp.


The documentation for this class was generated from the following files:
  • htmlexporter.h
  • htmlexporter.cpp

Kate

Skip menu "Kate"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal