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"
21 class InsetHFill : public InsetCommand {
26 void metrics(MetricsInfo &, Dimension &) const;
28 docstring const getScreenLabel(Buffer const &) const;
30 Inset::Code lyxCode() const { return Inset::HFILL_CODE; }
32 int plaintext(Buffer const &, odocstream &,
33 OutputParams const &) const;
35 int docbook(Buffer const &, odocstream &,
36 OutputParams const &) 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 Inset * clone() const;