///
bool idxUpDown(Cursor &, bool up) const;
///
- bool idxLeft(Cursor &) const { return false; }
+ bool idxBackward(Cursor &) const { return false; }
///
- bool idxRight(Cursor &) const { return false; }
+ bool idxForward(Cursor &) const { return false; }
};
///
explicit InsetMathFrac(Kind kind = FRAC, idx_type ncells = 2);
///
- bool idxRight(Cursor &) const;
+ bool idxForward(Cursor &) const;
///
- bool idxLeft(Cursor &) const;
+ bool idxBackward(Cursor &) const;
///
void metrics(MetricsInfo & mi, Dimension & dim) const;
///
};
+/// \dbinom support
+class InsetMathDBinom : public InsetMathFracBase {
+public:
+ ///
+ InsetMathDBinom() {}
+ ///
+ void metrics(MetricsInfo & mi, Dimension & dim) const;
+ ///
+ void draw(PainterInfo &, int x, int y) const;
+ ///
+ docstring name() const;
+ ///
+ void mathmlize(MathStream &) const;
+ ///
+ void validate(LaTeXFeatures & features) const;
+private:
+ Inset * clone() const;
+ ///
+ int dw(int height) const;
+};
+
+
+/// \tbinom support
+class InsetMathTBinom : public InsetMathFracBase {
+public:
+ ///
+ InsetMathTBinom() {}
+ ///
+ void metrics(MetricsInfo & mi, Dimension & dim) const;
+ ///
+ void draw(PainterInfo &, int x, int y) const;
+ ///
+ docstring name() const;
+ ///
+ void mathmlize(MathStream &) const;
+ ///
+ void validate(LaTeXFeatures & features) const;
+private:
+ Inset * clone() const;
+ ///
+ int dw(int height) const;
+};
+
+
} // namespace lyx
#endif