KParts
textextension.cpp
Go to the documentation of this file.
virtual int pageCount() const
Returns the number of pages, for parts who support the concept of pages.
Definition: textextension.cpp:53
TextExtension(KParts::ReadOnlyPart *parent)
Definition: textextension.cpp:24
virtual QString selectedText(Format format) const
Returns the selected text, in the requested format.
Definition: textextension.cpp:38
virtual QString completeText(Format format) const
Returns the complete text shown in the part, in the requested format.
Definition: textextension.cpp:43
virtual bool hasSelection() const
Returns true if the user selected text in the part.
Definition: textextension.cpp:33
virtual bool findText(const QString &string, KFind::SearchOptions options) const
Returns true if string is found using the given options.
Definition: textextension.cpp:68
static TextExtension * childObject(QObject *obj)
Queries obj for a child object which inherits from this TextExtension class.
Definition: textextension.cpp:48
virtual int currentPage() const
Returns the current page (between 0 and pageCount()-1), for parts who support the concept of pages...
Definition: textextension.cpp:58
an extension for KParts that allows to retrieve text from the part.
Definition: textextension.h:42
virtual QString pageText(Format format) const
Returns the text in a given page, in the requested format.
Definition: textextension.cpp:63
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.