1 /* This file is part of
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright 2001 The LyX Team.
8 * ======================================================
10 * \file ControlSearch.h
11 * \author Angus Leeming <a.leeming@ic.ac.uk>
14 #ifndef CONTROLSEARCH_H
15 #define CONTROLSEARCH_H
21 #include "ControlDialogs.h"
23 /** A controller for Search dialogs.
25 class ControlSearch : public ControlDialog<ControlConnectBD> {
28 ControlSearch(LyXView &, Dialogs &);
30 /// Searches occurence of string
31 void find(string const & search,
32 bool casesensitive, bool matchword, bool forward) const;
34 /// Replaces occurence of string
35 void replace(string const & search, string const & replace,
36 bool casesensitive, bool matchword, bool all) const;
40 virtual void apply() {}
42 virtual void clearDaughterParams() {}
45 #endif // CONTROLSEARCH_H