4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Martin Vermeer
10 * Full author contact details are available in file CREDITS.
13 #ifndef INSET_LAYOUT_H
14 #define INSET_LAYOUT_H
16 #include "ColorCode.h"
19 #include "support/docstring.h"
29 enum InsetDecoration {
42 bool read(Lexer & lexrc);
44 docstring name() const { return name_; };
46 std::string lyxtype() const { return lyxtype_; };
48 docstring labelstring() const { return labelstring_; };
50 InsetDecoration decoration() const { return decoration_; };
52 std::string latextype() const { return latextype_; };
54 std::string latexname() const { return latexname_; };
56 std::string latexparam() const { return latexparam_; };
58 FontInfo font() const { return font_; };
60 FontInfo labelfont() const { return labelfont_; };
62 ColorCode bgcolor() const { return bgcolor_; };
64 std::string preamble() const { return preamble_; };
66 std::set<std::string> requires() const { return requires_; };
68 bool isMultiPar() const { return multipar_; };
70 bool isPassThru() const { return passthru_; };
72 bool isNeedProtect() const { return needprotect_; };
74 bool isFreeSpacing() const { return freespacing_; };
76 bool isKeepEmpty() const { return keepempty_; };
78 bool isForceLtr() const { return forceltr_; };
85 docstring labelstring_;
87 InsetDecoration decoration_;
89 std::string latextype_;
91 std::string latexname_;
93 std::string latexparam_;
101 std::string preamble_;
103 std::set<std::string> requires_;