4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
10 * Full author contact details are available in file CREDITS.
17 #include "FormDialogView.h"
18 #include "RadioButtonGroup.h"
25 * For bibtex database setting
27 class FormBibtex : public FormController<ControlBibtex, FormView<FD_bibtex> > {
32 enum PathStyle {ABSOLUTE_PATH = 1,
37 /// Set the Params variable for the Controller.
41 /// Update dialog before/whilst showing it.
42 virtual void update();
43 /// Filter the inputs on callback from xforms
44 virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
46 ButtonPolicy::SMInput add_database();
47 ButtonPolicy::SMInput browser_add_db(string const & name);
48 ButtonPolicy::SMInput browser_selected();
49 ButtonPolicy::SMInput browser_double_click();
50 ButtonPolicy::SMInput browser_delete();
51 ButtonPolicy::SMInput set_path(PathStyle);
52 ButtonPolicy::SMInput database_browse();
53 ButtonPolicy::SMInput style_browse();
54 void browser_deactivated();
56 void input_database();
58 RadioButtonGroup storage_;
59 std::vector<string> bib_files_;
60 std::vector<string> bib_files_namesonly_;
63 #endif // FORMBIBTEX_H