]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBranch.h
Remove all BufferParam arguments in InsetXXX methods (since insets know about their...
[lyx.git] / src / insets / InsetBranch.h
index 71591a127a730809bb8d8922e747a5c91f61d83c..0c42e8fbe6934c99b1a7708fa4149301bcbb0cba 100644 (file)
@@ -51,6 +51,10 @@ public:
        static std::string params2string(InsetBranchParams const &);
        ///
        static void string2params(std::string const &, InsetBranchParams &);
+       ///
+       docstring branch() const { return params_.branch; }
+       ///
+       void rename(docstring const & newname) { params_.branch = newname; }
 
 private:
        ///
@@ -62,7 +66,7 @@ private:
        ///
        void read(Lexer & lex);
        ///
-       void setButtonLabel(BufferView const & bv);
+       docstring const buttonLabel(BufferView const & bv) const;
        ///
        ColorCode backgroundColor() const;
        ///
@@ -74,10 +78,14 @@ private:
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
+       docstring xhtml(odocstream &, OutputParams const &) const;
+       ///
        void tocString(odocstream &) const;
        ///
        void validate(LaTeXFeatures &) const;
        ///
+       docstring contextMenu(BufferView const &, int, int) const;
+       ///
        void addToToc(DocIterator const &);
        ///
        InsetBranchParams const & params() const { return params_; }