X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetScript.h;h=3107b6255dd24c28a837bd42dc5f7d463f875204;hb=1bd422355430d4753e48eee298dafaf8c1ac458f;hp=eb3b55632adaf5950a7b374467ca65b05e02e5d9;hpb=e7f2bbe1eec4752ae2c88481bd77320186bbb8fb;p=lyx.git diff --git a/src/insets/InsetScript.h b/src/insets/InsetScript.h index eb3b55632a..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(odocstream &, 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