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