]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCitation.h
* Fix merging of cells (multicolumn, multirow) when the first cell in the selection...
[lyx.git] / src / insets / InsetCitation.h
index 11a9d00c79c6265e676b781b18a80e9d74863c19..6eb0da03fc52c540c7d0fa3d88b15d4d14653bcd 100644 (file)
@@ -41,9 +41,11 @@ public:
        ///
        docstring toolTip(BufferView const & bv, int x, int y) const;
        ///
+       void doDispatch(Cursor & cur, FuncRequest & cmd);
+       ///
        InsetCode lyxCode() const { return CITE_CODE; }
        ///
-       int latex(odocstream &, OutputParams const &) const;
+       void latex(otexstream &, OutputParams const &) const;
        ///
        int plaintext(odocstream &, OutputParams const &) const;
        ///
@@ -102,14 +104,10 @@ private:
        static ParamInfo param_info_;
 
        ///
-       class Cache {
-       public:
-               ///
-               Cache() : engine(ENGINE_BASIC), params(CITE_CODE) {}
-               ///
-               CiteEngine engine;
+       struct Cache {
+               Cache() : recalculate(true) {};
                ///
-               InsetCommandParams params;
+               bool recalculate;
                ///
                docstring generated_label;
                ///