X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsethfill.h;h=51f5b59fa1ddc4103eceb1d7f2ea2f0258000c79;hb=e28331ed63062dea10d0a21b9ec12034b4b17b9a;hp=c0a26174d6277fe6731b9592e44142dd1bd19215;hpb=686f1e276f013e2dc56e3025798c7131bef173f5;p=lyx.git diff --git a/src/insets/insethfill.h b/src/insets/insethfill.h index c0a26174d6..51f5b59fa1 100644 --- a/src/insets/insethfill.h +++ b/src/insets/insethfill.h @@ -15,27 +15,24 @@ #include "insetcommand.h" + +namespace lyx { + class InsetHFill : public InsetCommand { public: /// InsetHFill(); /// - void metrics(MetricsInfo &, Dimension &) const; + bool metrics(MetricsInfo &, Dimension &) const; /// - std::string const getScreenLabel(Buffer const &) const; + docstring const getScreenLabel(Buffer const &) const; /// InsetBase::Code lyxCode() const { return InsetBase::HFILL_CODE; } /// - int latex(Buffer const &, std::ostream &, - OutputParams const &) const; - /// - int plaintext(Buffer const &, std::ostream &, + int plaintext(Buffer const &, odocstream &, OutputParams const & runparams) const; /// - int linuxdoc(Buffer const &, std::ostream &, - OutputParams const &) const; - /// - int docbook(Buffer const &, std::ostream &, + int docbook(Buffer const &, odocstream &, OutputParams const & runparams) const; /// void write(Buffer const & buf, std::ostream & os) const; @@ -48,4 +45,7 @@ private: virtual std::auto_ptr doClone() const; }; + +} // namespace lyx + #endif