namespace lyx {
+class Lexer;
+
///
class InsetLayout {
public:
///
InsetLayout();
///
- std::string name() const { return name_; };
+ enum InsetDecoration {
+ Classic,
+ Minimalistic,
+ Conglomerate,
+ Default
+ };
+ ///
+ bool read(Lexer & lexrc);
+ ///
+ docstring name() const { return name_; };
///
std::string lyxtype() const { return lyxtype_; };
///
docstring labelstring() const { return labelstring_; };
///
- //FIXME This could be an enum
- std::string decoration() const { return decoration_; };
+ InsetDecoration decoration() const { return decoration_; };
///
std::string latextype() const { return latextype_; };
///
bool isForceLtr() const { return forceltr_; };
private:
///
- std::string name_;
+ docstring name_;
///
std::string lyxtype_;
///
docstring labelstring_;
///
- std::string decoration_;
+ InsetDecoration decoration_;
///
std::string latextype_;
///
bool keepempty_;
///
bool forceltr_;
-
- //FIXME This will be removed.
- friend class TextClass;
};
} // namespace lyx