]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibtex.h
Remove all BufferParam arguments in InsetXXX methods (since insets know about their...
[lyx.git] / src / insets / InsetBibtex.h
index 64cab78beac8b478bc4aec91cf3dc6e0a9edf4e6..7950b486fac84dab65e1bc6dbf42a8ee3bb725c6 100644 (file)
@@ -26,11 +26,15 @@ namespace lyx {
 class InsetBibtex : public InsetCommand {
 public:
        ///
-       InsetBibtex(InsetCommandParams const &);
+       InsetBibtex(Buffer const &, InsetCommandParams const &);
+       ///
+       virtual ~InsetBibtex();
        ///
        docstring screenLabel() const;
        ///
-       EDITABLE editable() const { return IS_EDITABLE; }
+       docstring toolTip(BufferView const & bv, int x, int y) const;
+       ///
+       bool hasSettings() const { return true; }
        ///
        InsetCode lyxCode() const { return BIBTEX_CODE; }
        ///
@@ -48,6 +52,8 @@ public:
        ///
        void validate(LaTeXFeatures &) const;
        ///
+       docstring xhtml(odocstream &, OutputParams const &) const;
+       ///
        static ParamInfo const & findInfo(std::string const &);
        ///
        static std::string defaultCommand() { return "bibtex"; };
@@ -57,10 +63,17 @@ public:
        /// look up the path to the file using TeX
        static support::FileName 
                getBibTeXPath(docstring const & filename, Buffer const & buf);
+       ///
+       docstring contextMenu(BufferView const &, int, int) const;
 private:
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
+       bool getStatus(Cursor & cur, FuncRequest const & cmd,
+               FuncStatus & flag) const;
+       ///
+       void editDatabases() const;
+       ///
        Inset * clone() const { return new InsetBibtex(*this); }
 };