]> git.lyx.org Git - lyx.git/blob - src/mathed/math_rootinset.h
tfracinset files is missing so all usage of tfrac is commented out
[lyx.git] / src / mathed / math_rootinset.h
1 // -*- C++ -*-
2 /**
3  * \file math_rootinset.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_ROOT_H
14 #define MATH_ROOT_H
15
16 #include "math_nestinset.h"
17
18
19 /// The general n-th root inset.
20 class MathRootInset : public MathNestInset {
21 public:
22         ///
23         MathRootInset();
24         ///
25         virtual std::auto_ptr<InsetBase> clone() const;
26         ///
27         bool idxUpDown(LCursor & cur, bool up) const;
28         ///
29         void metrics(MetricsInfo & mi, Dimension & dim) const;
30         ///
31         void draw(PainterInfo & pi, int x, int y) const;
32
33         ///
34         void write(WriteStream & os) const;
35         ///
36         void normalize(NormalStream &) const;
37         ///
38         void mathmlize(MathMLStream &) const;
39         ///
40         void maple(MapleStream &) const;
41         ///
42         void octave(OctaveStream &) const;
43 };
44
45 #endif