4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef MATH_FACTORY_H
13 #define MATH_FACTORY_H
15 #include "MathParser.h"
17 #include "support/strfwd.h"
27 MathAtom createInsetMath(docstring const &);
28 MathAtom createInsetMath(char const * const);
30 /** Fills ar with the contents of str.
31 * str is created by the frontend dialog's and returned to the LyX core.
32 * The function returns true if successful.
34 bool createInsetMath_fromDialogStr(docstring const &, MathData &);
36 typedef std::map<docstring, latexkeys> MathWordList;
37 MathWordList const & mathedWordList();