X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetScript.h;h=11864d305c4a39e01d37939ad7ed6ef8fff83751;hb=0f5554a8f230b9522ff0a1c6e4e0784333ecfdcd;hp=e558a76294a2d69eb8f887a42a1f3e1042b106af;hpb=3f27f951cbc2521edfbf78792839d61306bdb978;p=lyx.git diff --git a/src/insets/InsetScript.h b/src/insets/InsetScript.h index e558a76294..11864d305c 100644 --- a/src/insets/InsetScript.h +++ b/src/insets/InsetScript.h @@ -80,22 +80,17 @@ public: /// void read(Lexer & lex); /// - 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; + bool neverIndent() const { return true; } /// - 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 +104,7 @@ public: /// Inset * clone() const { return new InsetScript(*this); } /// - docstring contextMenuName() const; + std::string contextMenuName() const; //@} /// \name Public functions inherited from InsetText class