]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetText.h
Fix wrongly copy-pasted entries in SpellcheckerUi.ui
[lyx.git] / src / insets / InsetText.h
index d848cbb0efc4cd7ebf0a2f5f9583315124e34995..1f643c029fcc9a606ad35e576508e46bf05ceaea 100644 (file)
@@ -73,7 +73,7 @@ public:
        Text & text() { return text_; }
        Text const & text() const { return text_; }
        ///
-       int latex(odocstream &, OutputParams const &) const;
+       void latex(otexstream &, OutputParams const &) const;
        ///
        int plaintext(odocstream &, OutputParams const &) const;
        ///
@@ -166,7 +166,9 @@ public:
        /// 
        void toString(odocstream &) const;
        ///
-       void addToToc(DocIterator const &);
+       void forToc(docstring &, size_t) const;
+       ///
+       void addToToc(DocIterator const &) const;
        ///
        Inset * clone() const { return new InsetText(*this); }
        ///
@@ -193,7 +195,10 @@ public:
        /// returns the text to be used as tooltip
        /// \param prefix: a string that will preced the tooltip,
        /// e.g., "Index: ".
-       docstring toolTipText(docstring prefix = empty_docstring()) const;
+       /// \param numlines: the number of lines in the tooltip
+       /// \param len: length of those lines
+       docstring toolTipText(docstring prefix = empty_docstring(),
+                       size_t numlines = 5, size_t len = 80) const;
 
        ///
        docstring contextMenu(BufferView const &, int, int) const;