]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetSpace.h
Improve handling of top and bottom margin
[lyx.git] / src / insets / InsetSpace.h
index 2784022955b6e80adfe84234ced1eec780394325..1111aa1e828d7215d56104e429930ad511f1a08f 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;
        ///
@@ -127,9 +129,9 @@ public:
        int plaintext(odocstringstream & ods, OutputParams const & op,
                      size_t max_length = INT_MAX) const;
        ///
-       int docbook(odocstream &, OutputParams const &) const;
+       void docbook(XMLStream &, OutputParams const &) const;
        ///
-       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       docstring xhtml(XMLStream &, OutputParams const &) const;
        ///
        void validate(LaTeXFeatures & features) const;
        ///