summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/objectformattertxtfrm.hxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-02-03 16:18:13 +0000
committerKurt Zenker <kz@openoffice.org>2006-02-03 16:18:13 +0000
commit7b91eec4a4d9c85e4a940ae44e9ff9a6214a236b (patch)
tree7baa549f4cdf928b69452e27f2fe745fb89f8252 /sw/source/core/layout/objectformattertxtfrm.hxx
parente7ba37923b5cea447007cd36b28fa27d0fd313a8 (diff)
INTEGRATION: CWS swqbf52 (1.7.78); FILE MERGED
2006/01/27 08:46:46 od 1.7.78.1: #i58182# class <SwObjectFormatterTxtFrm> - replace private method <_CheckMovedFwdCondition(..)> by a corresponding static public one, because it's needed for the iterative positioning algorithm.
Diffstat (limited to 'sw/source/core/layout/objectformattertxtfrm.hxx')
-rw-r--r--sw/source/core/layout/objectformattertxtfrm.hxx69
1 files changed, 40 insertions, 29 deletions
diff --git a/sw/source/core/layout/objectformattertxtfrm.hxx b/sw/source/core/layout/objectformattertxtfrm.hxx
index b30508ff931c..655a67f93307 100644
--- a/sw/source/core/layout/objectformattertxtfrm.hxx
+++ b/sw/source/core/layout/objectformattertxtfrm.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: objectformattertxtfrm.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: obo $ $Date: 2005-11-17 16:34:20 $
+ * last change: $Author: kz $ $Date: 2006-02-03 17:18:13 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -129,33 +129,6 @@ class SwObjectFormatterTxtFrm : public SwObjectFormatter
sal_uInt32& _noToPageNum,
bool& _boInFollow );
- /** method to check the conditions, if 'anchor is moved forward'
-
- OD 2004-10-11 #i26945#
- OD 2005-03-30 #i43913# - add output parameter <_boInFollow>
-
- @author OD
-
- @param _nIdxOfCollected
- input parameter - index of collected anchored object, for which the
- conditions have to be checked.
-
- @param _noToPageNum
- output parameter - number of page frame, the 'anchor' of the returned
- anchored object is.
-
- @param _boInFollow
- output parameter - boolean, indicating that anchor text frame is
- currently on the same page, but it's a follow of in a follow row,
- which will move forward. value only relevant, if method return <true>.
-
- @return boolean
- indicating, if 'anchor is moved forward'
- */
- bool _CheckMovedFwdCondition( const sal_uInt32 _nIdxOfCollected,
- sal_uInt32& _noToPageNum,
- bool& _boInFollow );
-
/** method to format the anchor frame for checking of the move forward condition
OD 2005-01-11 #i40141#
@@ -202,6 +175,44 @@ class SwObjectFormatterTxtFrm : public SwObjectFormatter
formatted including its previous frames of the page.
*/
static void FormatAnchorFrmAndItsPrevs( SwTxtFrm& _rAnchorTxtFrm );
+
+ /** method to check the conditions, if 'anchor is moved forward'
+
+ OD 2004-10-11 #i26945#
+ OD 2005-03-30 #i43913# - add output parameter <_boInFollow>
+ OD 2006-01-27 #i58182# - replace method by a corresponding static
+ method, because it's needed for the iterative positioning algorithm.
+
+ @author OD
+
+ @param _rAnchoredObj
+ input parameter - anchored object, for which the condition has to checked.
+
+ @param _nFromPageNum
+ input parameter - number of the page, on which the check is performed
+
+ @param _bAnchoredAtMasterBeforeFormatAnchor
+ input parameter - boolean indicating, that the given anchored object
+ was anchored at the master frame before the anchor frame has been
+ formatted.
+
+ @param _noToPageNum
+ output parameter - number of page frame, the 'anchor' of the returned
+ anchored object is.
+
+ @param _boInFollow
+ output parameter - boolean, indicating that anchor text frame is
+ currently on the same page, but it's a follow of in a follow row,
+ which will move forward. value only relevant, if method return <true>.
+
+ @return boolean
+ indicating, if 'anchor is moved forward'
+ */
+ static bool CheckMovedFwdCondition( SwAnchoredObject& _rAnchoredObj,
+ const sal_uInt32 _nFromPageNum,
+ const bool _bAnchoredAtMasterBeforeFormatAnchor,
+ sal_uInt32& _noToPageNum,
+ bool& _boInFollow );
};
#endif