#include "ColorCode.h"
#include "FontInfo.h"
-#include "Lexer.h"
#include "support/docstring.h"
namespace lyx {
+class Lexer;
+
///
class InsetLayout {
public:
///
InsetLayout();
///
+ enum InsetDecoration {
+ Classic,
+ Minimalistic,
+ Conglomerate,
+ Default
+ };
+ ///
bool read(Lexer & lexrc);
///
docstring name() const { return name_; };
///
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_; };
///
private:
///
docstring name_;
- ///
+ /**
+ * This is only used (at present) to decide where to put them on the menus.
+ * Values are 'charstyle', 'custom' (things that by default look like a
+ * footnote), 'element' (docbook), 'standard'.
+ */
std::string lyxtype_;
///
docstring labelstring_;
///
- std::string decoration_;
+ InsetDecoration decoration_;
///
std::string latextype_;
///