3 * \file ControlBibtex.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Angus Leeming
10 * Full author contact details are available in file CREDITS.
13 #ifndef CONTROLBIBTEX_H
14 #define CONTROLBIBTEX_H
17 #include "ControlCommand.h"
26 } // namespace support
30 /** A controller for Bibtex dialogs.
32 class ControlBibtex : public ControlCommand {
35 ControlBibtex(Dialog &);
38 std::string const browse(std::string const & in_name,
39 std::string const & title,
40 lyx::support::FileFilterList const & filters) const;
41 /// get the list of bst files
42 void getBibStyles(std::vector<std::string> & data) const;
43 /// get the list of bib files
44 void getBibFiles(std::vector<std::string> & data) const;
45 /// build filelists of all availabe bib/bst/cls/sty-files. done through
46 /// kpsewhich and an external script, saved in *Files.lst
47 void rescanBibStyles() const;
48 /// do we use bibtopic (for sectioned bibliography)?
49 bool usingBibtopic() const;
53 #endif // CONTROLBIBTEX_H