hullXXAlignAt,
hullFlAlign,
hullMultline,
- hullGather
+ hullGather,
+ hullRegexp
};
HullType hullType(docstring const & name);
class InsetMath : public Inset {
public:
+ ///
+ InsetMath(Buffer * buf = 0) : Inset(buf) {}
/// identification as math inset
InsetMath * asInsetMath() { return this; }
+ /// identification as math inset
+ InsetMath const * asInsetMath() const { return this; }
/// this is overridden in math text insets (i.e. mbox)
bool inMathed() const { return true; }
+ /// this is overridden by specific insets
+ virtual mode_type currentMode() const { return MATH_MODE; }
+
/// the ascent of the inset above the baseline
/// compute the size of the object for text based drawing
virtual void metricsT(TextMetricsInfo const & mi, Dimension & dim) const;
/// superscript kerning
virtual int kerning(BufferView const *) const { return 0; }
+ ///
+ InsetCode lyxCode() const { return MATH_CODE; }
};
///