KParts
textextension.cpp
virtual QString pageText(Format format) const
Returns the text in a given page, in the requested format.
Definition: textextension.cpp:56
static TextExtension * childObject(QObject *obj)
Queries obj for a child object which inherits from this TextExtension class.
Definition: textextension.cpp:41
virtual QString selectedText(Format format) const
Returns the selected text, in the requested format.
Definition: textextension.cpp:31
virtual QString completeText(Format format) const
Returns the complete text shown in the part, in the requested format.
Definition: textextension.cpp:36
An extension for KParts that allows to retrieve text from the part.
Definition: textextension.h:33
FindDirectChildrenOnly
T findChild(const QString &name, Qt::FindChildOptions options) const const
virtual bool findText(const QString &string, KFind::SearchOptions options) const
Returns true if string is found using the given options.
Definition: textextension.cpp:61
virtual bool hasSelection() const
Returns true if the user selected text in the part.
Definition: textextension.cpp:26
virtual int currentPage() const
Returns the current page (between 0 and pageCount()-1), for parts who support the concept of pages.
Definition: textextension.cpp:51
virtual int pageCount() const
Returns the number of pages, for parts who support the concept of pages.
Definition: textextension.cpp:46
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue Aug 9 2022 03:51:33 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue Aug 9 2022 03:51:33 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.