X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetScript.h;h=3107b6255dd24c28a837bd42dc5f7d463f875204;hb=1bd422355430d4753e48eee298dafaf8c1ac458f;hp=eaec3c97c981a3f74f8e21531ddf112840ffce9b;hpb=7287a259c5436b8f3f384c0d0bd7641a2f2601e9;p=lyx.git diff --git a/src/insets/InsetScript.h b/src/insets/InsetScript.h index eaec3c97c9..3107b6255d 100644 --- a/src/insets/InsetScript.h +++ b/src/insets/InsetScript.h @@ -80,22 +80,19 @@ 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; + bool neverIndent() const { return true; } /// - void latex(otexstream &, OutputParams const &) const; + bool inheritFont() const { return false; } /// - 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); ///