]> git.lyx.org Git - features.git/blob - src/frontends/controllers/tex_helpers.h
Replace LString.h with support/std_string.h,
[features.git] / src / frontends / controllers / tex_helpers.h
1 // -*- C++ -*-
2 /**
3  * \file tex_helpers.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Herbert Voss
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef TEX_HELPERS_H
13 #define TEX_HELPERS_H
14
15
16 #include "support/std_string.h"
17 #include <utility>
18 #include <vector>
19
20
21 // build filelists of all availabe bst/cls/sty-files. done through
22 // kpsewhich and an external script, saved in *Files.lst
23 void rescanTexStyles();
24
25 /// rebuild the textree
26 void texhash();
27
28 /** Fill \c contents from one of the three texfiles.
29  *  Each entry in the file list is returned as a name_with_path
30  */
31 void getTexFileList(string const & filename, std::vector<string> & contents);
32
33 /// get the options of stylefile
34 string const getListOfOptions(string const & classname, string const & type);
35
36 /// get a class with full path from the list
37 string const getTexFileFromList(string const & classname, string const & type);
38
39 #endif // TEX_HELPERS_H