#include <config.h>
#include "insethfill.h"
+#include "gettext.h"
#include "support/std_ostream.h"
-using lyx::docstring;
-using lyx::odocstream;
+
+namespace lyx {
using std::ostream;
docstring const InsetHFill::getScreenLabel(Buffer const &) const
{
- return lyx::from_ascii(getContents());
-}
-
-
-int InsetHFill::latex(Buffer const &, odocstream & os,
- OutputParams const &) const
-{
- os << getCommand() << "{}";
- return 0;
+ return _("Horizontal Fill");
}
}
-int InsetHFill::docbook(Buffer const &, std::ostream & os,
+int InsetHFill::docbook(Buffer const &, odocstream & os,
OutputParams const &) const
{
os << '\n';
{
return true;
}
+
+
+} // namespace lyx