]> git.lyx.org Git - lyx.git/blob - src/mathed/MathFactory.h
f62f22d980f09b26b9a419e0e44830de9b2ce0d1
[lyx.git] / src / mathed / MathFactory.h
1 // -*- C++ -*-
2 /**
3  * \file MathFactory.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author André Pönitz
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef MATH_FACTORY_H
13 #define MATH_FACTORY_H
14
15 #include <map>
16
17 #include "MathParser.h"
18
19 #include "support/strfwd.h"
20
21 using std::map;
22
23 namespace lyx {
24
25 class MathAtom;
26 class MathData;
27
28
29 MathAtom createInsetMath(docstring const &);
30 MathAtom createInsetMath(char const * const);
31
32 /** Fills ar with the contents of str.
33  *  str is created by the frontend dialog's and returned to the LyX core.
34  *  The function returns true if successful.
35  */
36 bool createInsetMath_fromDialogStr(docstring const &, MathData &);
37
38 typedef map<docstring, latexkeys> MathWordList;
39 MathWordList const & mathedWordList();
40
41 } // namespace lyx
42
43 #endif