Kaydet (Commit) 31da2f08 authored tarafından Ivo Hinkelmann's avatar Ivo Hinkelmann

INTEGRATION: CWS aw024 (1.14.280); FILE MERGED

2006/09/22 01:31:46 aw 1.14.280.6: RESYNC: (1.17-1.18); FILE MERGED
2006/09/08 20:10:26 aw 1.14.280.5: RESYNC: (1.16-1.17); FILE MERGED
2006/08/03 17:01:48 aw 1.14.280.4: RESYNC: (1.15-1.16); FILE MERGED
2006/07/27 15:52:23 aw 1.14.280.3: #114408# adaptions for SC
2005/09/17 19:47:09 aw 1.14.280.2: RESYNC: (1.14-1.15); FILE MERGED
2005/05/19 12:15:20 aw 1.14.280.1: #i39529#
üst 81ee012d
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: vdraw.cxx,v $ * $RCSfile: vdraw.cxx,v $
* *
* $Revision: 1.18 $ * $Revision: 1.19 $
* *
* last change: $Author: obo $ $Date: 2006-09-16 22:02:33 $ * last change: $Author: ihi $ $Date: 2006-11-14 15:12:32 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -90,11 +90,14 @@ ...@@ -90,11 +90,14 @@
#include "dview.hxx" #include "dview.hxx"
#include "flyfrm.hxx" #include "flyfrm.hxx"
#ifndef _SV_SVAPP_HXX
#include <vcl/svapp.hxx>
#endif
#ifndef IDOCUMENTDRAWMODELACCESS_HXX_INCLUDED #ifndef IDOCUMENTDRAWMODELACCESS_HXX_INCLUDED
#include <IDocumentDrawModelAccess.hxx> #include <IDocumentDrawModelAccess.hxx>
#endif #endif
/************************************************************************* /*************************************************************************
|* |*
|* SwSaveHdl |* SwSaveHdl
...@@ -103,24 +106,24 @@ ...@@ -103,24 +106,24 @@
|* Letzte Aenderung MA 02. Jun. 98 |* Letzte Aenderung MA 02. Jun. 98
|* |*
|*************************************************************************/ |*************************************************************************/
SwSaveHdl::SwSaveHdl( SwViewImp *pI ) : //SwSaveHdl::SwSaveHdl( SwViewImp *pI ) :
pImp( pI ), // pImp( pI ),
bXorVis( FALSE ) // bXorVis( FALSE )
{ //{
if ( pImp->HasDrawView() ) //if ( pImp->HasDrawView() )
{ //{
bXorVis = pImp->GetDrawView()->IsShownXorVisible( pImp->GetShell()->GetOut()); // bXorVis = pImp->GetDrawView()->IsShownXorVisible( pImp->GetShell()->GetOut());
if ( bXorVis ) // if ( bXorVis )
pImp->GetDrawView()->HideShownXor( pImp->GetShell()->GetOut() ); // pImp->GetDrawView()->HideShownXor( pImp->GetShell()->GetOut() );
} //}
} //}
SwSaveHdl::~SwSaveHdl() //SwSaveHdl::~SwSaveHdl()
{ //{
if ( bXorVis ) //if ( bXorVis )
pImp->GetDrawView()->ShowShownXor( pImp->GetShell()->GetOut() ); // pImp->GetDrawView()->ShowShownXor( pImp->GetShell()->GetOut() );
} //}
/************************************************************************* /*************************************************************************
...@@ -140,8 +143,8 @@ void SwViewImp::StartAction() ...@@ -140,8 +143,8 @@ void SwViewImp::StartAction()
SET_CURR_SHELL( GetShell() ); SET_CURR_SHELL( GetShell() );
if ( pSh->ISA(SwFEShell) ) if ( pSh->ISA(SwFEShell) )
((SwFEShell*)pSh)->HideChainMarker(); //Kann sich geaendert haben ((SwFEShell*)pSh)->HideChainMarker(); //Kann sich geaendert haben
bResetXorVisibility = GetDrawView()->IsShownXorVisible( GetShell()->GetOut()); //bResetXorVisibility = GetDrawView()->IsShownXorVisible( GetShell()->GetOut());
GetDrawView()->HideShownXor( GetShell()->GetOut() ); //GetDrawView()->HideShownXor( GetShell()->GetOut() );
} }
} }
...@@ -152,8 +155,8 @@ void SwViewImp::EndAction() ...@@ -152,8 +155,8 @@ void SwViewImp::EndAction()
if ( HasDrawView() ) if ( HasDrawView() )
{ {
SET_CURR_SHELL( GetShell() ); SET_CURR_SHELL( GetShell() );
if ( bResetXorVisibility ) //if ( bResetXorVisibility )
GetDrawView()->ShowShownXor( GetShell()->GetOut() ); // GetDrawView()->ShowShownXor( GetShell()->GetOut() );
if ( pSh->ISA(SwFEShell) ) if ( pSh->ISA(SwFEShell) )
((SwFEShell*)pSh)->SetChainMarker(); //Kann sich geaendert haben ((SwFEShell*)pSh)->SetChainMarker(); //Kann sich geaendert haben
} }
...@@ -175,7 +178,7 @@ void SwViewImp::LockPaint() ...@@ -175,7 +178,7 @@ void SwViewImp::LockPaint()
{ {
bShowHdlPaint = GetDrawView()->IsMarkHdlShown(); bShowHdlPaint = GetDrawView()->IsMarkHdlShown();
if ( bShowHdlPaint ) if ( bShowHdlPaint )
GetDrawView()->HideMarkHdl( GetShell()->GetOut() ); GetDrawView()->HideMarkHdl();
bResetHdlHiddenPaint = !GetDrawView()->IsMarkHdlHidden(); bResetHdlHiddenPaint = !GetDrawView()->IsMarkHdlHidden();
GetDrawView()->SetMarkHdlHidden( TRUE ); GetDrawView()->SetMarkHdlHidden( TRUE );
} }
...@@ -193,7 +196,7 @@ void SwViewImp::UnlockPaint() ...@@ -193,7 +196,7 @@ void SwViewImp::UnlockPaint()
if ( bResetHdlHiddenPaint ) if ( bResetHdlHiddenPaint )
GetDrawView()->SetMarkHdlHidden( FALSE ); GetDrawView()->SetMarkHdlHidden( FALSE );
if ( bShowHdlPaint ) if ( bShowHdlPaint )
GetDrawView()->ShowMarkHdl( GetShell()->GetOut() ); GetDrawView()->ShowMarkHdl();
} }
...@@ -258,15 +261,12 @@ void SwViewImp::PaintLayer( const SdrLayerID _nLayerID, ...@@ -258,15 +261,12 @@ void SwViewImp::PaintLayer( const SdrLayerID _nLayerID,
GetDrawView()->GetModel()->GetDrawOutliner().SetDefaultHorizontalTextDirection( aEEHoriTextDirOfPage ); GetDrawView()->GetModel()->GetDrawOutliner().SetDefaultHorizontalTextDirection( aEEHoriTextDirOfPage );
} }
//#110094#-3
//Link aLnk( LINK( this, SwViewImp, PaintDispatcher ) );
pOutDev->Push( PUSH_LINECOLOR ); // #114231# pOutDev->Push( PUSH_LINECOLOR ); // #114231#
GetPageView()->DrawLayer( _nLayerID, _rRect.SVRect(), // Region aDrawRegion(_rRect.SVRect());
pOutDev, //GetPageView()->DrawLayer( _nLayerID, aDrawRegion, pOutDev,
GetShell()->IsPreView() ? SDRPAINTMODE_ANILIKEPRN : 0); // GetShell()->IsPreView() ? SDRPAINTMODE_ANILIKEPRN : 0);
GetPageView()->DrawLayer( _nLayerID, pOutDev, GetShell()->IsPreView() ? SDRPAINTMODE_ANILIKEPRN : 0);
pOutDev->Pop(); pOutDev->Pop();
//#110094#-3
//,&aLnk );
// OD 29.08.2002 #102450# // OD 29.08.2002 #102450#
// reset background color of the outliner // reset background color of the outliner
......
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