class InsetMathFracBase : public InsetMathNest {
public:
///
- explicit InsetMathFracBase(idx_type ncells = 2);
- ///
- mode_type currentMode() const { return MATH_MODE; }
+ InsetMathFracBase(Buffer * buf, idx_type ncells = 2);
///
bool idxUpDown(Cursor &, bool up) const;
///
UNIT
};
///
- explicit InsetMathFrac(Kind kind = FRAC, idx_type ncells = 2);
+ explicit InsetMathFrac(Buffer * buf, Kind kind = FRAC, idx_type ncells = 2);
///
bool idxForward(Cursor &) const;
///
BRACK
};
///
- explicit InsetMathBinom(Kind kind = BINOM);
+ explicit InsetMathBinom(Buffer * buf, Kind kind = BINOM);
///
void write(WriteStream & os) const;
///
void mathmlize(MathStream &) const;
///
void validate(LaTeXFeatures & features) const;
+ ///
+ InsetCode lyxCode() const { return MATH_FRAC_CODE; }
private:
Inset * clone() const;
///