3 * Copyright 2001 The LyX Team.
4 * See the file COPYING.
14 struct FD_form_search;
18 /** This class provides an XForms implementation of the FormSearch Dialog.
20 class FormSearch : public FormBaseBD {
23 FormSearch(LyXView *, Dialogs *);
28 /** Redraw the form (on receipt of a Signal indicating, for example,
29 * that the xform colours have been re-mapped).
33 virtual bool input(FL_OBJECT *, long);
39 virtual void update();
41 /// Searches occurance of string
42 /// if argument=true forward search otherwise backward search
43 void Find(bool const = true);
44 /// if argument=false replace once otherwise replace all
45 /// Replaces occurance of string
46 void Replace(bool const = false);
49 virtual FL_FORM * form() const;
51 /// Typedefinitions from the fdesign produced Header file
52 FD_form_search * build_search();
54 /// Real GUI implementation.
55 FD_form_search * dialog_;