2001-03-19 16:37:01 +00:00
|
|
|
// -*- C++ -*-
|
2002-09-05 14:10:50 +00:00
|
|
|
/**
|
|
|
|
* \file ControlBibtex.h
|
2002-09-05 15:14:23 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2001-03-19 16:37:01 +00:00
|
|
|
*
|
2002-09-05 14:10:50 +00:00
|
|
|
* \author John Levon
|
|
|
|
* \author Angus Leeming
|
2001-03-19 16:37:01 +00:00
|
|
|
*
|
2002-09-05 14:10:50 +00:00
|
|
|
* Full author contact details are available in file CREDITS
|
2001-03-19 16:37:01 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CONTROLBIBTEX_H
|
|
|
|
#define CONTROLBIBTEX_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "ControlCommand.h"
|
|
|
|
|
2003-02-25 14:51:38 +00:00
|
|
|
|
2001-03-19 16:37:01 +00:00
|
|
|
/** A controller for Bibtex dialogs.
|
|
|
|
*/
|
2002-10-21 17:38:09 +00:00
|
|
|
class ControlBibtex : public ControlCommand {
|
2001-03-19 16:37:01 +00:00
|
|
|
public:
|
|
|
|
///
|
2003-02-25 14:51:38 +00:00
|
|
|
ControlBibtex(Dialog &);
|
|
|
|
|
2001-08-20 13:39:29 +00:00
|
|
|
/// Browse for a file
|
|
|
|
string const Browse(string const &, string const &, string const &);
|
2002-06-20 20:41:00 +00:00
|
|
|
/// get the list of bst files
|
|
|
|
string const getBibStyles() const;
|
2003-02-14 17:23:50 +00:00
|
|
|
/// get the list of bib files
|
|
|
|
string const getBibFiles() const;
|
|
|
|
/// build filelists of all availabe bib/bst/cls/sty-files. done through
|
2002-06-20 20:41:00 +00:00
|
|
|
/// kpsewhich and an external script, saved in *Files.lst
|
|
|
|
void rescanBibStyles() const;
|
2001-03-19 16:37:01 +00:00
|
|
|
};
|
|
|
|
|
2003-02-25 14:51:38 +00:00
|
|
|
|
2001-03-19 16:37:01 +00:00
|
|
|
#endif // CONTROLBIBTEX_H
|