///
explicit MathHullInset(std::string const & type);
///
- MathHullInset(MathHullInset const &);
- ///
~MathHullInset();
///
- std::auto_ptr<InsetBase> clone() const;
- ///
- void operator=(MathHullInset const &);
+ MathHullInset & operator=(MathHullInset const &);
///
mode_type currentMode() const;
///
void addRow(row_type row);
/// delete a row
void delRow(row_type row);
- ///
+ /// swap two rows
void swapRow(row_type row);
/// add a column
void addCol(col_type col);
protected:
- ///
- void priv_dispatch(LCursor & cur, FuncRequest & cmd);
+ MathHullInset(MathHullInset const &);
+
+ virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
+
/// do we want to handle this event?
bool getStatus(LCursor & cur, FuncRequest const & cmd,
FuncStatus & status) const;
std::string eolString(row_type row, bool fragile) const;
private:
+ virtual std::auto_ptr<InsetBase> doClone() const;
///
void setType(std::string const & type);
///
char const * standardFont() const;
/// consistency check
void check() const;
+ /// can this change its number of rows?
+ bool rowChangeOK() const;
/// can this change its number of cols?
bool colChangeOK() const;