]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetVSpace.h
Natbib authoryear uses (Ref1; Ref2) by default.
[lyx.git] / src / insets / InsetVSpace.h
index eeec30c1b8970025c5b40835fbcac5b04969943a..03e8d59b5e51dd887af73486fa93489c71e00277 100644 (file)
@@ -25,8 +25,6 @@ public:
        InsetVSpace() : Inset(0) {}
        ///
        InsetVSpace(VSpace const &);
-       ///
-       ~InsetVSpace();
        /// How much?
        VSpace const & space() const { return space_; }
        ///
@@ -34,7 +32,7 @@ public:
        ///
        bool hasSettings() const { return true; }
        ///
-       docstring contextMenu(BufferView const & bv, int x, int y) const;
+       std::string contextMenuName() const;
        ///
        static void string2params(std::string const &, VSpace &);
        ///
@@ -45,9 +43,10 @@ private:
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
-       int latex(odocstream &, OutputParams const &) const;
+       void latex(otexstream &, OutputParams const &) const;
        ///
-       int plaintext(odocstream &, OutputParams const &) const;
+       int plaintext(odocstringstream & ods, OutputParams const & op,
+                     size_t max_length = INT_MAX) const;
        ///
        int docbook(odocstream &, OutputParams const &) const;
        /// Note that this returns the inset rather than writing it,
@@ -70,8 +69,6 @@ private:
        Inset * clone() const { return new InsetVSpace(*this); }
        ///
        docstring const label() const;
-       ///
-       bool showInsetDialog(BufferView * bv) const;
 
        ///
        VSpace space_;