3 * \file ControlSpellchecker.h
4 * See the file COPYING.
8 * Full author contact details are available in file CREDITS
11 #ifndef CONTROLSPELLCHECKER_H
12 #define CONTROLSPELLCHECKER_H
18 #include "ControlDialog_impl.h"
20 #include "WordLangTuple.h"
24 /** A controller for Spellchecker dialogs.
26 class ControlSpellchecker : public ControlDialogBD {
29 ControlSpellchecker(LyXView &, Dialogs &);
31 /// replace word with replacement
32 void replace(string const &);
34 /// replace all occurances of word
35 void replaceAll(string const &);
37 /// insert word in personal dictionary
40 /// ignore all occurances of word
46 /// check text until next misspelled/unknown word
50 string getSuggestion();
55 /// returns progress value
60 /// returns exit message
67 /// set the params before show or update
73 virtual void apply() {}
78 /// current word being checked and lang code
81 /// values for progress
92 /// set to true to stop checking
95 /// The actual spellchecker object
99 #endif // CONTROLSPELLCHECKER_H