diff options
author | Robert Roth <robert.roth.off@gmail.com> | 2010-11-01 02:50:47 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-11-01 20:53:22 +0000 |
commit | 43a36b36986dd2112fc90340e7a8a11ea5369def (patch) | |
tree | 9d20f7db3c4476651295f6f1a92cec36b2ac53dc /sw/inc/anchoreddrawobject.hxx | |
parent | Some redundant and bogus comments removed, some German comments translated. (diff) | |
download | core-43a36b36986dd2112fc90340e7a8a11ea5369def.tar.gz core-43a36b36986dd2112fc90340e7a8a11ea5369def.zip |
Commented out code, bogus comments removed, some german comments translated.
Diffstat (limited to 'sw/inc/anchoreddrawobject.hxx')
-rw-r--r-- | sw/inc/anchoreddrawobject.hxx | 36 |
1 files changed, 5 insertions, 31 deletions
diff --git a/sw/inc/anchoreddrawobject.hxx b/sw/inc/anchoreddrawobject.hxx index 47594915644e..f191cc7dd5bd 100644 --- a/sw/inc/anchoreddrawobject.hxx +++ b/sw/inc/anchoreddrawobject.hxx @@ -33,8 +33,6 @@ /** class for the positioning of drawing objects - OD 2004-03-25 #i26791# - @author OD */ class SW_DLLPUBLIC SwAnchoredDrawObject : public SwAnchoredObject @@ -45,7 +43,6 @@ class SW_DLLPUBLIC SwAnchoredDrawObject : public SwAnchoredObject bool mbValidPos; // rectangle, keeping the last object rectangle after the postioning - // --> OD 2004-09-29 #i34748# - change <maLastObjRect> to a pointer Rectangle* mpLastObjRect; // boolean, indicating that anchored drawing object hasn't been attached @@ -53,23 +50,21 @@ class SW_DLLPUBLIC SwAnchoredDrawObject : public SwAnchoredObject // boolean changes its state. bool mbNotYetAttachedToAnchorFrame; - // --> OD 2004-08-09 #i28749# - boolean, indicating that anchored + // boolean, indicating that anchored // drawing object hasn't been positioned yet. Once, it's positioned the // boolean changes its state. bool mbNotYetPositioned; - // --> OD 2006-03-17 #i62875# // boolean, indicating that after change of layout direction the // anchored drawing object has to be captured on the page, if it exceeds // the left or right page margin. // Needed for compatibility option <DoNotCaptureDrawObjsOnPage> bool mbCaptureAfterLayoutDirChange; - // <-- /** method for the intrinsic positioning of a at-paragraph|at-character anchored drawing object - OD 2004-08-12 #i32795# - helper method for method <MakeObjPos> + helper method for method <MakeObjPos> @author OD */ @@ -78,7 +73,7 @@ class SW_DLLPUBLIC SwAnchoredDrawObject : public SwAnchoredObject /** method for the intrinsic positioning of a at-page|at-frame anchored drawing object - OD 2004-08-12 #i32795# - helper method for method <MakeObjPos> + helper method for method <MakeObjPos> @author OD */ @@ -86,7 +81,6 @@ class SW_DLLPUBLIC SwAnchoredDrawObject : public SwAnchoredObject /** method to set positioning attributes (not for as-character anchored) - OD 2004-10-20 #i35798# During load the positioning attributes aren't set. Thus, the positioning attributes are set by the current object geometry. This method is also used for the conversion for drawing objects @@ -115,8 +109,6 @@ class SW_DLLPUBLIC SwAnchoredDrawObject : public SwAnchoredObject /** method to invalidate the given page frame - OD 2004-07-02 #i28701# - @author OD */ void _InvalidatePage( SwPageFrm* _pPageFrm ); @@ -127,20 +119,15 @@ class SW_DLLPUBLIC SwAnchoredDrawObject : public SwAnchoredObject /** method to assure that anchored object is registered at the correct page frame - OD 2004-07-02 #i28701# - @author OD */ virtual void RegisterAtCorrectPage(); - // --> OD 2006-08-10 #i68520# virtual bool _SetObjTop( const SwTwips _nTop); virtual bool _SetObjLeft( const SwTwips _nLeft); - // <-- - // --> OD 2006-10-05 #i70122# virtual const SwRect GetObjBoundRect() const; - // <-- + public: TYPEINFO(); @@ -161,23 +148,18 @@ class SW_DLLPUBLIC SwAnchoredDrawObject : public SwAnchoredObject // accessors to the object area and its position virtual const SwRect GetObjRect() const; - // --> OD 2004-09-29 #i34748# - change return type to a pointer. // Return value can be NULL. const Rectangle* GetLastObjRect() const; - // <-- - // --> OD 2004-09-29 #i34748# - change method + void SetLastObjRect( const Rectangle& _rNewObjRect ); - // <-- /** adjust positioning and alignment attributes for new anchor frame - OD 2004-04-21 Set horizontal and vertical position/alignment to manual position relative to anchor frame area using the anchor position of the new anchor frame and the current absolute drawing object position. Note: For correct Undo/Redo method should only be called inside a Undo-/Redo-action. - OD 2004-08-24 #i33313# - add second optional parameter <_pNewObjRect> @author OD @@ -193,29 +175,21 @@ class SW_DLLPUBLIC SwAnchoredDrawObject : public SwAnchoredObject /** method to notify background of drawing object - OD 2004-06-30 #i28701# - @author OD */ virtual void NotifyBackground( SwPageFrm* _pPageFrm, const SwRect& _rRect, PrepareHint _eHint ); - // --> OD 2005-08-16 #i53320# inline bool NotYetPositioned() const { return mbNotYetPositioned; } - // <-- - // --> OD 2006-03-17 #i62875# // change of layout direction needs to be tracked // for setting <mbCaptureAfterLayoutDirChange>. virtual void UpdateLayoutDir(); - // <-- - // --> OD 2006-03-17 #i62875# bool IsOutsidePage() const; - // <-- // new Loop control void ValidateThis() { mbValidPos = true; } |