]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetVSpace.h
Properly fix handling of title layouts within insets (#11787)
[lyx.git] / src / insets / InsetVSpace.h
index 03e8d59b5e51dd887af73486fa93489c71e00277..08e8ea882ec922051e7f95b1f2d357ff0caca58f 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 &);
@@ -54,13 +56,13 @@ private:
        /// The normal case is that this inset will be on a line by
        /// itself, and in that case the present paragraph will not,
        /// in fact, appear at all.
-       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       docstring xhtml(XMLStream &, OutputParams const &) const;
        ///
        void read(Lexer & lex);
        ///
        void write(std::ostream & os) const;
        ///
-       DisplayType display() const { return AlignCenter; }
+       RowFlags rowFlags() const { return Display; }
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///