]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetSpecialChar.h
Improve handling of top and bottom margin
[lyx.git] / src / insets / InsetSpecialChar.h
index 6474c571733ac2f7c8b574580e18a3387b15871d..286e3b990738193e2d9f3011c3b6c9e6244e85e5 100644 (file)
@@ -30,6 +30,8 @@ public:
        enum Kind {
                /// Optional hyphenation point (\-)
                HYPHENATION,
+               /// Optional line wrap point without hyphen (ZWSP)
+               ALLOWBREAK,
                /// Ligature break point (\textcompwordmark)
                LIGATURE_BREAK,
                /// ... (\ldots)
@@ -59,6 +61,10 @@ public:
        ///
        Kind kind() const;
        ///
+       docstring toolTip(BufferView const & bv, int x, int y) const;
+       /// some special chars allow line breaking after them
+       RowFlags rowFlags() const;
+       ///
        void metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -72,13 +78,13 @@ 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 toString(odocstream &) const;
        ///
-       bool isInToc() const { return true; }   
+       bool isInToc() const { return true; }
        ///
        void forOutliner(docstring &, size_t const, bool const) const;
        ///