+2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
+
+ * insetpagebreak.C: fix screen representation & ascii output.
+
2003-11-01 Alfredo Braunstein <abraunst@libero.it>
* inset.[Ch]:
/**
- * \file insetline.C
+ * \file insetpagebreak.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
void InsetPagebreak::draw(PainterInfo & pi, int x, int y) const
{
static std::string const label = _("Page Break");
- pi.pain.line(x, y, x + dim_.wid, y, LColor::topline, Painter::line_solid,
- Painter::line_thick);
LyXFont font;
font.setColor(LColor::pagebreak);
int InsetPagebreak::ascii(Buffer const &, ostream & os,
LatexRunParams const &) const
{
- os << "-------------------------------------------";
+ os << '\n';
return 0;
}