]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetText.h
Get rid of regex_constants::match_partial
[lyx.git] / src / insets / InsetText.h
index b1d1502393f0baf9f51e7e51917fa52cf9cb721f..1a6d123ac6981d98f116a26add9d18d956b1e4d6 100644 (file)
@@ -17,8 +17,6 @@
 #include "ColorCode.h"
 #include "Text.h"
 
-#include "insets/InsetLayout.h"
-
 namespace lyx {
 
 class CompletionList;
@@ -75,7 +73,8 @@ public:
        ///
        void latex(otexstream &, OutputParams const &) const;
        ///
-       int plaintext(odocstream &, OutputParams const &) const;
+       int plaintext(odocstringstream & ods, OutputParams const & op,
+                     size_t max_length = INT_MAX) const;
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
@@ -171,9 +170,9 @@ public:
        ///
        void toString(odocstream &) const;
        ///
-       void forToc(docstring &, size_t) const;
+       void forOutliner(docstring &, size_t) const;
        ///
-       void addToToc(DocIterator const &) const;
+       void addToToc(DocIterator const & di, bool output_active) const;
        ///
        Inset * clone() const { return new InsetText(*this); }
        ///
@@ -218,14 +217,14 @@ protected:
        docstring getCaptionText(OutputParams const &) const;
        ///
        docstring getCaptionHTML(OutputParams const &) const;
+       ///
+       void iterateForToc(DocIterator const & cdit, bool output_active) const;
 private:
        ///
        bool drawFrame_;
        ///
        ColorCode frame_color_;
        ///
-       mutable pit_type old_pit;
-       ///
        mutable Text text_;
 };