]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetSpace.h
Properly fix handling of title layouts within insets (#11787)
[lyx.git] / src / insets / InsetSpace.h
index 2784022955b6e80adfe84234ced1eec780394325..65b1dc6ac4ed0c9b473a69fdb130c3c8c3db8f24 100644 (file)
@@ -42,9 +42,9 @@ struct InsetSpaceParams {
                QUAD,
                /// \qquad (2em)
                QQUAD,
-               /// \enskip (0.5em unbreakable)
+               /// \enspace (0.5em unbreakable)
                ENSPACE,
-               /// \enspace (0.5em breakable)
+               /// \enskip (0.5em breakable)
                ENSKIP,
                /// Negative thin space ('\negthinspace')
                NEGTHIN,
@@ -113,6 +113,8 @@ public:
 
        ///
        docstring toolTip(BufferView const & bv, int x, int y) const;
+       /// unprotected spaces allow line breaking after them
+       RowFlags rowFlags() const;
        ///
        void metrics(MetricsInfo &, Dimension &) const;
        ///
@@ -129,7 +131,7 @@ public:
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
-       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       docstring xhtml(XMLStream &, OutputParams const &) const;
        ///
        void validate(LaTeXFeatures & features) const;
        ///