4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
16 #include "insetcommand.h"
18 class InsetHFill : public InsetCommand {
23 void metrics(MetricsInfo &, Dimension &) const;
25 std::auto_ptr<InsetBase> clone() const;
27 std::string const getScreenLabel(Buffer const &) const;
29 InsetOld::Code lyxCode() const { return InsetOld::HFILL_CODE; }
31 int latex(Buffer const &, std::ostream &,
32 OutputParams const &) const;
34 int plaintext(Buffer const &, std::ostream &,
35 OutputParams const & runparams) const;
37 int linuxdoc(Buffer const &, std::ostream &,
38 OutputParams const &) const;
40 int docbook(Buffer const &, std::ostream &,
41 OutputParams const & runparams) const;
43 void write(Buffer const & buf, std::ostream & os) const;
44 /// We don't need \begin_inset and \end_inset
45 bool directWrite() const { return true; }