A bit more re-organization.
[lyx.git] / src / mathed / InsetMathRoot.h
blobcfcac0a7f3189b68bf368cbd8fd6093e3009c7ae
1 // -*- C++ -*-
2 /**
3 * \file InsetMathRoot.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
8 * \author André Pönitz
10 * Full author contact details are available in file CREDITS.
13 #ifndef MATH_ROOT_H
14 #define MATH_ROOT_H
16 #include "InsetMathNest.h"
19 namespace lyx {
22 /// The general n-th root inset.
23 class InsetMathRoot : public InsetMathNest {
24 public:
25 ///
26 InsetMathRoot(Buffer * buf);
27 ///
28 bool idxUpDown(Cursor & cur, bool up) const;
29 ///
30 void metrics(MetricsInfo & mi, Dimension & dim) const;
31 ///
32 void draw(PainterInfo & pi, int x, int y) const;
34 ///
35 void write(WriteStream & os) const;
36 ///
37 void normalize(NormalStream &) const;
38 ///
39 void mathmlize(MathStream &) const;
40 ///
41 void maple(MapleStream &) const;
42 ///
43 void mathematica(MathematicaStream &) const;
44 ///
45 void octave(OctaveStream &) const;
46 ///
47 InsetCode lyxCode() const { return MATH_ROOT_CODE; }
49 private:
50 virtual Inset * clone() const;
55 } // namespace lyx
56 #endif