2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2001 The LyX Team.
9 * ======================================================
11 * \file ControlSearch.h
12 * \author Angus Leeming <leeming@lyx.org>
15 #ifndef CONTROLSEARCH_H
16 #define CONTROLSEARCH_H
22 #include "ControlDialog_impl.h"
25 /** A controller for Search dialogs.
27 class ControlSearch : public ControlDialogBD {
30 ControlSearch(LyXView &, Dialogs &);
32 /// Searches occurence of string
33 void find(string const & search,
34 bool casesensitive, bool matchword, bool forward);
36 /// Replaces occurence of string
37 void replace(string const & search, string const & replace,
38 bool casesensitive, bool matchword, bool all);
42 virtual void apply() {}
45 #endif // CONTROLSEARCH_H