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