]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetbibtex.h
convert graphics for .tex export, fixes bug 1231
[lyx.git] / src / insets / insetbibtex.h
index fa0d63ceaa26c60503ee12e5e18b282460e659f3..0a7cbf7093a71798a37cca582c9a118b35bb216a 100644 (file)
@@ -23,14 +23,8 @@ public:
        ///
        InsetBibtex(InsetCommandParams const &);
        ///
-       ~InsetBibtex();
-       ///
        std::auto_ptr<InsetBase> clone() const;
        ///
-       void metrics(MetricsInfo &, Dimension &) const;
-       ///
-       void draw(PainterInfo & pi, int x, int y) const;
-       ///
        std::string const getScreenLabel(Buffer const &) const;
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
@@ -40,7 +34,7 @@ public:
        bool display() const { return true; }
        ///
        int latex(Buffer const &, std::ostream &,
-                 LatexRunParams const &) const;
+                 OutputParams const &) const;
        ///
        void fillWithBibKeys(Buffer const & buffer,
                std::vector<std::pair<std::string,std::string> > & keys) const;
@@ -50,11 +44,11 @@ public:
        bool addDatabase(std::string const &);
        ///
        bool delDatabase(std::string const &);
+       ///
+       void validate(LaTeXFeatures &) const;
 protected:
        ///
-       virtual
-       dispatch_result
-       priv_dispatch(FuncRequest const & cmd, idx_type &, pos_type &);
+       virtual void priv_dispatch(LCursor & cur, FuncRequest & cmd);
 };
 
 #endif // INSET_BIBTEX_H