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 &, Buffer
* buf
);
28 MathAtom
createInsetMath(char const * const, Buffer
* buf
);
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 /** Tells whether the argument is an ascii character or is marked as
37 * mathalpha in the unicodesymbols file.
39 bool isAsciiOrMathAlpha(char_type
);
41 typedef std::map
<docstring
, latexkeys
> MathWordList
;
42 MathWordList
const & mathedWordList();