summaryrefslogtreecommitdiff
path: root/sw/inc/crstate.hxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-17 09:08:37 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-17 09:08:37 +0000
commitcc63f3f550be4c8fe22cc8c6ff874812eefae20e (patch)
treefd7a3ea1829eba56edab160a431ff247557c8e58 /sw/inc/crstate.hxx
parente23ea7a742cfd1e5cf93c45f0f96af3127043ac3 (diff)
INTEGRATION: CWS sw009 (1.9.2.1.26); FILE MERGED
2003/03/26 14:00:56 fme 1.9.2.1.26.1: #107493# GetCrsrOfst should return the index matching the bounding box of GetCharRect
Diffstat (limited to 'sw/inc/crstate.hxx')
-rw-r--r--sw/inc/crstate.hxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/sw/inc/crstate.hxx b/sw/inc/crstate.hxx
index d821ecd5c083..cd6ce636d66e 100644
--- a/sw/inc/crstate.hxx
+++ b/sw/inc/crstate.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: crstate.hxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: hr $ $Date: 2003-03-27 15:38:32 $
+ * last change: $Author: vg $ $Date: 2003-04-17 10:08:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -186,6 +186,9 @@ struct SwCrsrMoveState
BOOL bRealWidth :1; // Calculation of the width required
BOOL b2Lines :1; // Check 2line portions and fill p2Lines
BOOL bNoScroll :1; // No scrolling of undersized textframes
+ BOOL bPosMatchesBounds :1; // GetCrsrOfst should not return the next
+ // position if screen position is inside second
+ // have of bound rect
SwCrsrMoveState( CrsrMoveState eSt = MV_NONE ) :
pFill( NULL ),
@@ -202,7 +205,8 @@ struct SwCrsrMoveState
bSetInReadOnly( FALSE ),
bRealWidth( FALSE ),
b2Lines( FALSE ),
- bNoScroll( FALSE )
+ bNoScroll( FALSE ),
+ bPosMatchesBounds( FALSE )
{}
SwCrsrMoveState( SwFillCrsrPos *pInitFill ) :
pFill( pInitFill ),
@@ -218,7 +222,8 @@ struct SwCrsrMoveState
bSetInReadOnly( FALSE ),
bRealWidth( FALSE ),
b2Lines( FALSE ),
- bNoScroll( FALSE )
+ bNoScroll( FALSE ),
+ bPosMatchesBounds( FALSE )
{}
};