]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetSpecialChar.h
Properly fix handling of title layouts within insets (#11787)
[lyx.git] / src / insets / InsetSpecialChar.h
index 6474c571733ac2f7c8b574580e18a3387b15871d..b7c6e794d044cc677d5bb346dcce0cfd59bf64bc 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;
@@ -74,11 +80,11 @@ public:
        ///
        int docbook(odocstream &, 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;
        ///