summaryrefslogtreecommitdiff
path: root/sw/source/core/view/vdraw.cxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-11-14 14:12:32 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-11-14 14:12:32 +0000
commit33da383870b6ca09f9daf7deb07b223c3443e3eb (patch)
treed5411644b973e8906aaf69dfe9327ff7b50608ae /sw/source/core/view/vdraw.cxx
parent0743bb435719aee8e184eb3c99f19a5f9bb8c01e (diff)
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#
Diffstat (limited to 'sw/source/core/view/vdraw.cxx')
-rw-r--r--sw/source/core/view/vdraw.cxx68
1 files changed, 34 insertions, 34 deletions
diff --git a/sw/source/core/view/vdraw.cxx b/sw/source/core/view/vdraw.cxx
index af8148d077..7c187e5c81 100644
--- a/sw/source/core/view/vdraw.cxx
+++ b/sw/source/core/view/vdraw.cxx
@@ -4,9 +4,9 @@
*
* $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 terms of GNU Lesser General Public License Version 2.1.
@@ -90,11 +90,14 @@
#include "dview.hxx"
#include "flyfrm.hxx"
+#ifndef _SV_SVAPP_HXX
+#include <vcl/svapp.hxx>
+#endif
+
#ifndef IDOCUMENTDRAWMODELACCESS_HXX_INCLUDED
#include <IDocumentDrawModelAccess.hxx>
#endif
-
/*************************************************************************
|*
|* SwSaveHdl
@@ -103,24 +106,24 @@
|* Letzte Aenderung MA 02. Jun. 98
|*
|*************************************************************************/
-SwSaveHdl::SwSaveHdl( SwViewImp *pI ) :
- pImp( pI ),
- bXorVis( FALSE )
-{
- if ( pImp->HasDrawView() )
- {
- bXorVis = pImp->GetDrawView()->IsShownXorVisible( pImp->GetShell()->GetOut());
- if ( bXorVis )
- pImp->GetDrawView()->HideShownXor( pImp->GetShell()->GetOut() );
- }
-}
-
-
-SwSaveHdl::~SwSaveHdl()
-{
- if ( bXorVis )
- pImp->GetDrawView()->ShowShownXor( pImp->GetShell()->GetOut() );
-}
+//SwSaveHdl::SwSaveHdl( SwViewImp *pI ) :
+// pImp( pI ),
+// bXorVis( FALSE )
+//{
+ //if ( pImp->HasDrawView() )
+ //{
+ // bXorVis = pImp->GetDrawView()->IsShownXorVisible( pImp->GetShell()->GetOut());
+ // if ( bXorVis )
+ // pImp->GetDrawView()->HideShownXor( pImp->GetShell()->GetOut() );
+ //}
+//}
+
+
+//SwSaveHdl::~SwSaveHdl()
+//{
+ //if ( bXorVis )
+ // pImp->GetDrawView()->ShowShownXor( pImp->GetShell()->GetOut() );
+//}
/*************************************************************************
@@ -140,8 +143,8 @@ void SwViewImp::StartAction()
SET_CURR_SHELL( GetShell() );
if ( pSh->ISA(SwFEShell) )
((SwFEShell*)pSh)->HideChainMarker(); //Kann sich geaendert haben
- bResetXorVisibility = GetDrawView()->IsShownXorVisible( GetShell()->GetOut());
- GetDrawView()->HideShownXor( GetShell()->GetOut() );
+ //bResetXorVisibility = GetDrawView()->IsShownXorVisible( GetShell()->GetOut());
+ //GetDrawView()->HideShownXor( GetShell()->GetOut() );
}
}
@@ -152,8 +155,8 @@ void SwViewImp::EndAction()
if ( HasDrawView() )
{
SET_CURR_SHELL( GetShell() );
- if ( bResetXorVisibility )
- GetDrawView()->ShowShownXor( GetShell()->GetOut() );
+ //if ( bResetXorVisibility )
+ // GetDrawView()->ShowShownXor( GetShell()->GetOut() );
if ( pSh->ISA(SwFEShell) )
((SwFEShell*)pSh)->SetChainMarker(); //Kann sich geaendert haben
}
@@ -175,7 +178,7 @@ void SwViewImp::LockPaint()
{
bShowHdlPaint = GetDrawView()->IsMarkHdlShown();
if ( bShowHdlPaint )
- GetDrawView()->HideMarkHdl( GetShell()->GetOut() );
+ GetDrawView()->HideMarkHdl();
bResetHdlHiddenPaint = !GetDrawView()->IsMarkHdlHidden();
GetDrawView()->SetMarkHdlHidden( TRUE );
}
@@ -193,7 +196,7 @@ void SwViewImp::UnlockPaint()
if ( bResetHdlHiddenPaint )
GetDrawView()->SetMarkHdlHidden( FALSE );
if ( bShowHdlPaint )
- GetDrawView()->ShowMarkHdl( GetShell()->GetOut() );
+ GetDrawView()->ShowMarkHdl();
}
@@ -258,15 +261,12 @@ void SwViewImp::PaintLayer( const SdrLayerID _nLayerID,
GetDrawView()->GetModel()->GetDrawOutliner().SetDefaultHorizontalTextDirection( aEEHoriTextDirOfPage );
}
- //#110094#-3
- //Link aLnk( LINK( this, SwViewImp, PaintDispatcher ) );
pOutDev->Push( PUSH_LINECOLOR ); // #114231#
- GetPageView()->DrawLayer( _nLayerID, _rRect.SVRect(),
- pOutDev,
- GetShell()->IsPreView() ? SDRPAINTMODE_ANILIKEPRN : 0);
+ // Region aDrawRegion(_rRect.SVRect());
+ //GetPageView()->DrawLayer( _nLayerID, aDrawRegion, pOutDev,
+ // GetShell()->IsPreView() ? SDRPAINTMODE_ANILIKEPRN : 0);
+ GetPageView()->DrawLayer( _nLayerID, pOutDev, GetShell()->IsPreView() ? SDRPAINTMODE_ANILIKEPRN : 0);
pOutDev->Pop();
- //#110094#-3
- //,&aLnk );
// OD 29.08.2002 #102450#
// reset background color of the outliner