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"
34 bool read(Lexer & lexrc);
36 docstring name() const { return name_; };
38 std::string lyxtype() const { return lyxtype_; };
40 docstring labelstring() const { return labelstring_; };
42 //FIXME This could be an enum
43 std::string decoration() const { return decoration_; };
45 std::string latextype() const { return latextype_; };
47 std::string latexname() const { return latexname_; };
49 std::string latexparam() const { return latexparam_; };
51 FontInfo font() const { return font_; };
53 FontInfo labelfont() const { return labelfont_; };
55 ColorCode bgcolor() const { return bgcolor_; };
57 std::string preamble() const { return preamble_; };
59 std::set<std::string> requires() const { return requires_; };
61 bool isMultiPar() const { return multipar_; };
63 bool isPassThru() const { return passthru_; };
65 bool isNeedProtect() const { return needprotect_; };
67 bool isFreeSpacing() const { return freespacing_; };
69 bool isKeepEmpty() const { return keepempty_; };
71 bool isForceLtr() const { return forceltr_; };
78 docstring labelstring_;
80 std::string decoration_;
82 std::string latextype_;
84 std::string latexname_;
86 std::string latexparam_;
94 std::string preamble_;
96 std::set<std::string> requires_;