23#include <tqstringlist.h>
26#include <tdespell2/backgroundchecker.h>
27#include <koffice_export.h>
45class KOTEXT_EXPORT KoSpell : public KSpell2::BackgroundChecker
51 KoSpell( const KSpell2::Broker::Ptr& broker, TQObject *parent =0,
52 const char *name =0 );
62 bool checking() const;
72 virtual bool check( KoTextParag *parag );
73 virtual bool checkWordInParagraph( KoTextParag *parag, int pos,
74 TQString& word, int& start );
76 KoTextParag *currentParag() const;
78 int currentStartIndex() const;
80 KoTextDocument *textDocument() const;
85 KSpell2::Settings *settings() const;
88 void slotCurrentParagraphDeleted();
96 void aboutToFeedText();
99 virtual TQString getMoreText();
100 virtual void finishedCurrentFeed();
KOffice spell checking object Used for both spell-checking-with-a-dialog (directly) and background sp...
void paragraphChecked(KoTextParag *) Emitted after a paragraph has been checked.
A convenient way to iterate over paragraphs, possibly in multiple textobjects, with many options (fro...
The KoTextObject is the high-level object that contains a KoTextDocument (the list of paragraphs),...
|