class InsetFormulaMacro : public InsetMathNest {
public:
///
- InsetFormulaMacro();
+ InsetFormulaMacro(Buffer * buf);
/// construct a macro hull from its name and the number of arguments
- InsetFormulaMacro(docstring const & name, int nargs, docstring const & t);
+ InsetFormulaMacro(Buffer * buf, docstring const & name, int nargs, docstring const & t);
/// constructs a mocro from its LaTeX definition
explicit InsetFormulaMacro(docstring const & s);
///
int docbook(odocstream &, OutputParams const &) const;
///
- InsetCode lyxCode() const { return MATHMACRO_CODE; }
+ InsetCode lyxCode() const { return MATHMACRO_CODE_CODE; }
///
docstring const & getInsetName() const { return name_; }
///
bool editable() const { return true; }
+ ///
+ InsetCode lyxCode() const { return MATH_FORMULA_MACRO_CODE; }
private:
///
MathAtom & tmpl() const;