diff options
author | Oliver Düsterhoff <od@openoffice.org> | 2004-08-03 04:50:32 +0000 |
---|---|---|
committer | Oliver Düsterhoff <od@openoffice.org> | 2004-08-03 04:50:32 +0000 |
commit | 5b36bf838cbdaac15849d1f6ebf8460971158a6e (patch) | |
tree | 7a4acfbb6f1e450eb5f65faea4d80992c3913f89 /sw/inc/anchoreddrawobject.hxx | |
parent | 6edf2b055d09f2bd4b5e5bf0686158ffb621933a (diff) |
#i28701# integration of cws swobjpos04 into master
Diffstat (limited to 'sw/inc/anchoreddrawobject.hxx')
-rw-r--r-- | sw/inc/anchoreddrawobject.hxx | 47 |
1 files changed, 29 insertions, 18 deletions
diff --git a/sw/inc/anchoreddrawobject.hxx b/sw/inc/anchoreddrawobject.hxx index 153d9d635e1d..50702a25f693 100644 --- a/sw/inc/anchoreddrawobject.hxx +++ b/sw/inc/anchoreddrawobject.hxx @@ -2,9 +2,9 @@ * * $RCSfile: anchoreddrawobject.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: hjs $ $Date: 2004-06-28 13:29:02 $ + * last change: $Author: od $ $Date: 2004-08-03 05:50:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -64,17 +64,6 @@ #ifndef _ANCHOREDOBJECT_HXX #include <anchoredobject.hxx> #endif -#ifndef _GEN_HXX -#include <tools/gen.hxx> -#endif - -enum tLayoutDir -{ - HORI_L2R, - HORI_R2L, - VERT_R2L, - VERT_L2R // not supported yet -}; /** class for the positioning of drawing objects @@ -89,9 +78,6 @@ class SwAnchoredDrawObject : public SwAnchoredObject // and that a positioning has to be performed. bool mbValidPos; - // boolean, indicating that the object positioning algorithm is in progress. - bool mbPositioningInProgress; - // rectangle, keeping the last object rectangle after the postioning Rectangle maLastObjRect; @@ -127,6 +113,14 @@ class SwAnchoredDrawObject : public SwAnchoredObject */ void _SetDrawObjAnchor( const Point _aOffsetToFrmAnchorPos ); + /** method to invalidate the given page frame + + OD 2004-07-02 #i28701# + + @author OD + */ + void _InvalidatePage( SwPageFrm* _pPageFrm ); + protected: /** method to indicate, that anchored drawing object is attached to @@ -136,6 +130,15 @@ class SwAnchoredDrawObject : public SwAnchoredObject */ virtual void ObjectAttachedToAnchorFrame(); + /** method to assure that anchored object is registered at the correct + page frame + + OD 2004-07-02 #i28701# + + @author OD + */ + virtual void RegisterAtCorrectPage(); + public: TYPEINFO(); @@ -145,8 +148,6 @@ class SwAnchoredDrawObject : public SwAnchoredObject // declaration of pure virtual methods of base class <SwAnchoredObject> virtual void MakeObjPos(); virtual void InvalidateObjPos(); - virtual void SetPositioningInProgress( const bool _bPosInProgress ); - virtual bool IsPositioningInProgress() const; // accessors to the format virtual SwFrmFmt& GetFrmFmt(); @@ -184,6 +185,16 @@ class SwAnchoredDrawObject : public SwAnchoredObject _SetPositioningAttr(); } } + + /** method to notify background of drawing object + + OD 2004-06-30 #i28701# + + @author OD + */ + virtual void NotifyBackground( SwPageFrm* _pPageFrm, + const SwRect& _rRect, + PrepareHint _eHint ); }; #endif |