diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-08-02 12:04:47 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-08-02 12:04:47 +0000 |
commit | fb0770f464c42eb49cf46526ee7ac65a3957fb72 (patch) | |
tree | 8ac115e6cd1ae4407fbcf119ded66e312dabfc3f /sw/inc/anchoredobject.hxx | |
parent | INTEGRATION: CWS os35 (1.50.86); FILE MERGED (diff) | |
download | core-fb0770f464c42eb49cf46526ee7ac65a3957fb72.tar.gz core-fb0770f464c42eb49cf46526ee7ac65a3957fb72.zip |
INTEGRATION: CWS swqbugfixes04 (1.2.22); FILE MERGED
2004/07/15 08:35:45 od 1.2.22.2: #117380# <SwAnchoredObject::CheckCharRectAndTopOfLine(..)>
- add parameter to control, if check for paragraph portion
information has to be done.
2004/07/14 13:46:55 od 1.2.22.1: #117380# class <SwAnchoredObject> - improve private methods
<_CheckCharRect(..)> and <_CheckTopOfLine(..)>
Diffstat (limited to 'sw/inc/anchoredobject.hxx')
-rw-r--r-- | sw/inc/anchoredobject.hxx | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/sw/inc/anchoredobject.hxx b/sw/inc/anchoredobject.hxx index 015941114855..47aba0fec391 100644 --- a/sw/inc/anchoredobject.hxx +++ b/sw/inc/anchoredobject.hxx @@ -2,9 +2,9 @@ * * $RCSfile: anchoredobject.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: hjs $ $Date: 2004-06-28 13:29:16 $ + * last change: $Author: hr $ $Date: 2004-08-02 13:04:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -75,6 +75,9 @@ class SdrObject; class SwFrm; class SwLayoutFrm; +// --> OD 2004-07-14 #117380# +class SwTxtFrm; +// <-- class SwFrmFmt; class SwFmtAnchor; @@ -122,13 +125,20 @@ class SwAnchoredObject For to-character anchored Writer fly frames the member <maLastCharRect> is updated. This is checked for change and depending on the applied positioning, it's decided, if the Writer fly frame has to be invalidated. + OD 2004-07-14 #117380# + improvement - add second parameter <_rAnchorCharFrm> @author OD @param _rAnch input parameter - reference to anchor position + + @param _rAnchorCharFrm + input parameter - reference to the text frame containing the anchor + character. */ - void _CheckCharRect( const SwFmtAnchor& _rAnch ); + void _CheckCharRect( const SwFmtAnchor& _rAnch, + const SwTxtFrm& _rAnchorCharFrm ); /** check top of line @@ -137,13 +147,20 @@ class SwAnchoredObject For to-character anchored Writer fly frames the member <mnLastTopOfLine> is updated. This is checked for change and depending on the applied positioning, it's decided, if the Writer fly frame has to be invalidated. + OD 2004-07-14 #117380# + improvement - add second parameter <_rAnchorCharFrm> @author OD @param _rAnch input parameter - reference to anchor position + + @param _rAnchorCharFrm + input parameter - reference to the text frame containing the anchor + character. */ - void _CheckTopOfLine( const SwFmtAnchor& _rAnch ); + void _CheckTopOfLine( const SwFmtAnchor& _rAnch, + const SwTxtFrm& _rAnchorCharFrm ); protected: SwAnchoredObject(); @@ -182,10 +199,16 @@ class SwAnchoredObject and <maLastTopOfLine> are updated. These are checked for change and depending on the applied positioning, it's decided, if the Writer fly frame has to be invalidated. + OD 2004-07-15 #117380# + add parameter <_bCheckForParaPorInf>, default value <true> @author OD + + @param _bCheckForParaPorInf + input parameter - boolean indicating, if check on paragraph portion + information has to be done. */ - void CheckCharRectAndTopOfLine(); + void CheckCharRectAndTopOfLine( const bool _bCheckForParaPorInf = true ); // accessors to member <maLastCharRect> const SwRect& GetLastCharRect() const; |