2001-07-13 11:50:39 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file FormSpellchecker.h
|
2002-09-05 15:14:23 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2001-07-13 11:50:39 +00:00
|
|
|
*
|
2002-09-05 14:10:50 +00:00
|
|
|
* \author Edwin Leuven
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2001-07-13 11:50:39 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMSPELLCHECKER_H
|
|
|
|
#define FORMSPELLCHECKER_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "FormBase.h"
|
|
|
|
|
|
|
|
class ControlSpellchecker;
|
2002-06-13 13:43:51 +00:00
|
|
|
struct FD_spellchecker;
|
2001-07-13 11:50:39 +00:00
|
|
|
|
|
|
|
/** This class provides an XForms implementation of the FormSpellchecker Dialog.
|
|
|
|
*/
|
2002-11-29 12:47:33 +00:00
|
|
|
class FormSpellchecker
|
|
|
|
: public FormCB<ControlSpellchecker, FormDB<FD_spellchecker> > {
|
2001-07-13 11:50:39 +00:00
|
|
|
public:
|
|
|
|
///
|
2002-08-12 14:28:43 +00:00
|
|
|
FormSpellchecker();
|
2001-07-13 11:50:39 +00:00
|
|
|
private:
|
|
|
|
/// not needed.
|
2002-11-19 19:18:11 +00:00
|
|
|
virtual void apply() {}
|
2001-07-13 11:50:39 +00:00
|
|
|
/// Build the dialog
|
2002-11-19 19:18:11 +00:00
|
|
|
virtual void build();
|
2003-02-17 18:40:04 +00:00
|
|
|
/// not needed.
|
|
|
|
virtual void update() {}
|
2001-07-17 09:00:17 +00:00
|
|
|
|
2002-10-25 09:16:22 +00:00
|
|
|
/// set suggestions and exit message
|
2002-11-19 19:18:11 +00:00
|
|
|
virtual void partialUpdate(int);
|
2001-07-13 11:50:39 +00:00
|
|
|
|
|
|
|
/// Filter the inputs
|
|
|
|
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FORMSPELLCHECKER_H
|