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
16 #include "ControlCommand.h"
18 #include "support/docstring.h"
24 namespace support { class FileFilterList; }
29 /** A controller for Bibtex dialogs.
31 class ControlBibtex : public ControlCommand {
34 ControlBibtex(Dialog &);
36 /// Browse for a .bib file
37 docstring const browseBib(docstring const & in_name) const;
39 /// Browse for a .bst file
40 docstring const browseBst(docstring const & in_name) const;
42 /// get the list of bst files
43 void getBibStyles(std::vector<std::string> & data) const;
44 /// get the list of bib files
45 void getBibFiles(std::vector<std::string> & data) const;
46 /// build filelists of all availabe bib/bst/cls/sty-files. done through
47 /// kpsewhich and an external script, saved in *Files.lst
48 void rescanBibStyles() const;
49 /// do we use bibtopic (for sectioned bibliography)?
50 bool usingBibtopic() const;
51 /// should we put the bibliography to the TOC?
52 bool bibtotoc() const;
53 /// which stylefile do we use?
54 std::string const getStylefile() const;
57 } // namespace frontend
60 #endif // CONTROLBIBTEX_H