Kaydet (Commit) 677f977e authored tarafından Daniel Rentz's avatar Daniel Rentz

#88289# Redesign fixes

üst 32f56b70
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: numvset.hxx,v $ * $RCSfile: numvset.hxx,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: os $ $Date: 2001-01-31 12:22:37 $ * last change: $Author: dr $ $Date: 2001-06-22 16:15:11 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -193,7 +193,8 @@ class SvxNumberingPreview : public Window ...@@ -193,7 +193,8 @@ class SvxNumberingPreview : public Window
public: public:
SvxNumberingPreview(Window* pParent, const ResId& rResId ) : SvxNumberingPreview(Window* pParent, const ResId& rResId ) :
Window(pParent, rResId), Window(pParent, rResId),
pActNum(0),nPageWidth(0), pOutlineNames(0), bPosition(FALSE), nActLevel(USHRT_MAX) {} pActNum(0),nPageWidth(0), pOutlineNames(0), bPosition(FALSE), nActLevel(USHRT_MAX)
{ SetBorderStyle( WINDOW_BORDER_MONO ); }
void SetNumRule(const SvxNumRule* pNum) void SetNumRule(const SvxNumRule* pNum)
{pActNum = pNum; Invalidate();}; {pActNum = pNum; Invalidate();};
......
This diff is collapsed.
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: numpages.cxx,v $ * $RCSfile: numpages.cxx,v $
* *
* $Revision: 1.13 $ * $Revision: 1.14 $
* *
* last change: $Author: os $ $Date: 2001-06-20 08:36:57 $ * last change: $Author: dr $ $Date: 2001-06-22 16:15:54 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -3076,6 +3076,7 @@ void SvxNumberingPreview::Paint( const Rectangle& rRect ) ...@@ -3076,6 +3076,7 @@ void SvxNumberingPreview::Paint( const Rectangle& rRect )
pVDev->SetOutputSize( aSize ); pVDev->SetOutputSize( aSize );
pVDev->SetLineColor();
pVDev->SetFillColor( Color( COL_WHITE ) ); pVDev->SetFillColor( Color( COL_WHITE ) );
pVDev->DrawRect(aRect); pVDev->DrawRect(aRect);
......
This diff is collapsed.
This diff is collapsed.
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: pagectrl.cxx,v $ * $RCSfile: pagectrl.cxx,v $
* *
* $Revision: 1.4 $ * $Revision: 1.5 $
* *
* last change: $Author: hjs $ $Date: 2000-11-09 18:26:22 $ * last change: $Author: dr $ $Date: 2001-06-22 16:15:54 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -210,14 +210,14 @@ void SvxPageWindow::DrawPage( const Point& rOrg, const BOOL bSecond, const BOOL ...@@ -210,14 +210,14 @@ void SvxPageWindow::DrawPage( const Point& rOrg, const BOOL bSecond, const BOOL
{ {
// Schatten // Schatten
Size aTempSize = aSize; Size aTempSize = aSize;
if ( aTempSize.Height() > aTempSize.Width() ) // if ( aTempSize.Height() > aTempSize.Width() )
// Beim Hochformat die H"ohe etwas verkleinern, damit der Schatten passt. // // Beim Hochformat die H"ohe etwas verkleinern, damit der Schatten passt.
aTempSize.Height() -= PixelToLogic( Size( 0, 2 ) ).Height(); // aTempSize.Height() -= PixelToLogic( Size( 0, 2 ) ).Height();
Point aShadowPt( rOrg ); // Point aShadowPt( rOrg );
aShadowPt += PixelToLogic( Point( 2, 2 ) ); // aShadowPt += PixelToLogic( Point( 2, 2 ) );
SetLineColor( Color( COL_GRAY ) ); // SetLineColor( Color( COL_GRAY ) );
SetFillColor( Color( COL_GRAY ) ); // SetFillColor( Color( COL_GRAY ) );
DrawRect( Rectangle( aShadowPt, aTempSize ) ); // DrawRect( Rectangle( aShadowPt, aTempSize ) );
// Seite // Seite
SetLineColor( Color( COL_BLACK ) ); SetLineColor( Color( COL_BLACK ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment