]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLayout.h
Remove all BufferParam arguments in InsetXXX methods (since insets know about their...
[lyx.git] / src / insets / InsetLayout.h
index 06aa53a5ba17dddd051dfddc4fcee8c742706f01..b7a109eaf4ed1c8c28c6b9fc840194e56a7e8063 100644 (file)
@@ -55,27 +55,45 @@ public:
        ///
        bool read(Lexer & lexrc, TextClass const & tclass);
        ///
-       docstring name() const { return name_; };
+       docstring name() const { return name_; }
        ///
-       InsetLyXType lyxtype() const { return lyxtype_; };
+       void setName(docstring const & n) { name_ = n; }
        ///
-       docstring labelstring() const { return labelstring_; };
+       InsetLyXType lyxtype() const { return lyxtype_; }
        ///
-       InsetDecoration decoration() const { return decoration_; };
+       docstring labelstring() const { return labelstring_; }
        ///
-       InsetLaTeXType latextype() const { return latextype_; };
+       InsetDecoration decoration() const { return decoration_; }
        ///
-       std::string latexname() const { return latexname_; };
+       InsetLaTeXType latextype() const { return latextype_; }
        ///
-       std::string latexparam() const { return latexparam_; };
+       std::string latexname() const { return latexname_; }
        ///
-       FontInfo font() const { return font_; };
+       std::string latexparam() const { return latexparam_; }
        ///
-       FontInfo labelfont() const { return labelfont_; };
+       FontInfo font() const { return font_; }
        ///
-       ColorCode bgcolor() const { return bgcolor_; };
+       FontInfo labelfont() const { return labelfont_; }
        ///
-       std::string preamble() const { return preamble_; };
+       ColorCode bgcolor() const { return bgcolor_; }
+       ///
+       docstring preamble() const { return preamble_; }
+       ///
+       docstring counter() const { return counter_; }
+       /// 
+       std::string const & htmlinnertag() const { return htmlinnertag_; }
+       /// 
+       std::string const & htmlinnerattr() const { return htmlinnerattr_; }
+       ///
+       std::string const & htmltag() const { return htmltag_; }
+       /// 
+       std::string const & htmlattr() const { return htmlattr_; }
+       ///
+       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_; };
        ///
@@ -94,6 +112,8 @@ public:
        bool isKeepEmpty() const { return keepempty_; };
        ///
        bool isForceLtr() const { return forceltr_; };
+       ///
+       bool isInToc() const { return intoc_; };
 private:
        ///
        docstring name_;
@@ -120,7 +140,23 @@ private:
        ///
        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_;
        ///
@@ -139,6 +175,8 @@ private:
        bool keepempty_;
        ///
        bool forceltr_;
+       /// should the contents be written to TOC strings?
+       bool intoc_;
 };
 
 ///