]> git.lyx.org Git - lyx.git/blob - src/insets/InsetLayout.h
* completion infrastructure
[lyx.git] / src / insets / InsetLayout.h
1 // -*- C++ -*-
2 /**
3  * \file InsetLayout.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * Full author contact details are available in file CREDITS.
8  */
9
10 #ifndef INSET_LAYOUT_H
11 #define INSET_LAYOUT_H
12
13 #include "ColorCode.h"
14 #include "FontInfo.h"
15
16 #include "support/docstring.h"
17
18 #include <set>
19 #include <string>
20
21 namespace lyx {
22
23 ///
24 class InsetLayout {
25 public:
26         InsetLayout() : 
27                 name("undefined"),
28                 labelstring(from_utf8("UNDEFINED")),
29                 font(sane_font), labelfont(sane_font),
30                 bgcolor(Color_error)
31                 { labelfont.setColor(Color_error); };
32         std::string name;
33         std::string lyxtype;
34         docstring labelstring;
35         std::string decoration;
36         std::string latextype;
37         std::string latexname;
38         std::string latexparam;
39         FontInfo font;
40         FontInfo labelfont;
41         ColorCode bgcolor;
42         std::string preamble;
43         std::set<std::string> requires;
44         bool multipar;
45         bool passthru;
46         bool needprotect;
47         bool freespacing;
48         bool keepempty;
49         bool forceltr;
50 };
51
52 } // namespace lyx
53
54 #endif