summaryrefslogtreecommitdiff
path: root/sw/inc/dcontact.hxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2003-08-27 15:30:33 +0000
committerKurt Zenker <kz@openoffice.org>2003-08-27 15:30:33 +0000
commit98437ac30e29e0ef53a3cf54276581906c12084f (patch)
tree39b6b4124387dfc626b1acf4359681d339d4a84d /sw/inc/dcontact.hxx
parent1f3d72733bdac1eeef4475b0afae0abc7517c470 (diff)
INTEGRATION: CWS geordi2q02 (1.4.96); FILE MERGED
2003/08/25 12:03:11 hr 1.4.96.1: #111934#: joined from CWS mshapes01
Diffstat (limited to 'sw/inc/dcontact.hxx')
-rw-r--r--sw/inc/dcontact.hxx55
1 files changed, 52 insertions, 3 deletions
diff --git a/sw/inc/dcontact.hxx b/sw/inc/dcontact.hxx
index dabe11e2a4..ee87efe0a7 100644
--- a/sw/inc/dcontact.hxx
+++ b/sw/inc/dcontact.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dcontact.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: vg $ $Date: 2003-07-04 13:18:35 $
+ * last change: $Author: kz $ $Date: 2003-08-27 16:30:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -315,6 +315,32 @@ class SwDrawContact : public SwContact
void DestroyVirtObj( SwDrawVirtObj* pVirtObj );
void RemoveAllVirtObjs();
+ /** method to move object to visible/invisible layer
+
+ OD 21.08.2003 #i18447#
+ Implementation for the public method <MoveObjToVisibleLayer(..)>
+ and <MoveObjToInvisibleLayer(..)>
+ If object is in invisble respectively visible layer, its moved to
+ the corresponding visible respectively invisible layers.
+ For group object the members are individually moved to the corresponding
+ layer, because <SdrObjGroup::GetLayer()> does return 0, if members
+ aren't on the same layer as the group object, and
+ <SdrObjGroup::SetLayer(..)|NbcSetLayer(..)> sets also the layer of
+ the members.
+
+ @author OD
+
+ @param _bToVisible
+ input parameter - boolean indicating, if object has to be moved to
+ visible (== true) or invisible (== false) layer.
+
+ @param _pDrawObj
+ input parameter, which will be changed - drawing object, which will
+ change its layer.
+ */
+ void _MoveObjToLayer( const bool _bToVisible,
+ SdrObject* _pDrawObj );
+
public:
TYPEINFO();
@@ -381,7 +407,30 @@ class SwDrawContact : public SwContact
void MoveOffsetOfVirtObjs( const Size& _rMoveSize );
void InvalidateAnchorOfVirtObjs();
void NotifyBackgrdOfAllVirtObjs( const Rectangle* pOldBoundRect );
+
+ /** method to move drawing object to corresponding visible layer
+
+ OD 21.08.2003 #i18447#
+ uses method <_MoveObjToLayer(..)>
+
+ @author OD
+
+ @param _pDrawObj
+ drawing object, which will be moved to the visible layer
+ */
+ void MoveObjToVisibleLayer( SdrObject* _pDrawObj );
+
+ /** method to move drawing object to corresponding invisible layer
+
+ OD 21.08.2003 #i18447#
+ uses method <_MoveObjToLayer(..)>
+
+ @author OD
+
+ @param _pDrawObj
+ drawing object, which will be moved to the visible layer
+ */
+ void MoveObjToInvisibleLayer( SdrObject* _pDrawObj );
};
#endif
-