30 , m_bRemainInSection(true)
31 , m_bSkipOverHiddenSections(false)
32 , m_bSkipOverProtectSections(false)
48 pNxt->MoveTo(
nullptr);
79 if( pOldSttNd != pNewSttNd )
82 bool bValidPos =
false;
90 if( rPtPos.
GetNode() > *pOldSttNd &&
97 pInvalidNode =
nullptr;
100 const SwStartNode *pSttNd = pNewSttNd, *pEndNd = pOldSttNd;
102 pEndNd->EndOfSectionIndex() )
108 while( pSttNd->
GetIndex() > pEndNd->GetIndex() )
111 pInvalidNode = pSttNd;
127 rPtPos.
Assign( *pInvalidNode, -1 );
131 rPtPos.
GetNode() < *pOldSttNd ) )
137 }
while ( pInvalidNode );
160 , m_aTableSel(rPos, nullptr)
178 FindTableNode() && (!
HasMark() ||
187 bool bMakeTableCursors =
true;
193 if ( !bMakeTableCursors )
196 while (!rTmpBoxes.
empty())
virtual const SwRootFrame * GetCurrentLayout() const =0
bool HasListeners() const
SwContentFrame is the layout for content nodes: a common base class for text (paragraph) and non-text...
SwContentFrame * getLayoutFrame(const SwRootFrame *, const SwPosition *pPos=nullptr, std::pair< Point, bool > const *pViewPosAndCalcFrame=nullptr) const
virtual sal_Int32 Len() const
virtual bool IsSelOvr(SwCursorSelOverFlags eFlags=SwCursorSelOverFlags::CheckNodeSection|SwCursorSelOverFlags::Toggle|SwCursorSelOverFlags::ChangePos)
const SwCursor_SavePos * GetSavePos() const
IDocumentLayoutAccess const & getIDocumentLayoutAccess() const
Marks a node in the document model.
Base class of the Writer document model elements.
SwNodeOffset GetIndex() const
const SwStartNode * FindTableBoxStartNode() const
bool IsContentNode() const
bool IsSectionNode() const
SwTableNode * FindTableNode()
Search table node, in which it is.
const SwStartNode * StartOfSectionNode() const
SwNodeOffset EndOfSectionIndex() const
const SwEndNode * EndOfSectionNode() const
SwContentNode * GoNextSection(SwNodeIndex *, bool bSkipHidden=true, bool bSkipProtect=true) const
Go to next content-node that is not protected or hidden (Both set FALSE ==> GoNext/GoPrevious!...
static SwContentNode * GoPrevSection(SwNodeIndex *, bool bSkipHidden=true, bool bSkipProtect=true)
const SwPosition * GetMark() const
SwContentNode * GetPointContentNode() const
SwContentNode * GetMarkContentNode() const
const SwPosition * GetPoint() const
bool HasMark() const
A PaM marks a selection if Point and Mark are distinct positions.
bool MakeTableCursors(SwTableCursor &)
Calculates the cells included from the current selection.
Starts a section of nodes in the document model.
SwTableBox is one table cell in the document model.
void DeleteBox(size_t nPos)
SwCursor * MakeBoxSels(SwCursor *pCurrentCursor)
const SwSelBoxes & GetSelectedBoxes() const
size_t GetSelectedBoxesCount() const
void InsertBox(const SwTableBox &rTableBox)
const SwTable & GetTable() const
const SwTableBox * GetTableBox(const OUString &rName, const bool bPerformValidCheck=false) const
virtual bool IsReadOnlyAvailable() const override
virtual const SwContentFrame * DoSetBidiLevelLeftRight(bool &io_rbLeft, bool bVisualAllowed, bool bInsertCursor) override
void SetRemainInSection(bool bFlag)
virtual bool IsSelOvr(SwCursorSelOverFlags eFlags=SwCursorSelOverFlags::CheckNodeSection|SwCursorSelOverFlags::Toggle|SwCursorSelOverFlags::ChangePos) override
virtual ~SwUnoCursor() override
virtual void DoSetBidiLevelUpDown() override
SfxBroadcaster m_aNotifier
SwUnoCursor(const SwPosition &rPos)
SwUnoTableCursor(const SwPosition &rPos)
virtual ~SwUnoTableCursor() override
virtual bool IsSelOvr(SwCursorSelOverFlags eFlags=SwCursorSelOverFlags::CheckNodeSection|SwCursorSelOverFlags::Toggle|SwCursorSelOverFlags::ChangePos) override
Ring()
Creates a new item in a ring container all by itself.
Marks a position in the document model.
void Assign(const SwNode &rNd, SwNodeOffset nDelta, sal_Int32 nContentOffset=0)
These all set both nNode and nContent.
void SetContent(sal_Int32 nContentIndex)
Set content index, only valid to call this if the position points to a SwContentNode subclass.
SwNodeOffset GetNodeIndex() const
virtual ~UnoCursorHint() override