]> git.lyx.org Git - lyx.git/blob - src/mathed/InsetMathFBox.h
LyXText -> Text
[lyx.git] / src / mathed / InsetMathFBox.h
1 // -*- C++ -*-
2 /**
3  * \file InsetMathFBox.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_FBOXINSET_H
13 #define MATH_FBOXINSET_H
14
15 #include "InsetMathNest.h"
16
17
18 namespace lyx {
19
20
21 /// Non-AMS-style frame
22 class InsetMathFBox : public InsetMathNest {
23 public:
24         ///
25         InsetMathFBox();
26         ///
27         mode_type currentMode() const;
28         ///
29         bool metrics(MetricsInfo & mi, Dimension & dim) const;
30         ///
31         void draw(PainterInfo & pi, int x, int y) const;
32         ///
33         void write(WriteStream & os) const;
34         /// write normalized content
35         void normalize(NormalStream & ns) const;
36         ///
37         void infoize(odocstream & os) const;
38 private:
39         virtual std::auto_ptr<Inset> doClone() const;
40 };
41
42
43
44 } // namespace lyx
45 #endif