49 if ( aIdx == aOldIdx )
118 while( aIdx.
GetIndex() < nEndCount )
124 if ( aIdx == aOldIdx )
152 true, !bInReadOnly );
164 true, !bInReadOnly );
214 if( &pPos->
GetNode() != &rCurrNd ||
static void SetSearchLabel(const SearchLabel &rSL)
virtual sal_Int32 Len() const
A helper class to save cursor state (position).
SAL_DLLPRIVATE void UpdateCursor(sal_uInt16 eFlags=SwCursorShell::SCROLLWIN|SwCursorShell::CHKRANGE, bool bIdleEnd=false)
bool MoveRegion(SwWhichRegion, SwMoveFnCollection const &)
SwShellTableCursor * m_pTableCursor
table Cursor; only in tables when the selection lays over 2 columns
@ READONLY
make visible in spite of Readonly
@ CHKRANGE
check overlapping PaMs
bool GotoRegion(std::u16string_view rName)
SwShellCursor * m_pCurrentCursor
current cursor
std::vector< SwCursor_SavePos > m_vSavePos
bool MoveRegion(SwWhichRegion, SwMoveFnCollection const &)
bool GotoRegion(std::u16string_view rName)
virtual bool IsSelOvr(SwCursorSelOverFlags eFlags=SwCursorSelOverFlags::CheckNodeSection|SwCursorSelOverFlags::Toggle|SwCursorSelOverFlags::ChangePos)
virtual bool IsReadOnlyAvailable() const
SwSectionFormats & GetSections()
const SwNodeIndex * GetContentIdx() const
Marks a node in the document model.
SwNodeOffset GetIndex() const
SwNodeIndex & Assign(SwNodes const &rNds, SwNodeOffset nIdx)
Base class of the Writer document model elements.
SwSectionNode * GetSectionNode()
SwNodes & GetNodes()
Node is in which nodes-array/doc?
SwSectionNode * FindSectionNode()
Search section node, in which it is.
const SwStartNode * StartOfSectionNode() const
const SwEndNode * EndOfSectionNode() const
bool IsDocNodes() const
Is the NodesArray the regular one of Doc? (and not the UndoNds, ...) Implementation in doc....
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)
SwNodeOffset Count() const
PaM is Point and Mark: a selection of the document model.
SwNode & GetPointNode() const
bool Move(SwMoveFnCollection const &fnMove=fnMoveForward, SwGoInDoc fnGo=GoInContent)
Movement of cursor.
const SwPosition * GetPoint() const
A section node represents the start of a section on the UI, i.e.
const SwSection & GetSection() const
bool IsProtectFlag() const
bool IsHiddenFlag() const
SwSection * GetParent() const
const OUString & GetSectionName() const
SwSectionFormat * GetFormat()
std::vector< SwSectionFormat * >::size_type size_type
bool(* SwWhichRegion)(SwPaM &, SwMoveFnCollection const &, bool bInReadOnly)
o3tl::strong_int< sal_Int32, struct Tag_SwNodeOffset > SwNodeOffset
bool GoInContent(SwPaM &rPam, SwMoveFnCollection const &fnMove)
SwMoveFnCollection const & fnMoveBackward
SwMoveFnCollection const & fnMoveForward
SwPam::Move()/Find() default argument.
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
sal_Int32 GetContentIndex() const
bool GotoCurrRegionAndSkip(SwPaM &rCurrentCursor, SwMoveFnCollection const &fnPosRegion, bool bInReadOnly)
bool GotoNextRegion(SwPaM &rCurrentCursor, SwMoveFnCollection const &fnPosRegion, bool bInReadOnly)
bool GotoPrevRegion(SwPaM &rCurrentCursor, SwMoveFnCollection const &fnPosRegion, bool bInReadOnly)