X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetScript.h;h=3107b6255dd24c28a837bd42dc5f7d463f875204;hb=3cc3ff39a044a484faaaefbecf2a2937f7f102ef;hp=c9ac1d30e0abebfa3c50c326587586c068242df4;hpb=1ef605f6254ef3f3b8cec5440a2e67e6f23a707b;p=lyx.git diff --git a/src/insets/InsetScript.h b/src/insets/InsetScript.h index c9ac1d30e0..3107b6255d 100644 --- a/src/insets/InsetScript.h +++ b/src/insets/InsetScript.h @@ -65,7 +65,7 @@ public: /// InsetCode lyxCode() const { return SCRIPT_CODE; } /// - docstring name() const; + docstring layoutName() const; /// DisplayType display() const; /// @@ -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; } /// - int 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); /// @@ -109,7 +106,7 @@ public: /// Inset * clone() const { return new InsetScript(*this); } /// - docstring contextMenuName() const; + std::string contextMenuName() const; //@} /// \name Public functions inherited from InsetText class