summaryrefslogtreecommitdiffstats
path: root/sw/inc/anchoreddrawobject.hxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-03-22 11:21:41 +0000
committerOliver Bolte <obo@openoffice.org>2006-03-22 11:21:41 +0000
commit431833ce83b214ad80d9d1a59e81cb51c08a36d6 (patch)
tree496a358b00961c639b0f529a7f211ccdbddf3d18 /sw/inc/anchoreddrawobject.hxx
parentINTEGRATION: CWS printsetting (1.55.114); FILE MERGED (diff)
downloadcore-431833ce83b214ad80d9d1a59e81cb51c08a36d6.tar.gz
core-431833ce83b214ad80d9d1a59e81cb51c08a36d6.zip
INTEGRATION: CWS swdrawobjpos203 (1.9.124); FILE MERGED
2006/03/20 08:19:55 od 1.9.124.1: #i62875# class <SwAnchoredDrawObject> - new member <mbCaptureAfterLayoutDirChange> - overload method <UpdateLayoutDir()> to set <mbCaptureAfterLayoutDirChange> - new method <IsOutsidePage()>
Diffstat (limited to 'sw/inc/anchoreddrawobject.hxx')
-rw-r--r--sw/inc/anchoreddrawobject.hxx23
1 files changed, 20 insertions, 3 deletions
diff --git a/sw/inc/anchoreddrawobject.hxx b/sw/inc/anchoreddrawobject.hxx
index 17fb1e68d7d5..298ec420a593 100644
--- a/sw/inc/anchoreddrawobject.hxx
+++ b/sw/inc/anchoreddrawobject.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: anchoreddrawobject.hxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: hr $ $Date: 2005-12-28 17:11:07 $
+ * last change: $Author: obo $ $Date: 2006-03-22 12:21:41 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -69,6 +69,14 @@ class SwAnchoredDrawObject : public SwAnchoredObject
// 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
@@ -198,12 +206,21 @@ class SwAnchoredDrawObject : public SwAnchoredObject
const SwRect& _rRect,
PrepareHint _eHint );
- // --> OD 2005-08-16 #i53320#
+ // --> 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#
+ const bool IsOutsidePage() const;
+ // <--
};
#endif