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::string const getScreenLabel(Buffer const &) const;
27 InsetBase::Code lyxCode() const { return InsetBase::HFILL_CODE; }
29 int latex(Buffer const &, std::ostream &,
30 OutputParams const &) const;
32 int plaintext(Buffer const &, std::ostream &,
33 OutputParams const & runparams) const;
35 int docbook(Buffer const &, std::ostream &,
36 OutputParams const & runparams) const;
38 void write(Buffer const & buf, std::ostream & os) const;
39 /// We don't need \begin_inset and \end_inset
40 bool directWrite() const { return true; }
41 /// is this equivalent to a space (which is BTW different from
45 virtual std::auto_ptr<InsetBase> doClone() const;