]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCitation.h
Cleanup mouse/selection/context-menu interactions.
[lyx.git] / src / insets / InsetCitation.h
index 1318c3767b171dcbdc589b2497c058cbfac4532b..85f3f0ae22167621daa8fe90af23c43ca02d3600 100644 (file)
@@ -30,6 +30,8 @@ public:
        ///
        InsetCitation(InsetCommandParams const &);
        ///
+       bool isLabeled() const { return true; }
+       ///
        docstring screenLabel() const;
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
@@ -45,6 +47,11 @@ public:
        void textString(odocstream &) const;
        ///
        void validate(LaTeXFeatures &) const;
+       ///
+       void updateLabels(ParIterator const & it);
+       ///
+       void addToToc(ParConstIterator const &) const;
+
        ///
        static ParamInfo const & findInfo(std::string const &);
        //FIXME This is the locus of the design problem we have.
@@ -57,7 +64,7 @@ public:
        static bool isCompatibleCommand(std::string const & cmd);
 private:
        ///
-       Inset * clone() const { return new InsetCitation(params()); }
+       Inset * clone() const { return new InsetCitation(*this); }
        /// we'll eventually want to be able to get info on this from the 
        /// various CiteEngines
        static ParamInfo param_info_;