summaryrefslogtreecommitdiff
path: root/sw/inc/swcrsr.hxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-11-22 14:28:27 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-11-22 14:28:27 +0000
commit80222e48d88a591cfb6af7a6477ead815109146a (patch)
tree843ff4c3aca6e749807f34380d8f1f458808cf09 /sw/inc/swcrsr.hxx
parenta522ec0d94ac5ec3aee7ef54355e9ff5d3456ea2 (diff)
INTEGRATION: CWS swcolsel (1.17.240); FILE MERGED
2007/11/08 16:03:40 ama 1.17.240.4: RESYNC: (1.19-1.20); FILE MERGED 2007/10/05 15:36:39 ama 1.17.240.3: RESYNC: (1.18-1.19); FILE MERGED 2007/04/11 10:03:31 ama 1.17.240.2: RESYNC: (1.17-1.18); FILE MERGED Resync conflict solved 2007/03/01 14:29:57 ama 1.17.240.1: #i75024#: Column selection
Diffstat (limited to 'sw/inc/swcrsr.hxx')
-rw-r--r--sw/inc/swcrsr.hxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/sw/inc/swcrsr.hxx b/sw/inc/swcrsr.hxx
index e2419f41ef6e..30886ec44b4e 100644
--- a/sw/inc/swcrsr.hxx
+++ b/sw/inc/swcrsr.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: swcrsr.hxx,v $
*
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
- * last change: $Author: vg $ $Date: 2007-10-22 15:07:18 $
+ * last change: $Author: ihi $ $Date: 2007-11-22 15:28:27 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -90,6 +90,7 @@ class SwCursor : public SwPaM
_SwCursor_SavePos* pSavePos;
long mnRowSpanOffset; // required for travelling in tabs with rowspans
BYTE nCursorBidiLevel; // bidi level of the cursor
+ bool mbColumnSelection; // true: cursor is aprt of a column selection
ULONG FindAll( SwFindParas& , SwDocPositions, SwDocPositions, FindRanges, BOOL& bCancel );
@@ -104,7 +105,7 @@ protected:
public:
// single argument ctors shall be explicit.
- SwCursor( const SwPosition &rPos, SwPaM* pRing = 0 );
+ SwCursor( const SwPosition &rPos, SwPaM* pRing, bool bColumnSel );
virtual ~SwCursor();
// @@@ semantic: no copy ctor.
@@ -241,6 +242,9 @@ public:
BYTE GetCrsrBidiLevel() const { return nCursorBidiLevel; }
void SetCrsrBidiLevel( BYTE nNewLevel ) { nCursorBidiLevel = nNewLevel; }
+ bool IsColumnSelection() const { return mbColumnSelection; }
+ void SetColumnSelection( bool bNew ) { mbColumnSelection = bNew; }
+
long GetCrsrRowSpanOffset() const { return mnRowSpanOffset; }
void SetCrsrRowSpanOffset( long nNew ) { mnRowSpanOffset = nNew; }