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 &);
39 /// Set the Params variable for the Controller.
45 /// Update dialog before/whilst showing it.
46 virtual void update();
47 /// Filter the inputs on callback from xforms
48 virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
50 /// search for a citation
51 void findBiblio(biblio::Direction const dir);
54 void updateBrowser(FL_OBJECT *, std::vector<string> const &) const;
56 void setBibButtons(State) const;
58 void setCiteButtons(State) const;
61 std::vector<string> citekeys;
63 std::vector<string> bibkeys;
66 #endif // FORMCITATION_H