]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetScript.h
Fix logic error that led to bug #8777. I have no idea what I was
[lyx.git] / src / insets / InsetScript.h
index e558a76294a2d69eb8f887a42a1f3e1042b106af..decfee37aeca3a3e7683ac51759295f2e40950c8 100644 (file)
@@ -82,20 +82,11 @@ public:
        ///
        bool neverIndent() const { return true; }
        ///
-       bool forcePlainLayout(idx_type = 0) const { return true; }
-       ///
-       bool allowParagraphCustomization(idx_type = 0) const { return false; }
-       ///
-       virtual void validate(LaTeXFeatures &) const;
-       ///
-       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;
        ///
-       docstring xhtml(XHTMLStream &, OutputParams const &) const;
-       ///
        void edit(Cursor & cur, bool front,
                  EntryDirection entry_from = ENTRY_DIRECTION_IGNORE);
        ///
@@ -109,7 +100,7 @@ public:
        ///
        Inset * clone() const { return new InsetScript(*this); }
        ///
-       docstring contextMenuName() const;
+       std::string contextMenuName() const;
        //@}
 
        /// \name Public functions inherited from InsetText class