]> git.lyx.org Git - lyx.git/blob - src/mathed/InsetMathDots.h
Update sk.po
[lyx.git] / src / mathed / InsetMathDots.h
1 // -*- C++ -*-
2 /**
3  * \file InsetMathDots.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author André Pönitz
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef MATH_DOTSINSET_H
13 #define MATH_DOTSINSET_H
14
15 #include "InsetMath.h"
16
17
18 namespace lyx {
19
20 class latexkeys;
21
22 /// The different kinds of ellipsis
23 class InsetMathDots : public InsetMath {
24 public:
25         ///
26         explicit InsetMathDots(Buffer * buf, latexkeys const * key);
27         ///
28         void metrics(MetricsInfo & mi, Dimension & dim) const override;
29         ///
30         void draw(PainterInfo & pi, int x, int y) const override;
31         ///
32         docstring name() const override;
33         /// request "external features"
34         void validate(LaTeXFeatures & features) const override;
35         ///
36         InsetCode lyxCode() const override { return MATH_DOTS_CODE; }
37         ///
38         void mathmlize(MathMLStream & ms) const override;
39         ///
40         void htmlize(HtmlStream & os) const override;
41 protected:
42         /// cache for the thing's height
43         mutable int dh_;
44         ///
45         latexkeys const * key_;
46 private:
47         Inset * clone() const override;
48 };
49
50 } // namespace lyx
51
52 #endif