* This is the base to all grid-like editable math objects
*/
class MathGridInset : public MathNestInset {
-
public:
/// additional per-cell information
/// Ensures that the dialog is closed.
~MathGridInset();
///
- virtual std::auto_ptr<InsetBase> clone() const;
- ///
void metrics(MetricsInfo & mi) const;
///
void metrics(MetricsInfo & mi, Dimension &) const;
///
bool idxLast(LCursor &) const;
///
- bool idxHome(LCursor &) const;
- ///
- bool idxEnd(LCursor &) const;
- ///
bool idxDelete(idx_type & idx);
/// pulls cell after pressing erase
void idxGlue(idx_type idx);
//void octave(OctaveStream &) const;
protected:
+ virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
///
- DispatchResult priv_dispatch(LCursor & cur, FuncRequest const & cmd);
+ bool getStatus(LCursor & cur, FuncRequest const & cmd,
+ FuncStatus & flag) const;
/// returns x offset of cell compared to inset
int cellXOffset(idx_type idx) const;
/// returns y offset of cell compared to inset
std::vector<CellInfo> cellinfo_;
///
char v_align_; // add approp. type
+private:
+ virtual std::auto_ptr<InsetBase> doClone() const;
};
#endif