3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS.
13 #include "insethfill.h"
17 #include "support/std_ostream.h"
20 using lyx::odocstream;
25 InsetHFill::InsetHFill()
26 : InsetCommand(InsetCommandParams("hfill"), std::string())
30 std::auto_ptr<InsetBase> InsetHFill::doClone() const
32 return std::auto_ptr<InsetBase>(new InsetHFill);
36 void InsetHFill::metrics(MetricsInfo &, Dimension & dim) const
45 docstring const InsetHFill::getScreenLabel(Buffer const &) const
47 return _("Horizontal Fill");
51 int InsetHFill::latex(Buffer const &, odocstream & os,
52 OutputParams const &) const
54 os << getCommand() << "{}";
59 int InsetHFill::plaintext(Buffer const &, odocstream & os,
60 OutputParams const &) const
67 int InsetHFill::docbook(Buffer const &, odocstream & os,
68 OutputParams const &) const
75 void InsetHFill::write(Buffer const &, ostream & os) const
81 bool InsetHFill::isSpace() const