mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
insetpagebreak: fix screen representation & ascii output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8012 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d66e61a93c
commit
eeb6a77860
@ -1,3 +1,7 @@
|
||||
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]:
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* \file insetline.C
|
||||
* \file insetpagebreak.C
|
||||
* This file is part of LyX, the document processor.
|
||||
* Licence details can be found in the file COPYING.
|
||||
*
|
||||
@ -49,8 +49,6 @@ void InsetPagebreak::metrics(MetricsInfo & mi, Dimension & dim) const
|
||||
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);
|
||||
@ -85,7 +83,7 @@ int InsetPagebreak::latex(Buffer const &, ostream & os,
|
||||
int InsetPagebreak::ascii(Buffer const &, ostream & os,
|
||||
LatexRunParams const &) const
|
||||
{
|
||||
os << "-------------------------------------------";
|
||||
os << '\n';
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user