]> git.lyx.org Git - lyx.git/blob - src/mathed/InsetMathCases.h
Make members of FuncRequest private, per the FIXME there. Again, this is
[lyx.git] / src / mathed / InsetMathCases.h
1 // -*- C++ -*-
2 /**
3  * \file InsetMathCases.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_CASESINSET_H
13 #define MATH_CASESINSET_H
14
15 #include "InsetMathGrid.h"
16
17
18 namespace lyx {
19
20
21 class LaTeXFeatures;
22
23 class InsetMathCases : public InsetMathGrid {
24 public:
25         ///
26         explicit InsetMathCases(Buffer * buf, row_type rows = 1u);
27         ///
28         void metrics(MetricsInfo & mi, Dimension & dim) const;
29         ///
30         Dimension const dimension(BufferView const &) const;
31         ///
32         void draw(PainterInfo & pi, int x, int y) const;
33         ///
34         virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
35         ///
36         bool getStatus(Cursor & cur, FuncRequest const & cmd,
37                 FuncStatus & flag) const;
38
39         ///
40         void infoize(odocstream & os) const;
41         ///
42         void normalize(NormalStream &) const;
43         ///
44         void maple(MapleStream &) const;
45         ///
46         void mathmlize(MathStream &) const;
47         ///
48         void htmlize(HtmlStream &) const;
49         ///
50         void write(WriteStream & os) const;
51         ///
52         void validate(LaTeXFeatures & features) const;
53         ///
54         InsetCode lyxCode() const { return MATH_CASES_CODE; }
55 private:
56         virtual Inset * clone() const;
57 };
58
59
60 } // namespace lyx
61
62 #endif