-struct MathedRowSt;
-class MathedArray;
-
-
-/** The math paragraph base class, base to all editable math objects */
-class MathParInset: public MathedInset {
-public:
- ///
- MathParInset(short st = LM_ST_TEXT, string const & nm = string(),
- short ot = LM_OT_MIN);
- ///
- explicit
- MathParInset(MathParInset *);
- ///
- virtual ~MathParInset();
- ///
- virtual MathedInset * Clone();
- /// Draw the object on a drawable
- virtual void draw(Painter &, int x, int baseline);
- /// Write LaTeX code
- virtual void Write(std::ostream &, bool fragile);
- ///
- virtual void Metrics();
- ///
- virtual void UserSetSize(short);
- /// Data is stored in a LyXArray
- virtual void SetData(MathedArray *);
- ///
- virtual MathedArray * GetData();
- /// Paragraph position
- virtual void GetXY(int &, int &) const;
- ///
- virtual void setXY(int x, int y);
- ///
- virtual void SetFocus(int, int) {}
- ///
- virtual bool Inside(int, int);
- // Tab stuff used by Matrix.