3 * \file xforms/FormCitation.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 FORMCITATION_H
13 #define FORMCITATION_H
22 /** This class provides an XForms implementation of the Citation Dialog.
24 class ControlCitation;
27 class FormCitation : public FormCB<ControlCitation, FormDB<FD_citation> > {
40 /// Set the Params variable for the Controller.
46 /// Update dialog before/whilst showing it.
47 virtual void update();
48 /// Filter the inputs on callback from xforms
49 virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
51 /// search for a citation
52 void findBiblio(biblio::Direction const dir);
55 void updateBrowser(FL_OBJECT *, std::vector<string> const &) const;
57 void setBibButtons(State) const;
59 void setCiteButtons(State) const;
62 std::vector<string> citekeys;
64 std::vector<string> bibkeys;
67 #endif // FORMCITATION_H