]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/tex_helpers.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.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 Voß
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 #include <string>
16 #include <vector>
17
18 namespace lyx {
19 namespace frontend {
20
21 /** Build filelists of all availabe bst/cls/sty-files. Done through
22  *  kpsewhich and an external script, saved in *Files.lst.
23  */
24 void rescanTexStyles();
25
26 /// rebuild the textree
27 void texhash();
28
29 /** Fill \c contents from one of the three texfiles.
30  *  Each entry in the file list is returned as a name_with_path
31  */
32 void getTexFileList(std::string const & filename, std::vector<std::string> & contents);
33
34 /// get the options of stylefile
35 std::string const getListOfOptions(std::string const & classname, std::string const & type);
36
37 /// get a class with full path from the list
38 std::string const getTexFileFromList(std::string const & classname, std::string const & type);
39
40 } // namespace frontend
41 } // namespace lyx
42
43 #endif // TEX_HELPERS_H