3 * \file xforms/FormCitation.h
4 * Copyright 2000-2002 the LyX Team
5 * Read the file COPYING
7 * \author Angus Leeming, a.leeming@ic.ac.uk
10 #ifndef FORMCITATION_H
11 #define FORMCITATION_H
20 /** This class provides an XForms implementation of the Citation Dialog.
22 class ControlCitation;
25 class FormCitation : public FormCB<ControlCitation, FormDB<FD_citation> > {
28 FormCitation(ControlCitation &, Dialogs &);
38 /// Set the Params variable for the Controller.
44 /// Update dialog before/whilst showing it.
45 virtual void update();
46 /// Filter the inputs on callback from xforms
47 virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
49 /// search for a citation
50 void findBiblio(biblio::Direction const dir);
53 void updateBrowser(FL_OBJECT *, std::vector<string> const &) const;
55 void setBibButtons(State) const;
57 void setCiteButtons(State) const;
60 std::vector<string> citekeys;
62 std::vector<string> bibkeys;
65 #endif // FORMCITATION_H