]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetVSpace.h
requires is a keyword in C++2a
[lyx.git] / src / insets / InsetVSpace.h
index 4724c7b5670ff6abd7ce8906374c2d0dfb3caab7..b2c8ac9780bb799af576770e4ece9bff7fdc3dc9 100644 (file)
@@ -24,7 +24,7 @@ public:
        ///
        InsetVSpace() : Inset(0) {}
        ///
-       InsetVSpace(VSpace const &);
+       explicit InsetVSpace(VSpace const &);
        /// How much?
        VSpace const & space() const { return space_; }
        ///
@@ -32,6 +32,8 @@ public:
        ///
        bool hasSettings() const { return true; }
        ///
+       bool clickable(BufferView const &, int, int) const { return true; }
+       ///
        std::string contextMenuName() const;
        ///
        static void string2params(std::string const &, VSpace &);
@@ -45,7 +47,8 @@ private:
        ///
        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,