]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcite.h
The speed patch: redraw only rows that have changed
[lyx.git] / src / insets / insetcite.h
index aa2b742ffe558c9b78f3d03531a78acdd0e6dea1..0733e93486ea60f3271797bf90698991ee2e62bf 100644 (file)
@@ -29,7 +29,7 @@ public:
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
-       InsetOld::Code lyxCode() const { return InsetOld::CITE_CODE; }
+       InsetBase::Code lyxCode() const { return InsetBase::CITE_CODE; }
        ///
        int plaintext(Buffer const &, std::ostream &, OutputParams const &) const;
        ///
@@ -38,6 +38,9 @@ public:
        ///
        int docbook(Buffer const &, std::ostream &,
                  OutputParams const &) const;
+       /// the string that is passed to the TOC
+       virtual int textString(Buffer const &, std::ostream & os,
+               OutputParams const &) const;
        ///
        void validate(LaTeXFeatures &) const;
 
@@ -50,7 +53,8 @@ private:
        /// This function does the donkey work of creating the pretty label
        std::string const generateLabel(Buffer const &) const;
 
-       struct Cache {
+       class Cache {
+       public:
                ///
                Cache() : engine(lyx::biblio::ENGINE_BASIC) {}
                ///