]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathSupport.h
Attempt to fix #8137 (arrived at r40862).
[lyx.git] / src / mathed / MathSupport.h
index f979cb9dfcc7fa8c075d9566bc5474862dd9f790..04bcffb93141232ef3e0b64417e5ab687e44bc81 100644 (file)
@@ -5,7 +5,7 @@
  * Licence details can be found in the file COPYING.
  *
  * \author Alejandro Aguilar Sierra
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -13,9 +13,8 @@
 #ifndef MATH_SUPPORT_H
 #define MATH_SUPPORT_H
 
-#include "support/docstring.h"
-
-#include <string>
+#include "MathParser_flags.h"
+#include "support/strfwd.h"
 #include <vector>
 
 namespace lyx {
@@ -50,13 +49,17 @@ void augmentFont(FontInfo & f, docstring const & cmd);
 
 bool isFontName(docstring const & name);
 
+bool isMathFont(docstring const & name);
+
+bool isTextFont(docstring const & name);
+
 // converts single cell to string
 docstring asString(MathData const & ar);
 // converts single inset to string
 docstring asString(InsetMath const &);
 docstring asString(MathAtom const &);
 // converts string to single cell
-void asArray(docstring const & str, MathData & ar);
+void asArray(docstring const &, MathData &, Parse::flags f = Parse::NORMAL);
 
 } // namespace lyx