#pragma interface
#endif
-#include "mathed/formulabase.h"
+#include "formulabase.h"
#include "math_defs.h"
#include "math_atom.h"
-class MathMatrixInset;
+class MathHullInset;
///
class InsetFormula : public InsetFormulaBase {
int width(BufferView *, LyXFont const &) const;
///
void draw(BufferView *, LyXFont const &, int, float &, bool) const;
- ///
- void metrics() const;
///
void write(Buffer const *, std::ostream &) const;
///
std::vector<string> const getLabelList() const;
///
- void handleExtern(string const & arg, BufferView * bv);
- ///
- bool display() const;
- ///
- bool ams() const;
- ///
MathInsetTypes getType() const;
///
MathAtom const & par() const { return par_; }
///
MathAtom & par() { return par_; }
-public:
+
+private:
+ /// Is this a displayed environment?
+ bool display() const;
+ /// available in AMS only?
+ bool ams() const;
+ /// access to hull
+ MathHullInset * hull();
+ /// access to hull
+ MathHullInset const * hull() const;
///
- MathAtom par_;
+ void handleExtern(string const & arg);
- /// Access
- MathMatrixInset * mat();
- /// Access
- MathMatrixInset const * mat() const;
+ ///
+ MathAtom par_;
};
#endif