4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Alejandro Aguilar Sierra
10 * Full author contact details are available in file CREDITS.
13 #ifndef INSET_FORMULA_H
14 #define INSET_FORMULA_H
16 #include "math_hullinset.h"
19 /// The main LyX math inset
20 class InsetFormula : public MathHullInset {
23 std::auto_ptr<InsetBase> clone() const;
25 void write(Buffer const & buf, std::ostream & os) const;
27 void read(Buffer const & buf, LyXLex & lex);
30 // We don't really want to mess around with mathed stuff outside mathed.
32 void mathDispatch(LCursor & cur, FuncRequest const & cmd);