]> git.lyx.org Git - lyx.git/blob - src/mathed/InsetMathSplit.h
Make members of FuncRequest private, per the FIXME there. Again, this is
[lyx.git] / src / mathed / InsetMathSplit.h
1 // -*- C++ -*-
2 /**
3  * \file InsetMathSplit.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_SPLITINSET_H
13 #define MATH_SPLITINSET_H
14
15 #include "InsetMathGrid.h"
16
17
18 namespace lyx {
19
20
21 class InsetMathSplit : public InsetMathGrid {
22 public:
23         ///
24         explicit InsetMathSplit(Buffer * buf, docstring const & name,
25                 char valign = 'c');
26         ///
27         void draw(PainterInfo & pi, int x, int y) const;
28         ///
29         bool getStatus(Cursor & cur, FuncRequest const & cmd,
30                 FuncStatus & flag) const;
31
32         void write(WriteStream & os) const;
33         ///
34         void infoize(odocstream & os) const;
35         ///
36         void mathmlize(MathStream &) const;
37         ///
38         void htmlize(HtmlStream &) const;
39         ///
40         void validate(LaTeXFeatures & features) const;
41         ///
42         int defaultColSpace(col_type) { return 0; }
43         ///
44         char defaultColAlign(col_type);
45         ///
46         InsetCode lyxCode() const { return MATH_SPLIT_CODE; }
47
48 private:
49         ///
50         virtual Inset * clone() const;
51         ///
52         docstring name_;
53 };
54
55
56 } // namespace lyx
57 #endif