* Licence details can be found in the file COPYING.
*
* \author Alejandro Aguilar Sierra
- * \author André Pönitz
+ * \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
class InsetMathDelim : public InsetMathNest {
public:
///
- InsetMathDelim(docstring const & left, docstring const & right);
+ InsetMathDelim(Buffer * buf, docstring const & left, docstring const & right);
///
- InsetMathDelim(docstring const & left, docstring const & right, MathData const &);
+ InsetMathDelim(Buffer * buf, docstring const & left, docstring const & right,
+ MathData const &);
///
InsetMathDelim * asDelimInset() { return this; }
///
///
mode_type currentMode() const { return MATH_MODE; }
///
- bool metrics(MetricsInfo & mi, Dimension & dim) const;
+ void metrics(MetricsInfo & mi, Dimension & dim) const;
///
void draw(PainterInfo &, int x, int y) const;
///
void octave(OctaveStream &) const;
///
+ InsetCode lyxCode() const { return MATH_DELIM_CODE; }
+ ///
docstring left_;
///
docstring right_;
private:
- virtual std::auto_ptr<Inset> doClone() const;
+ virtual Inset * clone() const;
///
mutable int dw_;
};