]> git.lyx.org Git - lyx.git/blob - src/mathed/math_sqrtinset.h
Get rid of lyxstring, remove usage of STRCONV.
[lyx.git] / src / mathed / math_sqrtinset.h
1 // -*- C++ -*-
2 /**
3  * \file math_sqrtinset.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Alejandro Aguilar Sierra
8  * \author André Pönitz
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef MATH_SQRTINSET_H
14 #define MATH_SQRTINSET_H
15
16 #include "math_nestinset.h"
17
18
19 /// \c MathSqrtInset The square root inset.
20 class MathSqrtInset : public MathNestInset {
21 public:
22         ///
23         MathSqrtInset();
24         ///
25         virtual std::auto_ptr<InsetBase> clone() const;
26         ///
27         void draw(PainterInfo &, int x, int y) const;
28         ///
29         void metrics(MetricsInfo & mi, Dimension & dim) const;
30         ///
31         void drawT(TextPainter &, int x, int y) const;
32         ///
33         void metricsT(TextMetricsInfo const & mi, Dimension & dim) const;
34
35         ///
36         void write(WriteStream & os) const;
37         ///
38         void normalize(NormalStream &) const;
39         ///
40         void maple(MapleStream &) const;
41         ///
42         void mathematica(MathematicaStream &) const;
43         ///
44         void octave(OctaveStream &) const;
45         ///
46         void mathmlize(MathMLStream &) const;
47 };
48 #endif