X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetfloatlist.h;h=0808119bf67623375ab6bdb3b028fdeba8bdba5f;hb=e28331ed63062dea10d0a21b9ec12034b4b17b9a;hp=4a7aaa317de2cf16ddea2a6bd968d667d28a18a4;hpb=686f1e276f013e2dc56e3025798c7131bef173f5;p=lyx.git diff --git a/src/insets/insetfloatlist.h b/src/insets/insetfloatlist.h index 4a7aaa317d..0808119bf6 100644 --- a/src/insets/insetfloatlist.h +++ b/src/insets/insetfloatlist.h @@ -15,6 +15,9 @@ #include "insetcommand.h" + +namespace lyx { + /** Used to insert table of contents */ class InsetFloatList : public InsetCommand { @@ -24,7 +27,7 @@ public: /// InsetFloatList(std::string const & type); /// - std::string const getScreenLabel(Buffer const &) const; + docstring const getScreenLabel(Buffer const &) const; /// EDITABLE editable() const { return IS_EDITABLE; } /// @@ -36,24 +39,24 @@ public: /// void read(Buffer const &, LyXLex &); /// - int latex(Buffer const &, std::ostream &, + int latex(Buffer const &, odocstream &, OutputParams const &) const; /// - int linuxdoc(Buffer const &, std::ostream &, - OutputParams const &) const { return 0; } - /// - int docbook(Buffer const &, std::ostream &, + int docbook(Buffer const &, odocstream &, OutputParams const &) const { return 0; } /// - int plaintext(Buffer const &, std::ostream &, + int plaintext(Buffer const &, odocstream &, OutputParams const & runparams) const; /// void validate(LaTeXFeatures & features) const; private: virtual std::auto_ptr doClone() const { - return std::auto_ptr(new InsetFloatList(getCmdName())); + return std::auto_ptr(new InsetFloatList(to_ascii(getParam("type")))); } }; + +} // namespace lyx + #endif