InsetLayout();
///
enum InsetDecoration {
- Classic,
- Minimalistic,
- Conglomerate,
- Default
+ CLASSIC,
+ MINIMALISTIC,
+ CONGLOMERATE,
+ DEFAULT
};
enum InsetLyXType {
NOLYXTYPE,
END,
STANDARD
};
+ enum InsetLaTeXType {
+ NOLATEXTYPE,
+ COMMAND,
+ ENVIRONMENT,
+ ILT_ERROR
+ };
+ ///
+ bool read(Lexer & lexrc, TextClass const & tclass);
+ ///
+ docstring name() const { return name_; }
+ ///
+ void setName(docstring const & n) { name_ = n; }
+ ///
+ InsetLyXType lyxtype() const { return lyxtype_; }
///
- bool read(Lexer & lexrc, TextClass & tclass);
+ docstring labelstring() const { return labelstring_; }
///
- docstring name() const { return name_; };
+ InsetDecoration decoration() const { return decoration_; }
///
- InsetLyXType lyxtype() const { return lyxtype_; };
+ InsetLaTeXType latextype() const { return latextype_; }
///
- docstring labelstring() const { return labelstring_; };
+ std::string latexname() const { return latexname_; }
///
- InsetDecoration decoration() const { return decoration_; };
+ std::string latexparam() const { return latexparam_; }
///
- std::string latextype() const { return latextype_; };
+ FontInfo font() const { return font_; }
///
- std::string latexname() const { return latexname_; };
+ FontInfo labelfont() const { return labelfont_; }
///
- std::string latexparam() const { return latexparam_; };
+ ColorCode bgcolor() const { return bgcolor_; }
///
- FontInfo font() const { return font_; };
+ docstring preamble() const { return preamble_; }
///
- FontInfo labelfont() const { return labelfont_; };
+ docstring counter() const { return counter_; }
+ ///
+ std::string const & htmlinnertag() const { return htmlinnertag_; }
+ ///
+ std::string const & htmlinnerattr() const { return htmlinnerattr_; }
///
- ColorCode bgcolor() const { return bgcolor_; };
+ std::string const & htmltag() const { return htmltag_; }
+ ///
+ std::string const & htmlattr() const { return htmlattr_; }
///
- std::string preamble() const { return preamble_; };
+ std::string const & htmllabel() const { return htmllabel_; }
+ ///
+ docstring htmlstyle() const { return htmlstyle_; }
+ ///
+ docstring htmlpreamble() const { return htmlpreamble_; }
///
std::set<std::string> requires() const { return requires_; };
///
bool isKeepEmpty() const { return keepempty_; };
///
bool isForceLtr() const { return forceltr_; };
+ ///
+ bool isInToc() const { return intoc_; };
private:
///
docstring name_;
///
InsetDecoration decoration_;
///
- std::string latextype_;
+ InsetLaTeXType latextype_;
///
std::string latexname_;
///
///
ColorCode bgcolor_;
///
- std::string preamble_;
+ docstring counter_;
+ ///
+ docstring preamble_;
+ ///
+ std::string htmltag_;
+ ///
+ std::string htmlattr_;
+ ///
+ std::string htmlinnertag_;
+ ///
+ std::string htmlinnerattr_;
+ ///
+ std::string htmllabel_;
+ ///
+ docstring htmlstyle_;
+ ///
+ docstring htmlpreamble_;
///
std::set<std::string> requires_;
///
bool keepempty_;
///
bool forceltr_;
+ /// should the contents be written to TOC strings?
+ bool intoc_;
};
///