3 * \file math_macroarg.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Alejandro Aguilar Sierra
10 * Full author contact details are available in file CREDITS.
13 #ifndef MATHMACROARGUMENT_H
14 #define MATHMACROARGUMENT_H
16 #include "math_nestinset.h"
20 class MathMacroArgument : public MathNestInset {
23 explicit MathMacroArgument(int);
25 virtual std::auto_ptr<InsetBase> clone() const;
27 bool isActive() const { return false; }
29 void metrics(MetricsInfo & mi, Dimension & dim) const;
31 void draw(PainterInfo &, int x, int y) const;
33 void substitute(MathMacro const & macro);
36 void normalize(NormalStream &) const;
38 void write(WriteStream & os) const;
41 /// A number between 1 and 9