]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCitation.h
Remove all BufferParam arguments in InsetXXX methods (since insets know about their...
[lyx.git] / src / insets / InsetCitation.h
index 4d403b66f07806eb32a5f6d661741c16abe54bea..caab0626598d8e09ca53fb40e4dbab76717c2f82 100644 (file)
@@ -5,7 +5,7 @@
  * Licence details can be found in the file COPYING.
  *
  * \author Angus Leeming
- * \author Herbert Voß
+ * \author Herbert Voß
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -38,7 +38,9 @@ public:
        ///
        docstring screenLabel() const;
        ///
-       EDITABLE editable() const { return IS_EDITABLE; }
+       bool hasSettings() const { return true; }
+       ///
+       docstring toolTip(BufferView const & bv, int x, int y) const;
        ///
        InsetCode lyxCode() const { return CITE_CODE; }
        ///
@@ -47,14 +49,16 @@ public:
        int plaintext(odocstream &, OutputParams const &) const;
        ///
        int docbook(odocstream &, OutputParams const &) const;
+       ///
+       docstring xhtml(odocstream &, OutputParams const &) const;
        /// the string that is passed to the TOC
-       void textString(odocstream &) const;
+       void tocString(odocstream &) const;
        ///
        void validate(LaTeXFeatures &) const;
        ///
        void updateLabels(ParIterator const & it);
        ///
-       void addToToc(ParConstIterator const &) const;
+       void addToToc(DocIterator const &);
 
        ///
        static ParamInfo const & findInfo(std::string const &);
@@ -65,6 +69,8 @@ public:
        static std::string defaultCommand() { return "cite"; }
        ///
        static bool isCompatibleCommand(std::string const & cmd);
+       ///
+       virtual docstring contextMenu(BufferView const & bv, int x, int y) const;
 private:
        ///
        Inset * clone() const { return new InsetCitation(*this); }
@@ -78,9 +84,9 @@ private:
        class Cache {
        public:
                ///
-               Cache() : engine(biblio::ENGINE_BASIC), params(CITE_CODE) {}
+               Cache() : engine(ENGINE_BASIC), params(CITE_CODE) {}
                ///
-               biblio::CiteEngine engine;
+               CiteEngine engine;
                ///
                InsetCommandParams params;
                ///