X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetCommand.h;h=c3b5005d2716580cf2474b41a09eb0fbbe2a2b53;hb=62d36bf04d436c83ddace8aeaf4dbd493d674cdf;hp=2d1d678a222878b0a1e731b44df70d1daea13ee5;hpb=f27853ad41e62f15793902e163754c4b3db1400a;p=lyx.git diff --git a/src/insets/InsetCommand.h b/src/insets/InsetCommand.h index 2d1d678a22..c3b5005d27 100644 --- a/src/insets/InsetCommand.h +++ b/src/insets/InsetCommand.h @@ -66,7 +66,7 @@ public: /// void write(std::ostream & os) const { p_.write(os); } /// - void read(Lexer & lex) { p_.read(lex); } + void read(Lexer & lex, Buffer const * buf) { p_.read(lex, buf); } /// void doDispatch(Cursor & cur, FuncRequest & cmd); /// @@ -76,9 +76,10 @@ public: /// void draw(PainterInfo & pi, int x, int y) const; /// - int latex(odocstream &, OutputParams const &) const; + void latex(otexstream &, OutputParams const &) const; /// - 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 & runparams) const; /// @@ -91,7 +92,7 @@ protected: /// \name Methods relaying to the InsetCommandParams p_ //@{ /// - docstring contextMenu(BufferView const & bv, int x, int y) const; + std::string contextMenuName() const; /// bool showInsetDialog(BufferView * bv) const; ///