* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author André Pönitz
+ * \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
#include "InsetMathNest.h"
-#include <string>
-
namespace lyx {
class InsetMathExFunc : public InsetMathNest {
public:
///
- explicit InsetMathExFunc(docstring const & name);
+ InsetMathExFunc(Buffer * buf, docstring const & name);
///
- InsetMathExFunc(docstring const & name, MathData const & ar);
+ InsetMathExFunc(Buffer * buf, docstring const & name, MathData const & ar);
///
- bool metrics(MetricsInfo & mi, Dimension & dim) const;
+ void metrics(MetricsInfo & mi, Dimension & dim) const override;
///
- void draw(PainterInfo & pi, int x, int y) const;
+ void draw(PainterInfo & pi, int x, int y) const override;
///
- docstring name() const;
+ docstring name() const override;
///
- void maple(MapleStream &) const;
+ void maple(MapleStream &) const override;
+ ///
+ void maxima(MaximaStream &) const override;
+ ///
+ void mathematica(MathematicaStream &) const override;
///
- void maxima(MaximaStream &) const;
+ void mathmlize(MathMLStream &) const override;
///
- void mathematica(MathematicaStream &) const;
+ void htmlize(HtmlStream &) const override;
///
- void mathmlize(MathStream &) const;
+ void octave(OctaveStream &) const override;
///
- void octave(OctaveStream &) const;
+ InsetCode lyxCode() const override { return MATH_EXFUNC_CODE; }
private:
- virtual std::auto_ptr<InsetBase> doClone() const;
+ Inset * clone() const override;
///
docstring const name_;
};