summaryrefslogtreecommitdiff
path: root/sw/inc/unocrsr.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/unocrsr.hxx')
-rw-r--r--sw/inc/unocrsr.hxx23
1 files changed, 14 insertions, 9 deletions
diff --git a/sw/inc/unocrsr.hxx b/sw/inc/unocrsr.hxx
index f3c1bb8ebef9..f58bc92fa3a3 100644
--- a/sw/inc/unocrsr.hxx
+++ b/sw/inc/unocrsr.hxx
@@ -49,9 +49,14 @@ private:
// forbidden and not implemented.
//SwUnoCrsr( const SwUnoCrsr& );
SwUnoCrsr & operator= ( const SwUnoCrsr& );
-public:
- virtual operator SwUnoCrsr* ();
+protected:
+
+ virtual const SwCntntFrm* DoSetBidiLevelLeftRight(
+ BOOL & io_rbLeft, BOOL bVisualAllowed, BOOL bInsertCrsr);
+ virtual void DoSetBidiLevelUpDown();
+
+public:
// virtual SwCursor* Create( SwPaM* pRing = 0 ) const;
@@ -62,21 +67,23 @@ public:
nsSwCursorSelOverFlags::SELOVER_TOGGLE |
nsSwCursorSelOverFlags::SELOVER_CHANGEPOS ));
+ virtual bool IsReadOnlyAvailable() const;
+
BOOL IsRemainInSection() const { return bRemainInSection; }
void SetRemainInSection( BOOL bFlag ) { bRemainInSection = bFlag; }
- BOOL IsSkipOverProtectSections() const
+ virtual BOOL IsSkipOverProtectSections() const
{ return bSkipOverProtectSections; }
void SetSkipOverProtectSections( BOOL bFlag )
{ bSkipOverProtectSections = bFlag; }
- BOOL IsSkipOverHiddenSections() const
+ virtual BOOL IsSkipOverHiddenSections() const
{ return bSkipOverHiddenSections; }
void SetSkipOverHiddenSections( BOOL bFlag )
{ bSkipOverHiddenSections = bFlag; }
// make copy of cursor
- SwUnoCrsr * Clone() const;
+ virtual SwUnoCrsr * Clone() const;
DECL_FIXEDMEMPOOL_NEWDEL( SwUnoCrsr )
};
@@ -98,10 +105,6 @@ public:
// virtual SwCursor* Create( SwPaM* pRing = 0 ) const;
- virtual operator SwUnoCrsr* ();
- virtual operator SwUnoTableCrsr* ();
- virtual operator SwTableCursor* ();
-
// gibt es eine Selection vom Content in die Tabelle
// Return Wert gibt an, ob der Crsr auf der alten Position verbleibt
virtual BOOL IsSelOvr( int eFlags =
@@ -109,6 +112,8 @@ public:
nsSwCursorSelOverFlags::SELOVER_TOGGLE |
nsSwCursorSelOverFlags::SELOVER_CHANGEPOS ));
+ virtual SwUnoTableCrsr * Clone() const;
+
void MakeBoxSels();
SwCursor& GetSelRing() { return aTblSel; }