]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetVSpace.h
Reset cur.pit() when pasting into tables.
[lyx.git] / src / insets / InsetVSpace.h
index e065462ced23ba8cf5ec92564c3cbd8854dc20c6..21afbcd03605392a1f999bf0e46fc4a9c656d570 100644 (file)
@@ -32,22 +32,23 @@ public:
        ///
        bool hasSettings() const { return true; }
        ///
-       docstring contextMenuName() const;
+       bool clickable(BufferView const &, int, int) const { return true; }
+       ///
+       std::string contextMenuName() const;
        ///
        static void string2params(std::string const &, VSpace &);
        ///
        static std::string params2string(VSpace const &);
-       ///
-       bool clickable(int, int) const { return true; }
 private:
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        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,