X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetArgument.h;h=37805ce3355bec9df2c14bb3280419fa40ba3ffe;hb=3588f2f69675df8dbf829800b0ed6e4a455c68b4;hp=f45c0ea0ad06200b8450a9be0a955ec744fa6e83;hpb=d866717ef7503a1373dd1cb3925e1ac97b079192;p=lyx.git diff --git a/src/insets/InsetArgument.h b/src/insets/InsetArgument.h index f45c0ea0ad..37805ce335 100644 --- a/src/insets/InsetArgument.h +++ b/src/insets/InsetArgument.h @@ -32,28 +32,36 @@ public: /// Outputting the parameter of a LaTeX command void latexArgument(otexstream &, OutputParams const &, bool optional) const; + + /// \name Public functions inherited from Inset class + //@{ /// bool hasSettings() const { return false; } - -private: - /// code of the inset + /// InsetCode lyxCode() const { return ARG_CODE; } /// - docstring name() const { return from_ascii("Argument"); } - /// Standard LaTeX output -- short-circuited - void latex(otexstream &, OutputParams const &) const; - /// Standard plain text output -- short-circuited - int plaintext(odocstream &, OutputParams const &) const; - /// Standard DocBook output -- short-circuited - int docbook(odocstream &, OutputParams const &) const; - /// Standard XHTML output -- short-circuited - docstring xhtml(XHTMLStream &, OutputParams const &) const; - /// Write out to the .lyx file + docstring layoutName() const { return from_ascii("Argument"); } + /// + void latex(otexstream &, OutputParams const &) const { } + /// + int plaintext(odocstream &, OutputParams const &) const { return 0; } + /// + int docbook(odocstream &, OutputParams const &) const { return 0; } + /// + docstring xhtml(XHTMLStream &, OutputParams const &) const + { return docstring(); }; + /// void write(std::ostream & os) const; - /// should paragraph indendation be ommitted in any case? + /// bool neverIndent() const { return true; } + //@} + +protected: + /// \name Protected functions inherited from Inset class + //@{ /// Inset * clone() const { return new InsetArgument(*this); } + //@} };