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"
15 #include "support/std_ostream.h"
22 InsetHFill::InsetHFill()
23 : InsetCommand(InsetCommandParams("hfill"), std::string())
27 std::auto_ptr<InsetBase> InsetHFill::doClone() const
29 return std::auto_ptr<InsetBase>(new InsetHFill);
33 void InsetHFill::metrics(MetricsInfo &, Dimension & dim) const
42 docstring const InsetHFill::getScreenLabel(Buffer const &) const
44 return lyx::from_ascii(getContents());
48 int InsetHFill::latex(Buffer const &, ostream & os,
49 OutputParams const &) const
56 int InsetHFill::plaintext(Buffer const &, lyx::odocstream & os,
57 OutputParams const &) const
64 int InsetHFill::docbook(Buffer const &, std::ostream & os,
65 OutputParams const &) const
72 void InsetHFill::write(Buffer const &, ostream & os) const
78 bool InsetHFill::isSpace() const