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"
32 std::string name() const { return name_; };
34 std::string lyxtype() const { return lyxtype_; };
36 docstring labelstring() const { return labelstring_; };
38 //FIXME This could be an enum
39 std::string decoration() const { return decoration_; };
41 std::string latextype() const { return latextype_; };
43 std::string latexname() const { return latexname_; };
45 std::string latexparam() const { return latexparam_; };
47 FontInfo font() const { return font_; };
49 FontInfo labelfont() const { return labelfont_; };
51 ColorCode bgcolor() const { return bgcolor_; };
53 std::string preamble() const { return preamble_; };
55 std::set<std::string> requires() const { return requires_; };
57 bool isMultiPar() const { return multipar_; };
59 bool isPassThru() const { return passthru_; };
61 bool isNeedProtect() const { return needprotect_; };
63 bool isFreeSpacing() const { return freespacing_; };
65 bool isKeepEmpty() const { return keepempty_; };
67 bool isForceLtr() const { return forceltr_; };
74 docstring labelstring_;
76 std::string decoration_;
78 std::string latextype_;
80 std::string latexname_;
82 std::string latexparam_;
90 std::string preamble_;
92 std::set<std::string> requires_;
106 //FIXME This will be removed.
107 friend class TextClass;