3 * \file ControlSearch.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
9 * Full author contact details are available in file CREDITS.
12 #ifndef CONTROLSEARCH_H
13 #define CONTROLSEARCH_H
16 #include "ControlDialog_impl.h"
18 /** A controller for Search dialogs.
20 class ControlSearch : public ControlDialogBD {
23 ControlSearch(LyXView &, Dialogs &);
25 /// Searches occurence of string
26 void find(std::string const & search,
27 bool casesensitive, bool matchword, bool forward);
29 /// Replaces occurence of string
30 void replace(std::string const & search, std::string const & replace,
31 bool casesensitive, bool matchword,
32 bool forward, bool all);
35 virtual void apply() {}
38 #endif // CONTROLSEARCH_H