LibreOffice Module sw (master) 1
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
SwCursorShell Class Reference

#include <crsrsh.hxx>

Inheritance diagram for SwCursorShell:
[legend]
Collaboration diagram for SwCursorShell:
[legend]

Public Types

enum  CursorFlag {
  UPDOWN = (1 << 0) ,
  SCROLLWIN = (1 << 1) ,
  CHKRANGE = (1 << 2) ,
  READONLY = (1 << 3)
}
 for calling UpdateCursor More...
 
enum class  StartsWith {
  None ,
  Table ,
  HiddenPara
}
 
enum class  PopMode {
  DeleteCurrent ,
  DeleteStack
}
 
- Public Types inherited from sw::Ring< SwViewShell >
typedef std::add_const< SwViewShell >::type const_value_type
 
typedef RingContainer< SwViewShellring_container
 
typedef RingContainer< const_value_typeconst_ring_container
 

Public Member Functions

SAL_DLLPRIVATE void UpdateCursor (sal_uInt16 eFlags=SwCursorShell::SCROLLWIN|SwCursorShell::CHKRANGE, bool bIdleEnd=false)
 
 SwCursorShell (SwDoc &rDoc, vcl::Window *pWin, const SwViewOption *pOpt)
 default constructor More...
 
 SwCursorShell (SwCursorShell &rShell, vcl::Window *pWin)
 Copy constructor. More...
 
virtual ~SwCursorShell () override
 
virtual SwCursorCreateNewShellCursor () override
 Create and return a new shell cursor. More...
 
virtual SwCursorGetCurrentShellCursor () override
 Return the current shell cursor. More...
 
SwPaMCreateCursor ()
 delete the current cursor and make the following into the current More...
 
void DestroyCursor ()
 transform TableCursor to normal cursor, nullify Tablemode More...
 
void TableCursorToCursor ()
 enter block mode, change normal cursor into block cursor More...
 
void CursorToBlockCursor ()
 leave block mode, change block cursor into normal cursor More...
 
void BlockCursorToCursor ()
 
void ExtendedSelectAll (bool bFootnotes=true)
 
::std::optional<::std::pair< SwNode const *, ::std::vector< SwTableNode * > > > ExtendedSelectedAll () const
 If ExtendedSelectAll() was called and selection didn't change since then. More...
 
StartsWith StartsWith_ ()
 If document body starts with a table or starts/ends with hidden paragraph. More...
 
SwCursorGetCursor (bool bMakeTableCursor=true) const
 Return pointer to the current shell cursor. More...
 
SwShellCursorGetCursor_ ()
 
const SwShellCursorGetCursor_ () const
 
void SetSelection (const SwPaM &rCursor)
 
void ParkCursor (const SwNode &rIdx)
 Remove selections and additional cursors of all shells. More...
 
SwPaMGetStackCursor () const
 
void StartAction ()
 
void EndAction (const bool bIdleEnd=false)
 
tools::Long GetUpDownX () const
 
bool Left (sal_uInt16 nCnt, SwCursorSkipMode nMode, bool bAllowVisual=false)
 
bool Right (sal_uInt16 nCnt, SwCursorSkipMode nMode, bool bAllowVisual=false)
 
bool Up (sal_uInt16 nCnt=1)
 
bool Down (sal_uInt16 nCnt=1)
 
bool LeftMargin ()
 
bool RightMargin (bool bAPI=false)
 
bool SttEndDoc (bool bStt)
 
bool MovePage (SwWhichPage, SwPosPage)
 
bool MovePara (SwWhichPara, SwMoveFnCollection const &)
 
bool MoveSection (SwWhichSection, SwMoveFnCollection const &)
 
bool MoveTable (SwWhichTable, SwMoveFnCollection const &)
 
void MoveColumn (SwWhichColumn, SwPosColumn)
 
bool MoveRegion (SwWhichRegion, SwMoveFnCollection const &)
 
sal_Int32 Find_Text (const i18nutil::SearchOptions2 &rSearchOpt, bool bSearchInNotes, SwDocPositions eStart, SwDocPositions eEnd, bool &bCancel, FindRanges eRng, bool bReplace=false)
 
sal_Int32 FindFormat (const SwTextFormatColl &rFormatColl, SwDocPositions eStart, SwDocPositions eEnd, bool &bCancel, FindRanges eRng, const SwTextFormatColl *pReplFormat)
 
sal_Int32 FindAttrs (const SfxItemSet &rSet, bool bNoCollections, SwDocPositions eStart, SwDocPositions eEnd, bool &bCancel, FindRanges eRng, const i18nutil::SearchOptions2 *pSearchOpt, const SfxItemSet *rReplSet)
 
int SetCursor (const Point &rPt, bool bOnlyText=false, bool bBlock=true)
 
virtual void VisPortChgd (const SwRect &) override
 
void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
 
void SetMark ()
 
bool HasMark () const
 
void ClearMark ()
 
void NormalizePam (bool bPointFirst=true)
 Ensure point and mark of the current PaM are in a specific order. More...
 
void SwapPam ()
 
bool TestCurrPam (const Point &rPt, bool bTstHit=false)
 Search in the selected area for a Selection that covers the given point. More...
 
void KillPams ()
 
void Push ()
 store a copy of the current cursor on the cursor stack More...
 
bool Pop (PopMode, ::std::optional< SwCallLink > &roLink)
 
bool Pop (PopMode)
 delete cursor More...
 
void Combine ()
 Combine two cursors. More...
 
void SttCursorMove ()
 
void EndCursorMove (const bool bIdleEnd=false)
 
bool HasShellFocus () const
 
void ShellLoseFocus ()
 
void ShellGetFocus ()
 
void ShowCursor ()
 
void HideCursor ()
 
void ShowCursors (bool bCursorVis)
 
void HideCursors ()
 
bool IsOverwriteCursor () const
 
void SetOverwriteCursor (bool bFlag)
 
bool IsSendAccessibleCursorEvents () const
 
void SetSendAccessibleCursorEvents (bool bEnable)
 
SwContentFrameGetCurrFrame (const bool bCalcFrame=true) const
 Get current frame in which the cursor is positioned. More...
 
bool IsCursorReadonly () const
 
bool HasReadonlySel (bool isReplace=false) const
 
bool HasHiddenSections () const
 
bool IsReadOnlyAvailable () const
 
void SetReadOnlyAvailable (bool bFlag)
 is the cursor allowed to enter ReadOnly sections? More...
 
bool IsOverReadOnlyPos (const Point &rPt) const
 
void SetFlyMacroLnk (const Link< const SwFlyFrameFormat *, void > &rLnk)
 
const Link< const SwFlyFrameFormat *, void > & GetFlyMacroLnk () const
 
void SetChgLnk (const Link< LinkParamNone *, void > &rLnk)
 
const Link< LinkParamNone *, void > & GetChgLnk () const
 
void SetGrfArrivedLnk (const Link< SwCursorShell &, void > &rLnk)
 
const Link< SwCursorShell &, void > & GetGrfArrivedLnk () const
 
void CallChgLnk ()
 
bool HasSelection () const
 Does the current cursor create a selection? More...
 
bool IsSelection () const
 
bool IsMultiSelection () const
 
bool IsSelFullPara () const
 
bool ShouldWait () const
 Should WaitPtr be switched on for the clipboard? More...
 
bool IsSelOnePara () const
 
const SwRectGetCharRect () const
 
bool IsCursorVisible () const
 
void GetCharRectAt (SwRect &rRect, const SwPosition *pPos)
 
void GetPageNum (sal_uInt16 &rnPhyNum, sal_uInt16 &rnVirtNum, bool bAtCursorPos=true, const bool bCalcFrame=true)
 
sal_uInt16 GetPageNumSeqNonEmpty ()
 
sal_uInt16 GetNextPrevPageNum (bool bNext=true)
 
bool GotoPage (sal_uInt16 nPage)
 
sal_uInt16 GetPageCnt ()
 
bool GoNextCursor ()
 go to the next SSelection More...
 
bool GoPrevCursor ()
 go to the previous SSelection More...
 
void GoNextPrevCursorSetSearchLabel (const bool bNext)
 
::sw::mark::IMarkSetBookmark (const vcl::KeyCode &, const OUString &rName, IDocumentMarkAccess::MarkType eMark=IDocumentMarkAccess::MarkType::BOOKMARK)
 
::sw::mark::IMarkSetBookmark2 (const vcl::KeyCode &, const OUString &rName, bool bHide, const OUString &rCondition)
 
bool GotoMark (const ::sw::mark::IMark *const pMark)
 
bool GotoMark (const ::sw::mark::IMark *const pMark, bool bAtStart)
 
bool GoNextBookmark ()
 
bool GoPrevBookmark ()
 
bool IsFormProtected ()
 
::sw::mark::IFieldmark * GetCurrentFieldmark ()
 
sw::mark::IFieldmark * GetFieldmarkAfter (bool bLoop)
 
sw::mark::IFieldmark * GetFieldmarkBefore (bool bLoop)
 
bool GotoFieldmark (const ::sw::mark::IFieldmark *const pMark)
 
void UpdateCursorPos ()
 Set the cursor back into content. More...
 
OUString GetSelText () const
 get selected text of a node at current cursor More...
 
const SwTableNodeIsCursorInTable () const
 Check if Point of current cursor is placed within a table. More...
 
bool MoveOutOfTable ()
 
bool TrySelectOuterTable ()
 
bool MoveStartText ()
 
bool IsCursorInFootnote () const
 
PointGetCursorDocPos () const
 
Point GetCursorPagePos () const
 
bool IsCursorPtAtEnd () const
 
const SwPaMGetTableCrs () const
 
SwPaMGetTableCrs ()
 
bool IsTableComplexForChart ()
 
OUString GetBoxNms () const
 
bool GoNextCell (bool bAppendLine=true)
 set cursor into next/previous cell More...
 
bool GoPrevCell ()
 
bool GotoTable (const OUString &rName)
 
bool SelTableRow ()
 
bool SelTableCol ()
 
bool SelTableBox ()
 
bool SelTable ()
 
void GotoNextNum ()
 go to next/previous point on the same level More...
 
void GotoPrevNum ()
 
bool GotoOutline (const OUString &rName)
 
void GotoOutline (SwOutlineNodes::size_type nIdx)
 
SwOutlineNodes::size_type GetOutlinePos (sal_uInt8 nLevel=UCHAR_MAX, SwPaM *pPaM=nullptr)
 search "outline position" before previous outline node at given level More...
 
void MakeOutlineSel (SwOutlineNodes::size_type nSttPos, SwOutlineNodes::size_type nEndPos, bool bWithChildren, bool bKillPams=true)
 
bool GotoNextOutline ()
 jump to next node with outline num. More...
 
bool GotoPrevOutline ()
 jump to previous node with outline num. More...
 
SwShellCursorgetShellCursor (bool bBlock)
 Delivers the current shell cursor. More...
 
const SwShellCursorgetShellCursor (bool bBlock) const
 
bool IsBlockMode () const
 
bool IsTableMode () const
 
const SwShellTableCursorGetTableCursor () const
 
SwShellTableCursorGetTableCursor ()
 
size_t UpdateTableSelBoxes ()
 
bool GotoFootnoteText ()
 jump from content to footnote More...
 
bool GotoFootnoteAnchor ()
 jump from footnote to anchor More...
 
bool GotoPrevFootnoteAnchor ()
 
bool GotoNextFootnoteAnchor ()
 
void GotoFlyAnchor ()
 jump from the frame to the anchor More...
 
bool GotoHeaderText ()
 jump from the content to the header More...
 
bool GotoFooterText ()
 jump from the content to the footer More...
 
bool SetCursorInHdFt (size_t nDescNo, bool bInHeader, bool bEven=false, bool bFirst=false)
 
bool IsInHeaderFooter (bool *pbInHeader=nullptr) const
 
bool GotoNextTOXBase (const OUString *=nullptr)
 jump to the next index More...
 
bool GotoPrevTOXBase (const OUString *=nullptr)
 jump to previous index More...
 
void GotoTOXMarkBase ()
 jump to index of TOXMark More...
 
bool GotoNxtPrvTOXMark (bool bNext=true)
 jump to next/previous index marker More...
 
const SwTOXMarkGotoTOXMark (const SwTOXMark &rStart, SwTOXSearch eDir)
 traveling between marks More...
 
bool GotoNxtPrvTableFormula (bool bNext=true, bool bOnlyErrors=false)
 Jump to next/previous table formula Optionally it is possible to also jump to broken formulas. More...
 
bool SelectNxtPrvHyperlink (bool bNext)
 
bool GotoRefMark (const OUString &rRefMark, sal_uInt16 nSubType, sal_uInt16 nSeqNo)
 jump to reference marker More...
 
sal_Unicode GetChar (bool bEnd=true, tools::Long nOffset=0)
 get the nth character of the current SSelection More...
 
bool ExtendSelection (bool bEnd=true, sal_Int32 nCount=1)
 extend current SSelection by n characters More...
 
bool SetVisibleCursor (const Point &rPt)
 Move visible cursor to given position in document. More...
 
void UnSetVisibleCursor ()
 
SwVisibleCursorGetVisibleCursor () const
 
bool MoveFieldType (const SwFieldType *pFieldType, const bool bNext, const SwFieldIds nResType=SwFieldIds::Unknown, const bool bAddSetExpressionFieldsToInputFields=true)
 
bool GotoFormatField (const SwFormatField &rField)
 
bool GotoFormatContentControl (const SwFormatContentControl &rContentControl)
 
void GotoFormControl (bool bNext)
 Go to the next (or previous) form control, based first on tabIndex and then paragraph position, where a tabIndex of 1 is first, 0 is last, and -1 is excluded. More...
 
SwFieldGetCurField (const bool bIncludeInputFieldAtStart=false) const
 
bool CursorInsideInputField () const
 
SwTextContentControlCursorInsideContentControl () const
 
bool DocPtInsideInputField (const Point &rDocPt) const
 
sal_uInt16 GetCursorCnt (bool bAll=true) const
 Get the number of elements in the ring of cursors. More...
 
bool GoStartWord ()
 
bool GoEndWord ()
 
bool GoNextWord ()
 
bool GoPrevWord ()
 
bool GoNextSentence ()
 
bool GoStartSentence ()
 
bool GoEndSentence ()
 
bool SelectWord (const Point *pPt)
 
void ExpandToSentenceBorders ()
 
bool IsStartWord (sal_Int16 nWordType=css::i18n::WordType::ANYWORD_IGNOREWHITESPACES) const
 
bool IsEndWord (sal_Int16 nWordType=css::i18n::WordType::ANYWORD_IGNOREWHITESPACES) const
 
bool IsInWord (sal_Int16 nWordType=css::i18n::WordType::ANYWORD_IGNOREWHITESPACES) const
 
bool IsStartSentence () const
 
bool IsEndSentence () const
 
bool IsSttPara () const
 
bool IsEndPara () const
 
bool IsEndOfTable () const
 at the very last SwPosition inside a table More...
 
bool IsStartOfDoc () const
 
bool IsEndOfDoc () const
 
bool IsInFrontOfLabel () const
 
bool IsAtLeftMargin () const
 
bool IsAtRightMargin () const
 
bool ParkTableCursor ()
 Invalidate cursors. More...
 
bool IsGCAttr () const
 
void ClearGCAttr ()
 
void UpdateAttr ()
 
bool IsAllProtect () const
 
bool GotoRegion (std::u16string_view rName)
 
virtual void MakeSelVisible ()
 show the current selected "object" More...
 
bool FindValidContentNode (bool bOnlyText)
 search a valid content position (not protected/hidden) More...
 
bool GetContentAtPos (const Point &rPt, SwContentAtPos &rContentAtPos, bool bSetCursor=false, SwRect *pFieldRect=nullptr)
 
const SwPostItFieldGetPostItFieldAtCursor () const
 
void GetSmartTagRect (const Point &rPt, SwRect &rSelectRect)
 
void GetSmartTagTerm (std::vector< OUString > &rSmartTagTypes, css::uno::Sequence< css::uno::Reference< css::container::XStringKeyMap > > &rStringKeyMaps, css::uno::Reference< css::text::XTextRange > &rRange) const
 
bool IsPageAtPos (const Point &rPt) const
 
bool SelectTextAttr (sal_uInt16 nWhich, bool bExpand, const SwTextAttr *pAttr=nullptr)
 
bool GotoINetAttr (const SwTextINetFormat &rAttr)
 
const SwFormatINetFormatFindINetAttr (std::u16string_view rName) const
 
bool SelectTextModel (sal_Int32 nStart, sal_Int32 nEnd)
 
bool CheckTableBoxContent (const SwPosition *pPos=nullptr)
 
void SaveTableBoxContent (const SwPosition *pPos=nullptr)
 
void ClearTableBoxContent ()
 
bool EndAllTableBoxEdit ()
 
void SetSelTableCells (bool bFlag)
 
bool IsSelTableCells () const
 
void UnsetEnhancedTableSelection ()
 
SwTable::SearchType GetEnhancedTableSelection () const
 
bool IsAutoUpdateCells () const
 
void SetAutoUpdateCells (bool bFlag)
 
bool GetShadowCursorPos (const Point &rPt, SwFillMode eFillMode, SwRect &rRect, sal_Int16 &rOrient)
 
bool SetShadowCursorPos (const Point &rPt, SwFillMode eFillMode)
 
const SwRangeRedlineSelNextRedline ()
 
const SwRangeRedlineSelPrevRedline ()
 
const SwRangeRedlineGotoRedline (SwRedlineTable::size_type nArrPos, bool bSelect)
 
bool GotoFootnoteAnchor (const SwTextFootnote &rTextFootnote)
 
SAL_DLLPRIVATE SvxFrameDirection GetTextDirection (const Point *pPt=nullptr) const
 
bool IsInVerticalText (const Point *pPt=nullptr) const
 
bool IsInRightToLeftText () const
 
bool bColumnChange ()
 
bool IsInHiddenRange (const bool bSelect)
 If the current cursor position is inside a hidden range true is returned. More...
 
void ClearUpCursors ()
 
void SetMacroExecAllowed (const bool _bMacroExecAllowed)
 
bool IsMacroExecAllowed () const
 
OUString GetCursorDescr () const
 Returns textual description of the current selection. More...
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const override
 
OUString getPageRectangles ()
 Implementation of lok::Document::getPartPageRectangles() for Writer. More...
 
void NotifyCursor (SfxViewShell *pViewShell) const
 See SwView::NotifyCursor(). More...
 
- Public Member Functions inherited from SwViewShell
SwViewShellImpImp ()
 
const SwViewShellImpImp () const
 
const SwNodesGetNodes () const
 
void InitPrt (OutputDevice *pOutDev)
 
void StartAction ()
 
void ImplStartAction ()
 
void EndAction (const bool bIdleEnd=false)
 
void ImplEndAction (const bool bIdleEnd)
 
sal_uInt16 ActionCount () const
 
bool ActionPend () const
 
bool IsInEndAction () const
 
void SetRestoreActions (sal_uInt16 nSet)
 
sal_uInt16 GetRestoreActions () const
 
bool HasInvalidRect () const
 
void ChgHyphenation ()
 
void ChgNumberDigits ()
 
bool AddPaintRect (const SwRect &rRect)
 
void InvalidateWindows (const SwRect &rRect)
 
void FlushPendingLOKInvalidateTiles ()
 
void Reformat ()
 Invalidates complete Layout (ApplyViewOption). More...
 
void PrePaint ()
 
void DLPrePaint2 (const vcl::Region &rRegion)
 
void DLPostPaint2 (bool bPaintFormLayer)
 
const MapModegetPrePostMapMode () const
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
 
void PaintTile (VirtualDevice &rDevice, int contextWidth, int contextHeight, int tilePosX, int tilePosY, tools::Long tileWidth, tools::Long tileHeight)
 Paint tile. More...
 
bool IsPaintInProgress () const
 
bool IsDrawingLayerPaintInProgress () const
 
virtual void VisPortChgd (const SwRect &)
 
bool SmoothScroll (tools::Long lXDiff, tools::Long lYDiff, const tools::Rectangle *)
 
void EnableSmooth (bool b)
 
const SwRectVisArea () const
 
const tools::RectanglegetLOKVisibleArea () const
 The visible area in the client (set by setClientVisibleArea). More...
 
void setLOKVisibleArea (const tools::Rectangle &rArea)
 
void MakeVisible (const SwRect &)
 
void SizeChgNotify ()
 
void UISizeNotify ()
 
Point GetPagePos (sal_uInt16 nPageNum) const
 
sal_uInt16 GetNumPages () const
 
bool IsDummyPage (sal_uInt16 nPageNum) const
 
void SetFirstVisPageInvalid ()
 
SwRootFrameGetLayout () const
 
bool IsNewLayout () const
 
Size GetDocSize () const
 
virtual void CalcLayout ()
 
sal_uInt16 GetPageCount () const
 
Size GetPageSize (sal_uInt16 nPageNum, bool bSkipEmptyPages) const
 
SwDocGetDoc () const
 
const IDocumentSettingAccessgetIDocumentSettingAccess () const
 Provides access to the document setting interface. More...
 
IDocumentSettingAccessgetIDocumentSettingAccess ()
 
const IDocumentDeviceAccessgetIDocumentDeviceAccess () const
 Provides access to the document device interface. More...
 
IDocumentDeviceAccessgetIDocumentDeviceAccess ()
 
const IDocumentMarkAccessgetIDocumentMarkAccess () const
 Provides access to the document bookmark interface. More...
 
IDocumentMarkAccessgetIDocumentMarkAccess ()
 
const IDocumentDrawModelAccessgetIDocumentDrawModelAccess () const
 Provides access to the document draw model interface. More...
 
IDocumentDrawModelAccessgetIDocumentDrawModelAccess ()
 
const IDocumentRedlineAccessgetIDocumentRedlineAccess () const
 Provides access to the document redline interface. More...
 
IDocumentRedlineAccessgetIDocumentRedlineAccess ()
 
const IDocumentLayoutAccessgetIDocumentLayoutAccess () const
 Provides access to the document layout interface. More...
 
IDocumentLayoutAccessgetIDocumentLayoutAccess ()
 
IDocumentContentOperationsgetIDocumentContentOperations ()
 Provides access to the content operations interface. More...
 
IDocumentStylePoolAccessgetIDocumentStylePoolAccess ()
 Provides access to the document style pool interface. More...
 
const IDocumentStatisticsgetIDocumentStatistics () const
 Provides access to the document statistics interface. More...
 
IDocumentUndoRedo const & GetIDocumentUndoRedo () const
 Provides access to the document undo/redo interface. More...
 
IDocumentUndoRedo & GetIDocumentUndoRedo ()
 
const IDocumentListItemsgetIDocumentListItemsAccess () const
 
const IDocumentOutlineNodesgetIDocumentOutlineNodesAccess () const
 
vcl::RenderContextGetRefDev () const
 
vcl::WindowGetWin () const
 
vcl::RenderContextGetOut () const
 
void SetWin (vcl::Window *win)
 
void SetOut (vcl::RenderContext *pOut)
 
void ChgAllPageOrientation (Orientation eOri)
 
void ChgAllPageSize (Size const &rSz)
 
bool PrintOrPDFExport (OutputDevice *pOutDev, SwPrintData const &rPrintData, sal_Int32 nRenderer, bool bIsPDFExport)
 
void PrintProspect (OutputDevice *pOutDev, const SwPrintData &rPrintData, sal_Int32 nRenderer)
 print brochure More...
 
void FillPrtDoc (SwDoc &rPrtDoc, const SfxPrinter *pPrt)
 
void CalcPagesForPrint (sal_uInt16 nMax)
 
void UpdateFields (bool bCloseDB=false)
 Forces update of each field. More...
 
bool IsAnyFieldInDoc () const
 Check if the DocNodesArray contains fields. More...
 
void UpdateOleObjectPreviews ()
 Update the previews of all OLE objects. More...
 
void UpdateAllCharts ()
 update all charts for which any table exists More...
 
bool HasCharts () const
 
void SetParaSpaceMax (bool bNew)
 
void SetParaSpaceMaxAtPages (bool bNew)
 
void SetTabCompat (bool bNew)
 
void SetAddExtLeading (bool bNew)
 
void SetAddParaSpacingToTableCells (bool _bAddParaSpacingToTableCells)
 Sets if paragraph and table spacing is added at bottom of table cells. More...
 
void SetUseFormerLineSpacing (bool _bUseFormerLineSpacing)
 Sets if former formatting of text lines with proportional line spacing should used. More...
 
void SetUseFormerObjectPositioning (bool _bUseFormerObjPos)
 Sets IDocumentSettingAccess if former object positioning should be used. More...
 
void SetConsiderWrapOnObjPos (bool _bConsiderWrapOnObjPos)
 
void SetUseFormerTextWrapping (bool _bUseFormerTextWrapping)
 
void SetDoNotJustifyLinesWithManualBreak (bool _bDoNotJustifyLinesWithManualBreak)
 
void SetProtectForm (bool _bProtectForm)
 
void SetMsWordCompTrailingBlanks (bool _bMsWordCompTrailingBlanks)
 
void SetSubtractFlysAnchoredAtFlys (bool bSubtractFlysAnchoredAtFlys)
 
void SetEmptyDbFieldHidesPara (bool bEmptyDbFieldHidesPara)
 
void LayoutIdle ()
 
const SwViewOptionGetViewOptions () const
 
virtual void ApplyViewOptions (const SwViewOption &rOpt)
 
void SetUIOptions (const SwViewOption &rOpt)
 
virtual void SetReadonlyOption (bool bSet)
 
void SetPDFExportOption (bool bSet)
 
void SetPrtFormatOption (bool bSet)
 
void SetReadonlySelectionOption (bool bSet)
 
const SwAccessibilityOptionsGetAccessibilityOptions () const
 
SfxViewShellGetSfxViewShell () const
 
void SetSfxViewShell (SfxViewShell *pNew)
 
virtual void DrawSelChanged ()
 
SwPagePreviewLayoutPagePreviewLayout ()
 
void AdjustOptionsForPagePreview (SwPrintData const &rPrintOptions)
 adjust view options for page preview More...
 
bool IsViewLocked () const
 
void LockView (bool b)
 
void LockPaint (LockPaintReason eReason)
 
void ImplLockPaint ()
 
void UnlockPaint (bool bVirDev=false)
 
void ImplUnlockPaint (std::vector< LockPaintReason > &rReasons, bool bVirDev)
 
bool IsPaintLocked () const
 
bool HasDrawView () const
 
void MakeDrawView ()
 
bool HasDrawViewDrag () const
 
SdrViewGetDrawView ()
 
const SdrViewGetDrawView () const
 
SdrViewGetDrawViewWithValidMarkList ()
 
const SfxItemPoolGetAttrPool () const
 
SfxItemPoolGetAttrPool ()
 
bool IsPreview () const
 
void InvalidateLayout (bool bSizeChanged)
 
const SizeGetBrowseBorder () const
 
sal_Int32 GetBrowseWidth () const
 
void SetBrowseBorder (const Size &rNew)
 
css::uno::Reference< css::accessibility::XAccessible > CreateAccessible ()
 
css::uno::Reference< css::accessibility::XAccessible > CreateAccessiblePreview ()
 
void ShowPreviewSelection (sal_uInt16 nSelPage)
 
void InvalidateAccessibleFocus ()
 
void ApplyAccessibilityOptions ()
 
void InvalidateAccessibleParaFlowRelation (const SwTextFrame *_pFromTextFrame, const SwTextFrame *_pToTextFrame)
 invalidate CONTENT_FLOWS_FROM/_TO relation for paragraphs More...
 
void InvalidateAccessibleParaTextSelection ()
 invalidate text selection for paragraphs More...
 
void InvalidateAccessibleParaAttrs (const SwTextFrame &rTextFrame)
 invalidate attributes for paragraphs and paragraph's characters More...
 
SwAccessibleMapGetAccessibleMap ()
 
 SwViewShell (SwViewShell &, vcl::Window *pWin, OutputDevice *pOut=nullptr, tools::Long nFlags=0)
 CTor for further Shells on a document. More...
 
 SwViewShell (SwDoc &rDoc, vcl::Window *pWin, const SwViewOption *pOpt, OutputDevice *pOut=nullptr, tools::Long nFlags=0)
 CTor for the first Shell. More...
 
virtual ~SwViewShell () override
 
sal_Int32 GetPageNumAndSetOffsetForPDF (OutputDevice &rOut, const SwRect &rRect) const
 
bool IsInConstructor () const
 
const BitmapExGetReplacementBitmap (bool bIsErrorState)
 
void DeleteReplacementBitmaps ()
 
const SwPostItMgrGetPostItMgr () const
 
SwPostItMgrGetPostItMgr ()
 
void ToggleHeaderFooterEdit ()
 Acts both for headers / footers, depending on the bShow(Header|Footer)Separator flags. More...
 
bool IsHeaderFooterEdit () const
 Acts both for headers / footers, depending on the bShow(Header|Footer)Separator flags. More...
 
bool IsShowHeaderFooterSeparator (FrameControlType eControl)
 
virtual void SetShowHeaderFooterSeparator (FrameControlType eControl, bool bShow)
 
bool IsSelectAll () const
 
void setOutputToWindow (bool bOutputToWindow)
 
bool isOutputToWindow () const
 
void OnGraphicArrived (const SwRect &)
 
void GetFirstLastVisPageNumbers (SwVisiblePageNumbers &rVisiblePageNumbers)
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 
- Public Member Functions inherited from sw::Ring< SwViewShell >
virtual ~Ring () COVERITY_NOEXCEPT_FALSE
 
void unlink ()
 algo::unlink is buggy! don't call it directly! More...
 
void MoveTo (SwViewShell *pDestRing)
 Removes this item from its current ring container and adds it to another ring container. More...
 
ring_container GetRingContainer ()
 
const_ring_container GetRingContainer () const
 
- Public Member Functions inherited from sw::IShellCursorSupplier
virtual ~IShellCursorSupplier ()
 
virtual SwCursorCreateNewShellCursor ()=0
 
virtual SwCursorGetCurrentShellCursor ()=0
 

Static Public Member Functions

static SwTextFieldGetTextFieldAtPos (const SwPosition *pPos, ::sw::GetTextAttrMode eMode)
 
static SwTextFieldGetTextFieldAtCursor (const SwPaM *pCursor, ::sw::GetTextAttrMode eMode)
 
static SwFieldGetFieldAtCursor (const SwPaM *pCursor, const bool bIncludeInputFieldAtStart)
 
static bool PosInsideInputField (const SwPosition &rPos)
 
static sal_Int32 StartOfInputFieldAtPos (const SwPosition &rPos)
 
static sal_Int32 EndOfInputFieldAtPos (const SwPosition &rPos)
 
static void FirePageChangeEvent (sal_uInt16 nOldPage, sal_uInt16 nNewPage)
 
static void FireSectionChangeEvent (sal_uInt16 nOldSection, sal_uInt16 nNewSection)
 
static void FireColumnChangeEvent (sal_uInt16 nOldColumn, sal_uInt16 nNewColumn)
 
- Static Public Member Functions inherited from SwViewShell
static bool IsLstEndAction ()
 
static void PrtOle2 (SwDoc *pDoc, const SwViewOption *pOpt, const SwPrintData &rOptions, vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect, bool bOutputForScreen)
 
static void SetShellRes (ShellResource *pRes)
 
static ShellResourceGetShellRes ()
 
static weld::WindowCareChildWin (SwViewShell const &rVSh)
 
static void SetCareDialog (const std::shared_ptr< weld::Window > &rNew)
 
static weld::WindowGetCareDialog (SwViewShell const &rVSh)
 

Protected Member Functions

SwMoveFnCollection const & MakeFindRange (SwDocPositions, SwDocPositions, SwPaM *) const
 
int CompareCursorStackMkCurrPt () const
 
bool SelTableRowOrCol (bool bRow, bool bRowSimple=false)
 
bool SetInFrontOfLabel (bool bNew)
 
void RefreshBlockCursor ()
 
SAL_DLLPRIVATE void UpdateMarkedListLevel ()
 Updates the marked list level according to the cursor. More...
 
virtual void SwClientNotify (const SwModify &, const SfxHint &) override
 forward all attribute/format changes at the current node to the Link More...
 
- Protected Member Functions inherited from sw::Ring< SwViewShell >
 Ring ()
 Creates a new item in a ring container all by itself. More...
 
 Ring (SwViewShell *pRing)
 Creates a new item and add it to an existing ring container. More...
 
SwViewShellGetNextInRing ()
 
const_value_typeGetNextInRing () const
 
SwViewShellGetPrevInRing ()
 
const_value_typeGetPrevInRing () const
 
bool unique () const
 

Private Types

typedef bool(SwCursor::* FNCursor) ()
 
typedef bool(SwCursorShell::* FNCursorShell) ()
 

Private Member Functions

SAL_DLLPRIVATE void MoveCursorToNum ()
 
SAL_DLLPRIVATE void ParkPams (SwPaM *pDelRg, SwShellCursor **ppDelRing)
 
SAL_DLLPRIVATE void MarkListLevel (const OUString &sListId, const int nLevel)
 Mark a certain list level of a certain list. More...
 
bool LeftRight (bool, sal_uInt16, SwCursorSkipMode, bool)
 
SAL_DLLPRIVATE bool UpDown (bool, sal_uInt16)
 
SAL_DLLPRIVATE bool LRMargin (bool, bool bAPI=false)
 
SAL_DLLPRIVATE bool IsAtLRMargin (bool, bool bAPI=false) const
 
SAL_DLLPRIVATE bool isInHiddenTextFrame (SwShellCursor *pShellCursor)
 
SAL_DLLPRIVATE bool GoStartWordImpl ()
 
SAL_DLLPRIVATE bool GoEndWordImpl ()
 
SAL_DLLPRIVATE bool GoNextWordImpl ()
 
SAL_DLLPRIVATE bool GoPrevWordImpl ()
 
SAL_DLLPRIVATE bool GoNextSentenceImpl ()
 
SAL_DLLPRIVATE bool GoEndSentenceImpl ()
 
SAL_DLLPRIVATE bool GoStartSentenceImpl ()
 
SAL_DLLPRIVATE bool CallCursorFN (FNCursor)
 
SAL_DLLPRIVATE bool CallCursorShellFN (FNCursorShell)
 
SAL_DLLPRIVATE const SwRangeRedlineGotoRedline_ (SwRedlineTable::size_type nArrPos, bool bSelect)
 
SAL_DLLPRIVATE void sendLOKCursorUpdates ()
 

Private Attributes

SwRect m_aCharRect
 Char-SRectangle on which the cursor is located. More...
 
Point m_aCursorHeight
 height & offset from visible Cursor More...
 
Point m_aOldRBPos
 Right/Bottom of last VisArea. More...
 
Link< const SwFlyFrameFormat *, void > m_aFlyMacroLnk
 Link will be called, if the Cursor is set into a fly. More...
 
Link< LinkParamNone *, void > m_aChgLnk
 link will be called by every attribute/ format changes at cursor position. More...
 
Link< SwCursorShell &, void > m_aGrfArrivedLnk
 Link calls to UI if a graphic is arrived. More...
 
SwShellCursorm_pCurrentCursor
 current cursor More...
 
SwShellCursorm_pStackCursor
 stack for the cursor More...
 
SwVisibleCursorm_pVisibleCursor
 the visible cursor More...
 
SwBlockCursorm_pBlockCursor
 interface of cursor for block (=rectangular) selection More...
 
SwShellTableCursorm_pTableCursor
 table Cursor; only in tables when the selection lays over 2 columns More...
 
SwNodeIndexm_pBoxIdx
 for recognizing of the changed More...
 
SwTableBoxm_pBoxPtr
 table row More...
 
tools::Long m_nUpDownX
 try to move the cursor on up/down always in the same column More...
 
tools::Long m_nLeftFramePos
 
SwNodeOffset m_nCurrentNode
 
sal_Int32 m_nCurrentContent
 
SwNodeType m_nCurrentNdTyp
 
sal_uInt16 m_nCursorMove
 
CursorMoveState m_eMvState
 Status for Cursor-Travelling - GetModelPositionForViewPoint. More...
 
SwTable::SearchType m_eEnhancedTableSel
 
OUString m_sMarkedListId
 table rows or columns selected by not cell by cell More...
 
int m_nMarkedListLevel
 
bool m_bHasFocus: 1
 Shell is "active" in a window. More...
 
bool m_bSVCursorVis: 1
 SV-Cursor visible/invisible. More...
 
bool m_bChgCallFlag: 1
 attribute change inside Start- and EndAction More...
 
bool m_bVisPortChgd: 1
 in VisPortChg-Call More...
 
bool m_bCallChgLnk: 1
 flag for derived classes More...
 
bool m_bAllProtect: 1
 Flag for areas. More...
 
bool m_bInCMvVisportChgd: 1
 Flag for CursorMoves. More...
 
bool m_bGCAttr: 1
 
bool m_bIgnoreReadonly: 1
 
bool m_bSelTableCells: 1
 
bool m_bAutoUpdateCells: 1
 
bool m_bBasicHideCursor: 1
 
bool m_bSetCursorInReadOnly: 1
 
bool m_bOverwriteCursor: 1
 
bool m_bSendAccessibleCursorEvents: 1
 
bool m_bMacroExecAllowed: 1
 
SwFramem_oldColFrame
 

Friends

class SwCallLink
 
class SwVisibleCursor
 
class SwSelPaintRects
 
bool GetAutoSumSel (const SwCursorShell &, SwCellFrames &)
 

Additional Inherited Members

- Protected Attributes inherited from SwViewShell
SwRect maVisArea
 The modern version of VisArea. More...
 
tools::Rectangle maLOKVisibleArea
 The visible area in the LibreOfficeKit client. More...
 
rtl::Reference< SwDocmxDoc
 The document; never 0. More...
 
sal_uInt16 mnStartAction
 != 0 if at least one Action is active. More...
 
sal_uInt16 mnLockPaint
 != 0 if Paint is locked. More...
 
std::vector< LockPaintReasonmaLockPaintReasons
 
bool mbSelectAll
 Special select all mode: whole document selected, even if doc starts with table. More...
 
bool mbOutputToWindow
 The virtual device we paint to will end up on the screen. More...
 
std::stack< vcl::RegionmPrePostPaintRegions
 
VclPtr< OutputDevicempPrePostOutDev
 
MapMode maPrePostMapMode
 
- Static Protected Attributes inherited from SwViewShell
static ShellResourcespShellRes = nullptr
 Resources for the Shell. More...
 
static vcl::DeleteOnDeinit< std::shared_ptr< weld::Window > > spCareDialog {}
 Avoid this window. More...
 

Detailed Description

Definition at line 147 of file crsrsh.hxx.

Member Typedef Documentation

◆ FNCursor

typedef bool(SwCursor::* SwCursorShell::FNCursor) ()
private

Definition at line 280 of file crsrsh.hxx.

◆ FNCursorShell

typedef bool(SwCursorShell::* SwCursorShell::FNCursorShell) ()
private

Definition at line 281 of file crsrsh.hxx.

Member Enumeration Documentation

◆ CursorFlag

for calling UpdateCursor

Enumerator
UPDOWN 

keep Up/Down on columns

SCROLLWIN 

scroll window

CHKRANGE 

check overlapping PaMs

READONLY 

make visible in spite of Readonly

Definition at line 162 of file crsrsh.hxx.

◆ PopMode

enum class SwCursorShell::PopMode
strong
Enumerator
DeleteCurrent 
DeleteStack 

Definition at line 440 of file crsrsh.hxx.

◆ StartsWith

enum class SwCursorShell::StartsWith
strong
Enumerator
None 
Table 
HiddenPara 

Definition at line 337 of file crsrsh.hxx.

Constructor & Destructor Documentation

◆ SwCursorShell() [1/2]

SwCursorShell::SwCursorShell ( SwDoc rDoc,
vcl::Window pWin,
const SwViewOption pOpt 
)

◆ SwCursorShell() [2/2]

SwCursorShell::SwCursorShell ( SwCursorShell rShell,
vcl::Window pInitWin 
)

◆ ~SwCursorShell()

SwCursorShell::~SwCursorShell ( )
overridevirtual

Member Function Documentation

◆ bColumnChange()

bool SwCursorShell::bColumnChange ( )

◆ BlockCursorToCursor()

void SwCursorShell::BlockCursorToCursor ( )

◆ CallChgLnk()

void SwCursorShell::CallChgLnk ( )

◆ CallCursorFN()

bool SwCursorShell::CallCursorFN ( FNCursor  fnCursor)
private

◆ CallCursorShellFN()

bool SwCursorShell::CallCursorShellFN ( FNCursorShell  fnCursor)
private

◆ CheckTableBoxContent()

bool SwCursorShell::CheckTableBoxContent ( const SwPosition pPos = nullptr)

◆ ClearGCAttr()

void SwCursorShell::ClearGCAttr ( )
inline

◆ ClearMark()

void SwCursorShell::ClearMark ( )

Definition at line 1225 of file crsrsh.cxx.

References SwPaM::DeleteMark(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), sw::Ring< value_type >::GetRingContainer(), SwPaM::HasMark(), m_nCursorMove, m_pCurrentCursor, and m_pTableCursor.

Referenced by SwWrtShell::BwdPara_(), SwWrtShell::BwdSentence_(), SwHHCWrapper::ChangeText(), SwAccessibleTable::clearAccessibleSelection(), SwOneExampleFrame::ClearDocument(), SwWrtShell::CloseMark(), SwHTMLParser::Continue(), SwInsertDBColAutoPilot::DataToDoc(), SwInputWindow::DelBoxContent(), sw::annotation::SwAnnotationWin::Delete(), SwEditShell::DeleteGlobalDocContent(), SwWrtShell::DelLeft(), SwWrtShell::DelLine(), SwWrtShell::DelNxtWord(), SwWrtShell::DelPrvWord(), SwWrtShell::DelRight(), SwWrtShell::DelToEndOfSentence(), SwWrtShell::EndWrd(), SwWrtShell::EnterExtMode(), SwWrtShell::EnterStdMode(), SwTextShell::ExecField(), SwBaseShell::Execute(), SwTextShell::Execute(), SwBreakDashedLine::execute(), SwContentTree::ExecuteContextMenuAction(), FindValidContentNode(), SwWrtShell::FwdPara_(), SwWrtShell::FwdSentence_(), SwFEShell::GotoFly(), SwEditShell::GotoGlobalDocContent(), sw::UndoManager::impl_DoUndoRedo(), SwFieldEditDlg::Init(), SwWrtShell::Insert(), SwWrtShell::InsertField2(), SwWrtShell::InsertFootnote(), SwEditShell::InsertGlobalDocContent(), SwTextShell::InsertSymbol(), SwEditShell::InsertURL(), SwWrtShell::IntelligentCut(), ItemSetToTableParam(), lcl_GrabCursor(), lcl_OutlineUpDownWithSubPoints(), lcl_SelectSameStrings(), lcl_TableParamToItemSet(), SwEditShell::MoveGlobalDocContent(), SwNavigationPI::MoveOutline(), SwWrtShell::NxtWrd_(), SwWrtShell::NxtWrdForDelete(), SwFEShell::ProtectCells(), SwWrtShell::PrvWrd_(), SwWrtShell::PrvWrdForDelete(), SwInputFieldList::PushCursor(), SwEditShell::Redo(), SwHHCWrapper::ReplaceUnit(), SwWrtShell::ResetSelect(), SwWrtShell::SearchAttr(), SwWrtShell::SearchPattern(), SwWrtShell::SearchTempl(), SwAccessibleContext::Select(), SwFEShell::SelectFlyFrame(), SwFEShell::SelectObj(), SwFEShell::SelFlyGrabCursor(), SwWrtShell::SelPara(), SwWrtShell::SelSentence(), SwWrtShell::SetCursor(), SetCursorInHdFt(), SwEditWin::SetCursorTwipPosition(), SetReadOnlyAvailable(), SwInsertDBColAutoPilot::SetTabSet(), SwWrtShell::SttLeaveSelect(), SwWrtShell::SttWrd(), sw_CharDialogResult(), SwDoc::TableToText(), SwEditShell::TableToText(), SwFEShell::ToggleHeaderFooterEdit(), SwEditShell::Undo(), SwAccessibleTable::unselectColumn(), SwAccessibleTable::unselectRow(), and SwDropCapsPict::UpdatePaintSettings().

◆ ClearTableBoxContent()

void SwCursorShell::ClearTableBoxContent ( )

◆ ClearUpCursors()

void SwCursorShell::ClearUpCursors ( )

◆ Combine()

void SwCursorShell::Combine ( )

◆ CompareCursorStackMkCurrPt()

int SwCursorShell::CompareCursorStackMkCurrPt ( ) const
protected

Definition at line 1340 of file crsrsh.cxx.

References GetCursor(), SwPaM::GetPoint(), and m_pStackCursor.

Referenced by SwWrtShell::ExtSelWrd().

◆ CreateCursor()

SwPaM * SwCursorShell::CreateCursor ( )

delete the current cursor and make the following into the current

Add a copy of current cursor, append it after current, and collapse current cursor.

Returns
- Returns a newly created copy of current cursor.

Definition at line 123 of file crsrsh.cxx.

References ClearUpCursors(), SwPaM::DeleteMark(), IsTableMode(), m_pCurrentCursor, SCROLLWIN, SwSelPaintRects::swapContent(), and UpdateCursor().

Referenced by SwWrtShell::AddLeaveSelect(), SwAccessibleParagraph::addSelection(), SwJavaEditDialog::CheckTravel(), CreateNewShellCursor(), SwWrtShell::EnterAddMode(), GotoRedline(), SwHandleAnchorNodeChg::ImplDestroy(), SwFieldEditDlg::Init(), SwTransferable::PrepareForCopy(), SetSelection(), and SwTextShell::StateInsert().

◆ CreateNewShellCursor()

SwCursor & SwCursorShell::CreateNewShellCursor ( )
overridevirtual

Create and return a new shell cursor.

Simply returns the current shell cursor if there is no selection (HasSelection()).

Implements sw::IShellCursorSupplier.

Definition at line 172 of file crsrsh.cxx.

References CreateCursor(), GetCursor(), and HasSelection().

◆ CursorInsideContentControl()

SwTextContentControl * SwCursorShell::CursorInsideContentControl ( ) const

◆ CursorInsideInputField()

bool SwCursorShell::CursorInsideInputField ( ) const

◆ CursorToBlockCursor()

void SwCursorShell::CursorToBlockCursor ( )

◆ DestroyCursor()

void SwCursorShell::DestroyCursor ( )

transform TableCursor to normal cursor, nullify Tablemode

Delete current Cursor, making the following one the current.

Note, this function does not delete anything if there is no other cursor.

Returns
- returns true if there was another cursor and we deleted one.

Definition at line 151 of file crsrsh.cxx.

References SwShellCursor::GetNext(), SwPaM::IsMultiSelection(), IsTableMode(), m_pCurrentCursor, and UpdateCursor().

Referenced by SwJavaEditDialog::CheckTravel(), SwWrtShell::ExtSelLn(), SwWrtShell::ExtSelWrd(), SwHandleAnchorNodeChg::ImplDestroy(), SwFieldEditDlg::Init(), SwTransferable::PrivateDrop(), and SwTextShell::StateInsert().

◆ DocPtInsideInputField()

bool SwCursorShell::DocPtInsideInputField ( const Point rDocPt) const

◆ Down()

bool SwCursorShell::Down ( sal_uInt16  nCnt = 1)
inline

Definition at line 369 of file crsrsh.hxx.

References UpDown.

Referenced by SwWrtShell::Down().

◆ dumpAsXml()

void SwCursorShell::dumpAsXml ( xmlTextWriterPtr  pWriter) const
overridevirtual

Reimplemented from SwViewShell.

Definition at line 4021 of file crsrsh.cxx.

References SwViewShell::dumpAsXml(), sw::Ring< value_type >::GetRingContainer(), and m_pCurrentCursor.

◆ EndAction()

void SwCursorShell::EndAction ( const bool  bIdleEnd = false)

Definition at line 243 of file crsrsh.cxx.

References SwViewShell::ActionPend(), Link< typename Arg, typename Ret >::Call(), CHKRANGE, SwViewShell::EndAction(), ExtendedSelectedAll(), SwViewShell::GetDoc(), SwShellCursor::Hide(), SwViewShell::Imp(), Link< typename Arg, typename Ret >::IsSet(), m_aChgLnk, m_bCallChgLnk, m_bChgCallFlag, m_bInCMvVisportChgd, m_bSVCursorVis, SwCallLink::m_nContent, m_nCurrentContent, m_nCurrentNdTyp, m_nCurrentNode, m_nCursorMove, m_nLeftFramePos, SwCallLink::m_nLeftFramePos, SwCallLink::m_nNode, SwCallLink::m_nNodeType, m_pCurrentCursor, m_pVisibleCursor, SwViewShell::mbSelectAll, SwViewShell::mnStartAction, None, SCROLLWIN, SwVisibleCursor::Show(), ShowCursors(), StartsWith_(), UpdateCursor(), and SwDoc::UpdateNumRule().

Referenced by SwAccessibleParagraph::addSelection(), SwInsFootNoteDlg::Apply(), SwEditShell::ApplyChangedSentence(), SwEditShell::ApplyViewOptions(), SwWrtShell::AutoUpdateFrame(), SwWrtShell::AutoUpdatePara(), SwRedlineAcceptDlg::CallAcceptReject(), CheckTableBoxContent(), SwJavaEditDialog::CheckTravel(), SwAccessibleTable::clearAccessibleSelection(), SwFormatClipboard::Copy(), SwContentTree::DeleteOutlineSelections(), SwAccessibleTable::deselectAccessibleChild(), SwContentTree::EditEntry(), SwFEShell::EndAllActionAndCall(), EndCursorMove(), SwDrawShell::ExecDrawDlg(), SwTextShell::ExecField(), SwTextShell::ExecParaAttrArgs(), SwView::ExecTabWin(), SwSpellPopup::Execute(), SwBaseShell::Execute(), SwTableShell::Execute(), SwTextShell::Execute(), SwDrawBaseShell::Execute(), SwGlobalTree::ExecuteContextMenuAction(), SwBaseShell::ExecuteGallery(), SwView::ExecViewOptions(), SwFEShell::GetConnectableFrameFormats(), SwContentTree::GotoContent(), IMPL_LINK(), IMPL_LINK_NOARG(), SwFieldEditDlg::Init(), SwInsFootNoteDlg::Init(), SwWrtShell::InsertContentControl(), SwFieldMgr::InsertField(), SwView::InsertGraphic(), SwView::InsertGraphicDlg(), SwTextShell::InsertHyperlink(), SwBaseShell::InsertRegionDialog(), SwBaseShell::InsertURLButton(), IsTableComplexForChart(), lcl_SetAllTextToDefaultLanguage(), SwWrtShell::MakeAllFoldedOutlineContentVisible(), SwOutlineTabDialog::Ok(), SwFormatClipboard::Paste(), SwTransferable::PrivateDrop(), SwAccessibleTable::selectAccessibleChild(), SwWrtShell::SelectNextPrevHyperlink(), SwFEShell::SelectObj(), SetBookmark(), SetBookmark2(), SwWrtShell::SetInsMode(), SwLangHelper::SetLanguageStatus(), SetSelection(), SetShadowCursorPos(), SwEditShell::SpellContinue(), SwEditShell::SpellSentence(), SwTextShell::StateInsert(), sw_CharDialog(), sw_CharDialogResult(), sw_ParagraphDialogResult(), SwRootFrame::UnoRemoveAllActions(), SwAccessibleTable::unselectColumn(), SwAccessibleTable::unselectRow(), SwWordCountFloatDlg::UpdateCounts(), and SwActContext::~SwActContext().

◆ EndAllTableBoxEdit()

bool SwCursorShell::EndAllTableBoxEdit ( )

◆ EndCursorMove()

void SwCursorShell::EndCursorMove ( const bool  bIdleEnd = false)

◆ EndOfInputFieldAtPos()

sal_Int32 SwCursorShell::EndOfInputFieldAtPos ( const SwPosition rPos)
static

◆ ExpandToSentenceBorders()

void SwCursorShell::ExpandToSentenceBorders ( )

◆ ExtendedSelectAll()

void SwCursorShell::ExtendedSelectAll ( bool  bFootnotes = true)

◆ ExtendedSelectedAll()

std::optional<::std::pair< SwNode const *,::std::vector< SwTableNode * > > > SwCursorShell::ExtendedSelectedAll ( ) const

◆ ExtendSelection()

bool SwCursorShell::ExtendSelection ( bool  bEnd = true,
sal_Int32  nCount = 1 
)

◆ Find_Text()

sal_Int32 SwCursorShell::Find_Text ( const i18nutil::SearchOptions2 rSearchOpt,
bool  bSearchInNotes,
SwDocPositions  eStart,
SwDocPositions  eEnd,
bool &  bCancel,
FindRanges  eRng,
bool  bReplace = false 
)

◆ FindAttrs()

sal_Int32 SwCursorShell::FindAttrs ( const SfxItemSet rSet,
bool  bNoCollections,
SwDocPositions  eStart,
SwDocPositions  eEnd,
bool &  bCancel,
FindRanges  eRng,
const i18nutil::SearchOptions2 pSearchOpt,
const SfxItemSet rReplSet 
)

◆ FindFormat()

sal_Int32 SwCursorShell::FindFormat ( const SwTextFormatColl rFormatColl,
SwDocPositions  eStart,
SwDocPositions  eEnd,
bool &  bCancel,
FindRanges  eRng,
const SwTextFormatColl pReplFormat 
)

◆ FindINetAttr()

const SwFormatINetFormat * SwCursorShell::FindINetAttr ( std::u16string_view  rName) const

Definition at line 2302 of file crstrvl.cxx.

References SwViewShell::mxDoc.

◆ FindValidContentNode()

bool SwCursorShell::FindValidContentNode ( bool  bOnlyText)

◆ FireColumnChangeEvent()

void SwCursorShell::FireColumnChangeEvent ( sal_uInt16  nOldColumn,
sal_uInt16  nNewColumn 
)
static

Definition at line 452 of file crsrsh.cxx.

References SwViewShell::Imp().

Referenced by SwView::StateStatusLine().

◆ FirePageChangeEvent()

void SwCursorShell::FirePageChangeEvent ( sal_uInt16  nOldPage,
sal_uInt16  nNewPage 
)
static

Definition at line 441 of file crsrsh.cxx.

References SwViewShell::Imp().

Referenced by SwView::StateStatusLine().

◆ FireSectionChangeEvent()

void SwCursorShell::FireSectionChangeEvent ( sal_uInt16  nOldSection,
sal_uInt16  nNewSection 
)
static

Definition at line 463 of file crsrsh.cxx.

References SwViewShell::Imp().

Referenced by SwView::StateStatusLine().

◆ GetBoxNms()

OUString SwCursorShell::GetBoxNms ( ) const

◆ GetChar()

sal_Unicode SwCursorShell::GetChar ( bool  bEnd = true,
tools::Long  nOffset = 0 
)

get the nth character of the current SSelection

Parameters
bEndStart counting from the end? From start otherwise.
nOffsetposition of the character

Definition at line 2918 of file crsrsh.cxx.

References SwPaM::End(), SwPosition::GetContentIndex(), SwPosition::GetNode(), SwPaM::GetPoint(), SwTextNode::GetText(), SwNode::GetTextNode(), SwPaM::HasMark(), IsTableMode(), m_pCurrentCursor, nPos, and SwPaM::Start().

Referenced by SwWrtShell::DelLeft(), SwTextShell::Execute(), SwWrtShell::IntelligentCut(), and SwEditWin::KeyInput().

◆ GetCharRect()

const SwRect & SwCursorShell::GetCharRect ( ) const
inline

◆ GetCharRectAt()

void SwCursorShell::GetCharRectAt ( SwRect rRect,
const SwPosition pPos 
)

Definition at line 1503 of file crsrsh.cxx.

References SwFrame::GetCharRect(), and GetCurrFrame().

Referenced by SwEditWin::Command().

◆ GetChgLnk()

const Link< LinkParamNone *, void > & SwCursorShell::GetChgLnk ( ) const
inline

◆ GetContentAtPos()

bool SwCursorShell::GetContentAtPos ( const Point rPt,
SwContentAtPos rContentAtPos,
bool  bSetCursor = false,
SwRect pFieldRect = nullptr 
)

Definition at line 1433 of file crstrvl.cxx.

References SwContentAtPos::aFnd, AllowContaining, SwPosition::Assign(), aStr, SwRect::Bottom(), SwRangeRedline::CalcStartEnd(), CheckNodeSection, ClickField, COMPLETE_STRING, SwRect::Contains(), ContentCheck, ContentControl, Count, SfxItemSet::Count(), CurrAttrs, SwPaM::DeleteMark(), SfxItemSet::Differentiate(), SwTextAttr::DontExpand(), SwContentAtPos::eContentAtPos, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), End, SwTextAttr::End(), ExpandFootnote, Field, SwRedlineTable::FindAtPosition(), SwNode::FindTableBoxStartNode(), SwNode::FindTableNode(), FormControl, Ftn, SwpHints::Get(), SwTOXMark::GetAlternativeText(), SwTextAttr::GetAttr(), SwDoc::GetAttrPool(), SwViewShell::GetAttrPool(), SwFrame::GetCharRect(), SwContentNode::GetCondFormatColl(), SwPosition::GetContentIndex(), SfxItemIter::GetCurItem(), SwViewShell::GetDoc(), SwTextAttr::GetEnd(), SwTextNode::GetExpandText(), sw::GetExpandTextMerged(), SwFormatField::GetField(), SwTextNode::GetFieldTextAttrAt(), SwContentNode::GetFormatColl(), SwTextAttr::GetFormatField(), SwFrameAreaDefinition::getFrameArea(), SwTableBox::GetFrameFormat(), SwFrameAreaDefinition::getFramePrintArea(), SwDoc::getIDocumentMarkAccess(), SwDoc::getIDocumentRedlineAccess(), SwNode::GetIndex(), SwTextAttr::GetINetFormat(), IDocumentMarkAccess::getInnerFieldmarkFor(), SwFormat::GetItemIfSet(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwRootFrame::GetModelPositionForViewPoint(), SwFormat::GetName(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwDoc::GetNodes(), SwNodes::GetOutLineNds(), sw::GetParaPropsNode(), SwPaM::GetPoint(), SfxItemPool::GetPresentation(), SwContentNode::GetpSwAttrSet(), SwTextNode::GetpSwpHints(), IDocumentRedlineAccess::GetRedline(), IDocumentRedlineAccess::GetRedlineTable(), SwTableLine::GetRedlineType(), SwTableBox::GetRedlineType(), SwTextNode::GetSmartTags(), SwTextAttr::GetStart(), GetStartNode(), SwContentNode::GetSwAttrSet(), SwTextNode::GetSwpHints(), SwTableNode::GetTable(), SwTable::GetTableBox(), SwTextNode::GetTextAttrAt(), SwTextNode::GetTextAttrForCharAt(), SwTextNode::GetTextAttrsAt(), SwNode::GetTextNode(), SwTextAttr::GetTOXMark(), SwRangeRedline::GetType(), SwTableBox::GetUpper(), SwFrame::GetUpper(), SwFormatINetFormat::GetValue(), SwViewShell::GetWin(), SwWrongList::GetWrongPos(), SwNodes::GoNextSection(), GotoFootnoteAnchor(), SwField::HasClickHdl(), SwContentNode::HasSwAttrSet(), i, index, InetAttr, SwWrongList::InWrongWord(), SwFrame::IsCellFrame(), SwTableFormula::IsIntrnlName(), IsInvalidItem(), IsReadOnlyAvailable(), SwCursor::IsSelOvr(), SwTextNode::IsSymbolAt(), IsTableMode(), JumpEdit, SwRect::Left(), SwTextNode::Len(), vcl::Window::LogicToPixel(), SwCursorMoveState::m_bContentCheck, SwCursorMoveState::m_bExactOnly, SwCursorMoveState::m_bFieldInfo, SwCursorMoveState::m_bFootnoteNoInfo, SwCursorMoveState::m_bInNumPortion, SwCursorMoveState::m_bPosCorr, SwCursorMoveState::m_bSetInReadOnly, SwCursorMoveState::m_nInNumPortionOffset, m_pCurrentCursor, SwCursorMoveState::m_pSpecialPos, n, SwSpecialPos::nCharOfst, SwContentAtPos::nDist, SfxItemIter::NextItem(), nIndex, NONE, nPos, SwRedlineTable::npos, NumLabel, Outline, sw::Parent, SwContentAtPos::pAttr, SwContentAtPos::pField, SwContentAtPos::pFieldmark, SwContentAtPos::pFndTextAttr, SwContentAtPos::pNode, POOLATTR_BEGIN(), POOLATTR_END(), SwRect::Pos(), SwContentAtPos::pRedl, SwTableFormula::PtrToBoxNm(), Redline, RefMark, RES_BOXATR_FORMULA(), RES_BOXATR_VALUE(), RES_TXTATR_CONTENTCONTROL(), RES_TXTATR_FTN(), RES_TXTATR_INETFMT(), RES_TXTATR_REFMARK(), RES_TXTATR_TOXMARK(), SwRect::Right(), SwOutlineNodes::Seek_Entry(), SmartTag, SwContentAtPos::sStr, SwWrongList::SubList(), Table, TableBoxFml, TableBoxValue, TableColRedline, TableRedline, Toggle, SwRect::Top(), ToxMark, SwRect::Union(), UpdateCursor(), SwTableLine::UpdateTextChangesOnly(), SwField::Which(), SwTextAttr::Which(), and Size::Width().

Referenced by SwEditWin::AcceptDrop(), SwTransferable::GetData(), SwFEShell::GetNumRuleNodeAtPos(), SwFEShell::IsNumLabel(), lcl_urlOverBackground(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwEditWin::MouseMove(), SwEditWin::RequestHelp(), sw::sidebarwindows::SidebarTextControl::RequestHelp(), SwTransferable::SetDataForDragAndDrop(), SwEditWin::StartDrag(), SwReadOnlyPopup::SwReadOnlyPopup(), SwEditWin::UpdatePointer(), and SwContentTree::UpdateTracking().

◆ GetCurField()

SwField * SwCursorShell::GetCurField ( const bool  bIncludeInputFieldAtStart = false) const

◆ GetCurrentFieldmark()

sw::mark::IFieldmark * SwCursorShell::GetCurrentFieldmark ( )

◆ GetCurrentShellCursor()

SwCursor & SwCursorShell::GetCurrentShellCursor ( )
overridevirtual

◆ GetCurrFrame()

SwContentFrame * SwCursorShell::GetCurrFrame ( const bool  bCalcFrame = true) const

Get current frame in which the cursor is positioned.

Definition at line 2771 of file crsrsh.cxx.

References SwViewShell::GetDocSize(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwShellCursor::GetPtPos(), m_pCurrentCursor, SwViewShell::mnStartAction, and SwViewShell::SizeChgNotify().

Referenced by bColumnChange(), SwFEShell::CalcBoundRect(), SwFEShell::CanUnProtectCells(), SwFEShell::CheckHeadline(), SwFEShell::ChgCurPageDesc(), SwFEShell::DeleteCol(), SwFEShell::DeleteRow(), SwFEShell::DeleteTableSel(), SwTextShell::ExecField(), SwFEShell::FindAnchorPos(), SwFEShell::GetAnyCurRect(), SwEditShell::GetAnySection(), SwFEShell::GetAutoSum(), SwFEShell::GetBestObject(), GetCharRectAt(), SwFEShell::GetCurColNum(), SwFEShell::GetCurOutColNum(), SwFEShell::GetCurPageDesc(), SwFEShell::GetCurrFlyFrame(), GetCursorPagePos(), SwFEShell::GetCurTabColNum(), SwAccessibleDocument::getExtendedAttributes(), SwFEShell::GetFrameType(), SwEditShell::GetGraphicAttr(), GetPageNum(), SwFEShell::GetPageNumber(), GetPageNumSeqNonEmpty(), SwFEShell::GetPageOffset(), SwFEShell::GetPhyPageNum(), SwFEShell::GetRowsToRepeat(), SwFEShell::GetSectionWidth(), GetSelText(), SwFEShell::GetTabBackground(), SwFEShell::GetTabCols(), SwFEShell::GetTableAttr(), SwEditShell::GetTableBoxFormulaAttrs(), SwEditShell::GetTableBoxText(), SwFEShell::GetTabRows(), SwFEShell::GetVirtPageNum(), GotoFlyAnchor(), GotoFooterText(), GotoHeaderText(), SwFEShell::InsertCol(), SwFEShell::InsertLabel(), SwFEShell::InsertRow(), SwFEShell::IsAdjustCellWidthAllowed(), SwFEShell::IsColRightToLeft(), IsCursorReadonly(), SwFEShell::IsDirectlyInSection(), IsSelOnePara(), SwEditShell::IsTableBoxTextFormat(), SwFEShell::IsTableRightToLeft(), SwFEShell::IsTableVertical(), lcl_SetAPageOffset(), SwWrtShell::MakeAllFoldedOutlineContentVisible(), SwFEShell::MakeSelVisible(), MoveColumn(), SelTable(), SelTableBox(), SelTableRowOrCol(), sendLOKCursorUpdates(), SwFEShell::SetColRowWidthHeight(), SetCursorInHdFt(), SwFEShell::SetNewPageOffset(), SwFEShell::SetPageOffset(), SwFEShell::SetRowsToRepeat(), SwFEShell::SetTabBackground(), SwFEShell::SetTabCols(), SwFEShell::SetTableAttr(), SwEditShell::SetTableBoxFormulaAttrs(), SwFEShell::SetTabRows(), SwFEShell::Sort(), SwFEShell::SplitTab(), and SwFEShell::UnProtectCells().

◆ GetCursor()

SwCursor * SwCursorShell::GetCursor ( bool  bMakeTableCursor = true) const

Return pointer to the current shell cursor.

Returns
- returns pointer to current SwCursor shell cursor

Definition at line 194 of file crsrsh.cxx.

References SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetMark(), SwPaM::GetMarkContentNode(), SwPosition::GetNodeIndex(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwTableCursor::IsChgd(), SwTableCursor::IsCursorMovedUpdate(), m_pCurrentCursor, m_pTableCursor, SwTableCursor::MakeBoxSels(), and SwRootFrame::MakeTableCursors().

Referenced by SwEditShell::AcceptRedlinesInSelection(), SwFieldDlg::Activate(), SwWrtShell::addCurrentPosition(), SwDoc::AppendDoc(), SwEditShell::AppendTextNode(), SwEditShell::AppendUndoForInsertFromDB(), SwEditShell::ApplyChangedSentence(), SwEditShell::ApplyParagraphClassification(), SwEditShell::AutoFormat(), SwEditShell::AutoFormatBySplitNode(), SwWrtShell::AutoUpdatePara(), SwAccessibleMap::BuildSelectedParas(), SwEditShell::Calculate(), SwEditShell::CanMergeTable(), SwEditShell::CanSpecialInsert(), SwHHCWrapper::ChangeText(), SwHHCWrapper::ChangeText_impl(), CheckSplitCells(), SwFEShell::ChgCurPageDesc(), SwEditShell::ClassifyDocPerHighestParagraphClass(), SwEditShell::ClearAutomaticContour(), ClearUpCursors(), SwWrtShell::ClickToField(), SwXTextViewCursor::collapseToEnd(), SwXTextViewCursor::collapseToStart(), SwEditShell::CollectParagraphClassification(), SwEditWin::Command(), CompareCursorStackMkCurrPt(), SwHTMLParser::Continue(), SwHHCWrapper::Convert(), SwEditShell::Copy(), SwFEShell::Copy(), SwFormatClipboard::Copy(), SwFEShell::CopyDrawSel(), SwEditShell::CopySelToDoc(), SwEditShell::CountWords(), SwEditShell::CreateExtTextInput(), CreateNewShellCursor(), CursorInsideContentControl(), CursorInsideInputField(), SwEditShell::Delete(), SwEditShell::DeleteExtTextInput(), SwEditShell::DeleteGlobalDocContent(), SwFEShell::DeleteRow(), SwEditShell::DelFullPara(), SwEditShell::DelINetAttrWithText(), SwWrtShell::DelLeft(), SwEditShell::DelNumRules(), SwWrtShell::DelRight(), SwAccessibleTable::deselectAccessibleChild(), DocPtInsideInputField(), SwEditShell::DontExpandFormat(), SwEditShell::DoSpecialInsert(), SwFieldDlg::EnableInsert(), SwTextShell::ExecCharAttrArgs(), SwBaseShell::ExecDelete(), SwTextShell::ExecField(), SwTextShell::ExecIdx(), SwView::ExecSpellPopup(), SwTableShell::Execute(), SwTextShell::Execute(), SwXTextDocument::executeContentControlEvent(), SwXTextDocument::executeFromFieldEvent(), SwEnhancedPDFExportHelper::ExportAuthorityEntryLinks(), SwEditShell::FieldToText(), SwEditShell::FillByEx(), Find_Text(), FindAttrs(), FindFormat(), SwEditWin::FlushInBuffer(), SwEditShell::GCAttr(), SwFEShell::GetAnyCurRect(), SwEditShell::GetAnySection(), GetBoxNms(), SwEditShell::GetCntType(), SwEditShell::GetCorrection(), SwEditShell::GetCurAttr(), GetCurField(), SwEditShell::GetCurFootnote(), SwEditShell::GetCurLang(), SwEditShell::GetCurParAttr(), GetCurrentFieldmark(), SwEditShell::GetCurrentOutlineLevels(), SwEditShell::GetCurrentParaOutlineLevel(), GetCurrentShellCursor(), SwEditShell::GetCurrRedline(), SwEditShell::GetCurrSection(), SwAccessibleFrameBase::GetCursor(), SwAccessibleParagraph::GetCursor(), GetCursorCnt(), GetCursorDescr(), SwEditShell::GetCurTextFormatColl(), SwEditShell::GetCurTOX(), SwEditShell::GetCurTOXMarks(), SwEditShell::GetCurWord(), SwXTextViewCursor::GetDoc(), SwEditShell::GetDropText(), SwXTextViewCursor::getEnd(), SwAccessibleDocument::getExtendedAttributes(), GetFieldmarkAfter(), GetFieldmarkBefore(), SwSpellDialogChildWindow::GetFocus(), SwFEShell::GetFormatFromAnyObj(), SwFEShell::GetFrameType(), SwEditShell::GetFullSelectedSectionCount(), SwEditShell::GetGrammarCorrection(), SwEditShell::GetGraphicPolygon(), SwEditShell::GetGrfNode_(), SwEditShell::GetGrfSize(), SwTextShell::GetIdxState(), SwEditShell::GetIMapGraphic(), SwEditShell::GetIMapInventor(), SwEditShell::GetItemWithPaM(), SwEditShell::GetLineCount(), SwVisibleCursor::getLOKPayload(), SwHHCWrapper::GetNextPortion(), SwSpellDialogChildWindow::GetNextWrongSentence(), SwEditShell::GetNodeNumStart(), SwEditShell::GetNumLevel(), SwEditShell::GetNumRuleAtCurrCursorPos(), SwEditShell::GetNumRuleAtCurrentSelection(), SwEditShell::GetOLEObject(), SwXTextViewCursor::getPage(), SwXTextViewCursor::GetPaM(), SwXTextViewCursor::getPropertyDefault(), SwXTextViewCursor::getPropertyState(), SwXTextViewCursor::getPropertyStates(), SwXTextViewCursor::getPropertyValue(), SwXTextView::getRubyList(), SwEditShell::GetScalingOfSelectedText(), SwEditShell::GetScriptType(), SwFEShell::GetSelectedPageDescs(), SwEditShell::GetSelectedText(), SwXTextView::getSelection(), SwWrtShell::GetSelectionType(), GetSmartTagRect(), GetSmartTagTerm(), SwXTextViewCursor::getStart(), SwXTextViewCursor::getString(), SwEditWin::GetSurroundingTextSelection(), SwFEShell::GetTableAutoFormat(), GetTableSel(), SwXTextViewCursor::getText(), SwLangHelper::GetTextForLanguageGuessing(), SwNavigationMgr::goBack(), GoNextBookmark(), GoPrevBookmark(), SwContentTree::GotoContent(), SwWrtShell::GotoDrawingObject(), SwInputFieldList::GotoFieldPos(), SwFEShell::GotoFly(), SwWrtShell::GotoFly(), SwWrtShell::GotoFootnoteAnchor(), SwWrtShell::GotoFormatField(), GotoFormControl(), SwEditShell::GotoGlobalDocContent(), SwWrtShell::GotoINetAttr(), sw::AccessibilityIssue::gotoIssue(), SwWrtShell::GotoMark(), SwWrtShell::GotoNextTOXBase(), SwWrtShell::GotoOutline(), SwXTextViewCursor::gotoRange(), SwWrtShell::GotoRedline(), SwWrtShell::GotoRefMark(), SwWrtShell::GotoRegion(), SwNavigationMgr::GotoSwPosition(), SwWrtShell::GotoTable(), GotoTOXMark(), SwEditShell::HandleCorrectionError(), SwEditShell::HandleUndoRedoContext(), SwFEShell::HasBoxSelection(), SwEditShell::HasBullet(), SwWrtShell::HasFoldedOutlineContentSelected(), SwEditShell::HasNumber(), SwFEShell::HasTableAnyProtection(), SwSelPaintRects::HighlightContentControl(), IMPL_LINK(), sw::sidebar::IMPL_LINK(), SwCallLink::ImplDestroy(), SwWrtShell::Insert(), SwFEShell::Insert(), SwEditShell::Insert(), SwEditShell::InsertDDETable(), SwEditShell::InsertField(), SwFieldMgr::InsertField(), SwWrtShell::InsertFootnote(), SwEditShell::InsertGlobalDocContent(), SwEditShell::InsertGlossary(), SwTextShell::InsertHyperlink(), SwFEShell::InsertObject(), SwWrtShell::InsertPageBreak(), SwBaseShell::InsertRegionDialog(), SwEditShell::InsertSection(), SwEditShell::InsertTable(), SwEditShell::InsertTableOf(), SwEditShell::InsertURL(), SwAccessibleMap::InvalidateShapeInParaSelection(), SwTransferable::isComplex(), SwEditShell::IsCursorInParagraphMetadataField(), SwEditShell::IsFirstOfNumRuleAtCursorPos(), SwEditShell::IsInsRegionAvailable(), SwEditShell::IsMoveLeftMargin(), SwEditShell::IsNoNum(), SwEditShell::IsNumRuleStart(), SwOleClient::IsProtected(), SwEditShell::IsProtectedOutlinePara(), SwEditShell::IsTextToTableAvailable(), SwEditWin::KeyInput(), lcl_BoxesInTrackedRows(), lcl_CollectDeletedRedlines(), lcl_CursorInDeletedTable(), lcl_CutRedlines(), lcl_emitSearchResultCallbacks(), lcl_FoldedOutlineNodeEndOfParaSplit(), lcl_GetPrintUIOptions(), lcl_IsAllowed(), lcl_SetAPageOffset(), lcl_TableParamToItemSet(), SwDocShell::LoadStylesFromFile(), SwSpellDialogChildWindow::LoseFocus(), SwEditShell::MergeTable(), SwEditShell::MoveGlobalDocContent(), SwEditShell::MoveLeftMargin(), SwEditShell::MoveNumParas(), SwEditShell::MoveOutlinePara(), SwEditShell::MoveParagraph(), SwFEShell::NewFlyFrame(), SwEditShell::NoNum(), sw::mark::MarkManager::NotifyCursorUpdate(), numfunc::NumDownChangesIndent(), SwWrtShell::NumOrBulletOff(), SwWrtShell::NumOrBulletOn(), SwEditShell::NumOrNoNum(), SwEditShell::NumUpDown(), SwEditShell::OutlineUpDown(), SwEditShell::Overwrite(), ParkCursor(), SwFEShell::ParkCursorInTab(), SwFEShell::Paste(), SwTransferable::Paste(), SwTransferable::PasteFileContent(), SwTransferable::PasteOLE(), SwFEShell::PastePages(), PrepareBoxInfo(), SwTransferable::PrivateDrop(), SwFieldDlg::ReInitDlg(), SwEditShell::RejectRedlinesInSelection(), SwPasteContext::remember(), SwEditShell::RemoveParagraphMetadataFieldAtCursor(), SwEditShell::Repeat(), SwEditShell::Replace(), SwEditShell::ReplaceDropText(), SwEditShell::ReplaceNumRule(), SwFEShell::ReplaceSdrObj(), SwHHCWrapper::ReplaceUnit(), SwEditShell::ReRead(), SwEditShell::ResetAttr(), SwEditShell::SaveGlossaryDoc(), SwEditShell::SearchNumRule(), SwAccessibleTable::selectAccessibleChild(), SwEditShell::SelectionHasBullet(), SwEditShell::SelectionHasNumber(), SwHHCWrapper::SelectNewUnit_impl(), SwContentTree::SelectOutlinesWithSelection(), SwFEShell::SelFlyGrabCursor(), SwEditShell::SetAttrItem(), SwEditShell::SetAttrSet(), SetBookmark(), SetBookmark2(), SwEditShell::SetChartName(), SwEditShell::SetCurFootnote(), SwEditShell::SetCurNumRule(), SwEditShell::SetExtTextInputData(), SwEditShell::SetGraphicPolygon(), SwEditShell::SetLinguRange(), SwEditShell::SetNodeNumStart(), SwEditShell::SetNumberingRestart(), SwEditShell::SetNumRuleStart(), SwXTextViewCursor::setPropertyToDefault(), SwXTextViewCursor::setPropertyValue(), SwEditShell::SetRedlineComment(), SwXTextView::setRubyList(), SwEditShell::SetSectionAttr(), SetSelection(), SwXTextViewCursor::setString(), SwEditShell::SetTextFormatColl(), ShouldWait(), SwInputWindow::ShowWin(), SwEditShell::SignParagraph(), SwFEShell::Sort(), SwEditShell::SpellStart(), SwEditShell::SplitNode(), SwEditShell::SplitTable(), SwDocShell::StartConvertFrom(), SwXMLImport::startDocument(), SwTextShell::StateField(), SwAutoFormat::SwAutoFormat(), SwCallLink::SwCallLink(), SwContentControlDlg::SwContentControlDlg(), SwEditShell::TableToText(), SwEditShell::TextToTable(), SwTranslateHelper::TranslateDocumentCancellable(), SwEditShell::TransliterateText(), SwFEShell::UnProtectTables(), SwTextRefMark::UpdateFieldContent(), SwEditShell::UpdateOneField(), SwEditShell::UpdateTableOf(), SwContentTree::UpdateTracking(), sw::sidebar::UpdateTree(), SwEditShell::ValidateCurrentParagraphSignatures(), SwFEShell::WizardGetFly(), SwWriter::Write(), sw::sidebar::WriterInspectorTextPanel::WriterInspectorTextPanel(), and SwPasteContext::~SwPasteContext().

◆ GetCursor_() [1/2]

SwShellCursor * SwCursorShell::GetCursor_ ( )
inline

◆ GetCursor_() [2/2]

const SwShellCursor * SwCursorShell::GetCursor_ ( ) const
inline

Definition at line 344 of file crsrsh.hxx.

◆ GetCursorCnt()

sal_uInt16 SwCursorShell::GetCursorCnt ( bool  bAll = true) const

◆ GetCursorDescr()

OUString SwCursorShell::GetCursorDescr ( ) const

Returns textual description of the current selection.

  • If the current selection is a multi-selection the result is STR_MULTISEL.
  • Else the result is the text of the selection.
Returns
the textual description of the current selection

Definition at line 4009 of file crsrsh.cxx.

References GetCursor(), SwDoc::GetPaMDescr(), IsMultiSelection(), and SwResId().

Referenced by SwSpellPopup::Execute(), SwTextShell::Execute(), SwWrtShell::GetSelDescr(), SwWrtShell::GotoContentControl(), and SwWrtShell::Insert().

◆ GetCursorDocPos()

Point & SwCursorShell::GetCursorDocPos ( ) const
inline

◆ GetCursorPagePos()

Point SwCursorShell::GetCursorPagePos ( ) const

◆ GetEnhancedTableSelection()

SwTable::SearchType SwCursorShell::GetEnhancedTableSelection ( ) const
inline

Definition at line 837 of file crsrsh.hxx.

Referenced by SwWrtShell::GetSelectionType(), and SwWrtShell::ResetSelect().

◆ GetFieldAtCursor()

SwField * SwCursorShell::GetFieldAtCursor ( const SwPaM pCursor,
const bool  bIncludeInputFieldAtStart 
)
static

◆ GetFieldmarkAfter()

sw::mark::IFieldmark * SwCursorShell::GetFieldmarkAfter ( bool  bLoop)

◆ GetFieldmarkBefore()

sw::mark::IFieldmark * SwCursorShell::GetFieldmarkBefore ( bool  bLoop)

◆ GetFlyMacroLnk()

const Link< const SwFlyFrameFormat *, void > & SwCursorShell::GetFlyMacroLnk ( ) const
inline

Definition at line 500 of file crsrsh.hxx.

Referenced by SwCallLink::ImplDestroy(), and lcl_GrabCursor().

◆ GetGrfArrivedLnk()

const Link< SwCursorShell &, void > & SwCursorShell::GetGrfArrivedLnk ( ) const
inline

Definition at line 508 of file crsrsh.hxx.

Referenced by SwBaseShell::~SwBaseShell().

◆ GetNextPrevPageNum()

sal_uInt16 SwCursorShell::GetNextPrevPageNum ( bool  bNext = true)

◆ GetOutlinePos()

SwOutlineNodes::size_type SwCursorShell::GetOutlinePos ( sal_uInt8  nLevel = UCHAR_MAX,
SwPaM pPaM = nullptr 
)

◆ GetPageCnt()

sal_uInt16 SwCursorShell::GetPageCnt ( )

◆ GetPageNum()

void SwCursorShell::GetPageNum ( sal_uInt16 &  rnPhyNum,
sal_uInt16 &  rnVirtNum,
bool  bAtCursorPos = true,
const bool  bCalcFrame = true 
)

◆ GetPageNumSeqNonEmpty()

sal_uInt16 SwCursorShell::GetPageNumSeqNonEmpty ( )

◆ getPageRectangles()

OUString SwCursorShell::getPageRectangles ( )

Implementation of lok::Document::getPartPageRectangles() for Writer.

Definition at line 1598 of file crsrsh.cxx.

References aBuf, SwViewShell::GetLayout(), SwFrame::GetLower(), and SwFrame::GetNext().

Referenced by SwXTextDocument::getPartPageRectangles().

◆ GetPostItFieldAtCursor()

const SwPostItField * SwCursorShell::GetPostItFieldAtCursor ( ) const

◆ GetSelText()

OUString SwCursorShell::GetSelText ( ) const

◆ GetShadowCursorPos()

bool SwCursorShell::GetShadowCursorPos ( const Point rPt,
SwFillMode  eFillMode,
SwRect rRect,
sal_Int16 &  rOrient 
)

◆ getShellCursor() [1/2]

SwShellCursor * SwCursorShell::getShellCursor ( bool  bBlock)

Delivers the current shell cursor.

Some operations have to run on the current cursor ring, some on the m_pTableCursor (if exist) or the current cursor ring and some on the m_pTableCursor or m_pBlockCursor or the current cursor ring. This small function checks the existence and delivers the wished cursor.

Parameters
bBlock[bool] if the block cursor is of interest or not
Returns
m_pTableCursor if exist, m_pBlockCursor if exist and of interest (param bBlock) otherwise m_pCurrentCursor

Definition at line 3356 of file crsrsh.cxx.

References SwBlockCursor::getShellCursor(), m_pBlockCursor, m_pCurrentCursor, and m_pTableCursor.

Referenced by SwFEShell::AdjustCellWidth(), SwEditShell::AutoCorrect(), SwFEShell::BalanceRowHeight(), CallCursorFN(), CheckSplitCells(), SwFEShell::DeleteCol(), SwFEShell::DeleteRow(), SwFieldEditDlg::EnsureSelection(), ExtendedSelectAll(), ExtendedSelectedAll(), SwShellCursor::FillStartEnd(), SwFEShell::GetBoxAlign(), SwFEShell::GetBoxBackground(), SwFEShell::GetBoxDirection(), SwEditShell::GetChunkForAutoText(), GetOutlinePos(), SwEditShell::GetPrevAutoCorrWord(), SwFEShell::GetRowBackground(), SwFEShell::GetRowHeight(), SwFEShell::GetRowSplit(), SwFEShell::GetTabBorders(), GetTableSel(), SwWrtShell::GoEnd(), GoEndSentenceImpl(), GoEndWordImpl(), GoNextSentenceImpl(), GoNextWordImpl(), GoPrevWordImpl(), SwWrtShell::GoStart(), GoStartSentenceImpl(), GoStartWordImpl(), GotoFooterText(), GotoFormatContentControl(), GotoFormatField(), GotoHeaderText(), GotoINetAttr(), GotoNextOutline(), GotoOutline(), GotoPrevOutline(), HasSelection(), SwEditShell::Insert2(), SwWrtShell::InsertContentControl(), SwFEShell::InsertRow(), IsAtLRMargin(), LeftRight(), LRMargin(), MoveFieldType(), MoveOutOfTable(), MovePara(), MoveSection(), MoveStartText(), SwFEShell::ProtectCells(), SwWrtShell::SelAll(), SwFEShell::SetBoxAlign(), SwFEShell::SetBoxBackground(), SwFEShell::SetBoxDirection(), SetCursor(), SwEditWin::SetCursorTwipPosition(), SwFEShell::SetRowBackground(), SwFEShell::SetRowHeight(), SwFEShell::SetRowSplit(), SwFEShell::SetTabBorders(), SwFEShell::SetTabLineStyle(), StartsWith_(), SwTableAutoFormat::StoreTableProperties(), SwWrtShell::SttSelect(), UpdateCursor(), UpdateCursorPos(), and UpDown().

◆ getShellCursor() [2/2]

const SwShellCursor * SwCursorShell::getShellCursor ( bool  bBlock) const
inline

Definition at line 662 of file crsrsh.hxx.

◆ GetSmartTagRect()

void SwCursorShell::GetSmartTagRect ( const Point rPt,
SwRect rSelectRect 
)

◆ GetSmartTagTerm()

void SwCursorShell::GetSmartTagTerm ( std::vector< OUString > &  rSmartTagTypes,
css::uno::Sequence< css::uno::Reference< css::container::XStringKeyMap > > &  rStringKeyMaps,
css::uno::Reference< css::text::XTextRange > &  rRange 
) const

◆ GetStackCursor()

SwPaM * SwCursorShell::GetStackCursor ( ) const
inline

Definition at line 904 of file crsrsh.hxx.

References m_pStackCursor.

Referenced by PaMCorrAbs(), and PaMCorrRel().

◆ GetTableCrs() [1/2]

SwPaM * SwCursorShell::GetTableCrs ( )
inline

Definition at line 935 of file crsrsh.hxx.

References m_pTableCursor.

◆ GetTableCrs() [2/2]

const SwPaM * SwCursorShell::GetTableCrs ( ) const
inline

◆ GetTableCursor() [1/2]

SwShellTableCursor * SwCursorShell::GetTableCursor ( )
inline

Definition at line 671 of file crsrsh.hxx.

◆ GetTableCursor() [2/2]

const SwShellTableCursor * SwCursorShell::GetTableCursor ( ) const
inline

◆ GetTextDirection()

SvxFrameDirection SwCursorShell::GetTextDirection ( const Point pPt = nullptr) const

◆ GetTextFieldAtCursor()

SwTextField * SwCursorShell::GetTextFieldAtCursor ( const SwPaM pCursor,
::sw::GetTextAttrMode  eMode 
)
static

◆ GetTextFieldAtPos()

SwTextField * SwCursorShell::GetTextFieldAtPos ( const SwPosition pPos,
::sw::GetTextAttrMode  eMode 
)
static

◆ GetUpDownX()

tools::Long SwCursorShell::GetUpDownX ( ) const
inline

Definition at line 362 of file crsrsh.hxx.

Referenced by MoveCursorToNum(), and RefreshBlockCursor().

◆ GetVisibleCursor()

SwVisibleCursor * SwCursorShell::GetVisibleCursor ( ) const

Definition at line 3037 of file crsrsh.cxx.

References m_pVisibleCursor.

Referenced by SwWrtShell::getLOKPayload().

◆ GoEndSentence()

bool SwCursorShell::GoEndSentence ( )

◆ GoEndSentenceImpl()

bool SwCursorShell::GoEndSentenceImpl ( )
private

◆ GoEndWord()

bool SwCursorShell::GoEndWord ( )

Definition at line 54 of file crstrvl1.cxx.

References CallCursorShellFN(), and GoEndWordImpl().

Referenced by SwWrtShell::EndWrd().

◆ GoEndWordImpl()

bool SwCursorShell::GoEndWordImpl ( )
private

Definition at line 98 of file crstrvl1.cxx.

References SwViewShell::GetLayout(), getShellCursor(), and SwCursor::GoEndWordWT().

Referenced by GoEndWord().

◆ GoNextBookmark()

bool SwCursorShell::GoNextBookmark ( )

◆ GoNextCell()

bool SwCursorShell::GoNextCell ( bool  bAppendLine = true)

◆ GoNextCursor()

bool SwCursorShell::GoNextCursor ( )

◆ GoNextPrevCursorSetSearchLabel()

void SwCursorShell::GoNextPrevCursorSetSearchLabel ( const bool  bNext)

◆ GoNextSentence()

bool SwCursorShell::GoNextSentence ( )

Definition at line 68 of file crstrvl1.cxx.

References CallCursorShellFN(), and GoNextSentenceImpl().

Referenced by SwWrtShell::FwdSentence_().

◆ GoNextSentenceImpl()

bool SwCursorShell::GoNextSentenceImpl ( )
private

◆ GoNextWord()

bool SwCursorShell::GoNextWord ( )

Definition at line 59 of file crstrvl1.cxx.

References CallCursorShellFN(), and GoNextWordImpl().

Referenced by SwWrtShell::NxtWrd_(), and SwWrtShell::NxtWrdForDelete().

◆ GoNextWordImpl()

bool SwCursorShell::GoNextWordImpl ( )
private

Definition at line 103 of file crstrvl1.cxx.

References SwViewShell::GetLayout(), getShellCursor(), and SwCursor::GoNextWordWT().

Referenced by GoNextWord().

◆ GoPrevBookmark()

bool SwCursorShell::GoPrevBookmark ( )

◆ GoPrevCell()

bool SwCursorShell::GoPrevCell ( )

◆ GoPrevCursor()

bool SwCursorShell::GoPrevCursor ( )

◆ GoPrevWord()

bool SwCursorShell::GoPrevWord ( )

Definition at line 63 of file crstrvl1.cxx.

References CallCursorShellFN(), and GoPrevWordImpl().

Referenced by SwWrtShell::PrvWrd_(), and SwWrtShell::PrvWrdForDelete().

◆ GoPrevWordImpl()

bool SwCursorShell::GoPrevWordImpl ( )
private

Definition at line 108 of file crstrvl1.cxx.

References SwViewShell::GetLayout(), getShellCursor(), and SwCursor::GoPrevWordWT().

Referenced by GoPrevWord().

◆ GoStartSentence()

bool SwCursorShell::GoStartSentence ( )

◆ GoStartSentenceImpl()

bool SwCursorShell::GoStartSentenceImpl ( )
private

◆ GoStartWord()

bool SwCursorShell::GoStartWord ( )

Definition at line 50 of file crstrvl1.cxx.

References CallCursorShellFN(), and GoStartWordImpl().

Referenced by SwWrtShell::SttWrd().

◆ GoStartWordImpl()

bool SwCursorShell::GoStartWordImpl ( )
private

Definition at line 93 of file crstrvl1.cxx.

References SwViewShell::GetLayout(), getShellCursor(), and SwCursor::GoStartWordWT().

Referenced by GoStartWord().

◆ GotoFieldmark()

bool SwCursorShell::GotoFieldmark ( const ::sw::mark::IFieldmark *const  pMark)

Definition at line 305 of file crbm.cxx.

References CHKRANGE, READONLY, SCROLLWIN, and UpdateCursor().

Referenced by SwWrtShell::GotoFieldmark(), and GotoFormControl().

◆ GotoFlyAnchor()

void SwCursorShell::GotoFlyAnchor ( )

◆ GotoFooterText()

bool SwCursorShell::GotoFooterText ( )

◆ GotoFootnoteAnchor() [1/2]

bool SwCursorShell::GotoFootnoteAnchor ( )

◆ GotoFootnoteAnchor() [2/2]

bool SwCursorShell::GotoFootnoteAnchor ( const SwTextFootnote rTextFootnote)

Definition at line 814 of file crstrvl.cxx.

◆ GotoFootnoteText()

bool SwCursorShell::GotoFootnoteText ( )

◆ GotoFormatContentControl()

bool SwCursorShell::GotoFormatContentControl ( const SwFormatContentControl rContentControl)

◆ GotoFormatField()

bool SwCursorShell::GotoFormatField ( const SwFormatField rField)

◆ GotoFormControl()

void SwCursorShell::GotoFormControl ( bool  bNext)

◆ GotoHeaderText()

bool SwCursorShell::GotoHeaderText ( )

◆ GotoINetAttr()

bool SwCursorShell::GotoINetAttr ( const SwTextINetFormat rAttr)

◆ GotoMark() [1/2]

bool SwCursorShell::GotoMark ( const ::sw::mark::IMark *const  pMark)

◆ GotoMark() [2/2]

bool SwCursorShell::GotoMark ( const ::sw::mark::IMark *const  pMark,
bool  bAtStart 
)

◆ GotoNextFootnoteAnchor()

bool SwCursorShell::GotoNextFootnoteAnchor ( )

◆ GotoNextNum()

void SwCursorShell::GotoNextNum ( )

go to next/previous point on the same level

Definition at line 117 of file crstrvl.cxx.

References SwViewShell::GetLayout(), SwPaM::GetPoint(), SwDoc::GotoNextNum(), m_pCurrentCursor, and MoveCursorToNum().

Referenced by SwListShell::Execute().

◆ GotoNextOutline()

bool SwCursorShell::GotoNextOutline ( )

◆ GotoNextTOXBase()

bool SwCursorShell::GotoNextTOXBase ( const OUString *  pName = nullptr)

◆ GotoNxtPrvTableFormula()

bool SwCursorShell::GotoNxtPrvTableFormula ( bool  bNext = true,
bool  bOnlyErrors = false 
)

◆ GotoNxtPrvTOXMark()

bool SwCursorShell::GotoNxtPrvTOXMark ( bool  bNext = true)

◆ GotoOutline() [1/2]

bool SwCursorShell::GotoOutline ( const OUString &  rName)

◆ GotoOutline() [2/2]

void SwCursorShell::GotoOutline ( SwOutlineNodes::size_type  nIdx)

◆ GotoPage()

bool SwCursorShell::GotoPage ( sal_uInt16  nPage)

◆ GotoPrevFootnoteAnchor()

bool SwCursorShell::GotoPrevFootnoteAnchor ( )

◆ GotoPrevNum()

void SwCursorShell::GotoPrevNum ( )

◆ GotoPrevOutline()

bool SwCursorShell::GotoPrevOutline ( )

◆ GotoPrevTOXBase()

bool SwCursorShell::GotoPrevTOXBase ( const OUString *  pName = nullptr)

◆ GotoRedline()

const SwRangeRedline * SwCursorShell::GotoRedline ( SwRedlineTable::size_type  nArrPos,
bool  bSelect 
)

◆ GotoRedline_()

const SwRangeRedline * SwCursorShell::GotoRedline_ ( SwRedlineTable::size_type  nArrPos,
bool  bSelect 
)
private

◆ GotoRefMark()

bool SwCursorShell::GotoRefMark ( const OUString &  rRefMark,
sal_uInt16  nSubType,
sal_uInt16  nSeqNo 
)

◆ GotoRegion()

bool SwCursorShell::GotoRegion ( std::u16string_view  rName)

◆ GotoTable()

bool SwCursorShell::GotoTable ( const OUString &  rName)

◆ GotoTOXMark()

const SwTOXMark & SwCursorShell::GotoTOXMark ( const SwTOXMark rStart,
SwTOXSearch  eDir 
)

◆ GotoTOXMarkBase()

void SwCursorShell::GotoTOXMarkBase ( )

◆ HasHiddenSections()

bool SwCursorShell::HasHiddenSections ( ) const

◆ HasMark()

bool SwCursorShell::HasMark ( ) const
inline

◆ HasReadonlySel()

bool SwCursorShell::HasReadonlySel ( bool  isReplace = false) const

◆ HasSelection()

bool SwCursorShell::HasSelection ( ) const

◆ HasShellFocus()

bool SwCursorShell::HasShellFocus ( ) const
inline

Definition at line 464 of file crsrsh.hxx.

Referenced by SwFEShell::Copy().

◆ HideCursor()

void SwCursorShell::HideCursor ( )

◆ HideCursors()

void SwCursorShell::HideCursors ( )

◆ IsAllProtect()

bool SwCursorShell::IsAllProtect ( ) const
inline

Definition at line 790 of file crsrsh.hxx.

Referenced by SwNavigationPI::~SwNavigationPI().

◆ IsAtLeftMargin()

bool SwCursorShell::IsAtLeftMargin ( ) const
inline

Definition at line 775 of file crsrsh.hxx.

Referenced by SwXTextViewCursor::isAtStartOfLine().

◆ IsAtLRMargin()

bool SwCursorShell::IsAtLRMargin ( bool  bLeft,
bool  bAPI = false 
) const
private

◆ IsAtRightMargin()

bool SwCursorShell::IsAtRightMargin ( ) const
inline

Definition at line 776 of file crsrsh.hxx.

Referenced by SwXTextViewCursor::isAtEndOfLine().

◆ IsAutoUpdateCells()

bool SwCursorShell::IsAutoUpdateCells ( ) const
inline

◆ IsBlockMode()

bool SwCursorShell::IsBlockMode ( ) const
inline

Definition at line 665 of file crsrsh.hxx.

Referenced by IsEndOfTable().

◆ IsCursorInFootnote()

bool SwCursorShell::IsCursorInFootnote ( ) const

◆ IsCursorInTable()

const SwTableNode * SwCursorShell::IsCursorInTable ( ) const

◆ IsCursorPtAtEnd()

bool SwCursorShell::IsCursorPtAtEnd ( ) const
inline

◆ IsCursorReadonly()

bool SwCursorShell::IsCursorReadonly ( ) const

◆ IsCursorVisible()

bool SwCursorShell::IsCursorVisible ( ) const
inline

Definition at line 540 of file crsrsh.hxx.

References SwRect::Overlaps(), and SwViewShell::VisArea().

Referenced by SwContentTree::GotoContent(), and SwWrtShell::PushCursor().

◆ IsEndOfDoc()

bool SwCursorShell::IsEndOfDoc ( ) const

◆ IsEndOfTable()

bool SwCursorShell::IsEndOfTable ( ) const

◆ IsEndPara()

bool SwCursorShell::IsEndPara ( ) const

◆ IsEndSentence()

bool SwCursorShell::IsEndSentence ( ) const

◆ IsEndWord()

bool SwCursorShell::IsEndWord ( sal_Int16  nWordType = css::i18n::WordType::ANYWORD_IGNOREWHITESPACES) const

◆ IsFormProtected()

bool SwCursorShell::IsFormProtected ( )

◆ IsGCAttr()

bool SwCursorShell::IsGCAttr ( ) const
inline

◆ IsInFrontOfLabel()

bool SwCursorShell::IsInFrontOfLabel ( ) const

◆ IsInHeaderFooter()

bool SwCursorShell::IsInHeaderFooter ( bool *  pbInHeader = nullptr) const

◆ IsInHiddenRange()

bool SwCursorShell::IsInHiddenRange ( const bool  bSelect)

If the current cursor position is inside a hidden range true is returned.

If bSelect is true, the hidden range is selected. If bSelect is false, the hidden range is not selected.

Definition at line 3780 of file crsrsh.cxx.

References COMPLETE_STRING, SwScriptInfo::GetBoundsOfHiddenRange(), SwPosition::GetContentIndex(), SwPaM::GetMark(), SwPosition::GetNode(), SwPaM::GetPoint(), SwNode::GetTextNode(), SwViewShell::GetViewOptions(), SwPaM::HasMark(), m_pCurrentCursor, nPos, SwPosition::SetContent(), and SwShellCursor::SetMark().

Referenced by SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwWrtShell::Insert(), and SwTextShell::StateInsert().

◆ isInHiddenTextFrame()

bool SwCursorShell::isInHiddenTextFrame ( SwShellCursor pShellCursor)
private

◆ IsInRightToLeftText()

bool SwCursorShell::IsInRightToLeftText ( ) const

◆ IsInVerticalText()

bool SwCursorShell::IsInVerticalText ( const Point pPt = nullptr) const

◆ IsInWord()

bool SwCursorShell::IsInWord ( sal_Int16  nWordType = css::i18n::WordType::ANYWORD_IGNOREWHITESPACES) const

◆ IsMacroExecAllowed()

bool SwCursorShell::IsMacroExecAllowed ( ) const
inline

Definition at line 873 of file crsrsh.hxx.

Referenced by SwWrtShell::ExecMacro(), and SwCursorShell().

◆ IsMultiSelection()

bool SwCursorShell::IsMultiSelection ( ) const
inline

◆ IsOverReadOnlyPos()

bool SwCursorShell::IsOverReadOnlyPos ( const Point rPt) const

◆ IsOverwriteCursor()

bool SwCursorShell::IsOverwriteCursor ( ) const
inline

◆ IsPageAtPos()

bool SwCursorShell::IsPageAtPos ( const Point rPt) const

Definition at line 1426 of file crstrvl.cxx.

References SwViewShell::GetLayout(), and SwRootFrame::GetPageAtPos().

Referenced by SwEditWin::UpdatePointer().

◆ IsReadOnlyAvailable()

bool SwCursorShell::IsReadOnlyAvailable ( ) const
inline

◆ IsSelection()

bool SwCursorShell::IsSelection ( ) const
inline

◆ IsSelFullPara()

bool SwCursorShell::IsSelFullPara ( ) const

◆ IsSelOnePara()

bool SwCursorShell::IsSelOnePara ( ) const

◆ IsSelTableCells()

bool SwCursorShell::IsSelTableCells ( ) const
inline

◆ IsSendAccessibleCursorEvents()

bool SwCursorShell::IsSendAccessibleCursorEvents ( ) const
inline

◆ IsStartOfDoc()

bool SwCursorShell::IsStartOfDoc ( ) const

◆ IsStartSentence()

bool SwCursorShell::IsStartSentence ( ) const

◆ IsStartWord()

bool SwCursorShell::IsStartWord ( sal_Int16  nWordType = css::i18n::WordType::ANYWORD_IGNOREWHITESPACES) const

◆ IsSttPara()

bool SwCursorShell::IsSttPara ( ) const

◆ IsTableComplexForChart()

bool SwCursorShell::IsTableComplexForChart ( )

◆ IsTableMode()

bool SwCursorShell::IsTableMode ( ) const
inline

Definition at line 668 of file crsrsh.hxx.

Referenced by SwEditShell::AcceptRedlinesInSelection(), SwWrtShell::AddLeaveSelect(), SwSortDlg::Apply(), SwFEShell::CanUnProtectCells(), SwEditWin::changeMousePointer(), SwFEShell::CheckHeadline(), CheckSplitCells(), SwFEShell::Copy(), SwEditShell::CopySelToDoc(), CreateCursor(), SwEditShell::DeleteGlobalDocContent(), SwEditShell::DelFullPara(), DestroyCursor(), SwEditShell::DontExpandFormat(), SwTransferable::DragFinished(), SwWrtShell::EnterAddMode(), SwTextShell::ExecCharAttrArgs(), SwTextShell::ExecDelete(), SwBaseShell::ExecDlg(), SwView::ExecSpellPopup(), SwView::Execute(), SwBaseShell::Execute(), SwTableShell::Execute(), ExtendedSelectAll(), ExtendSelection(), SwWrtShell::ExtSelLn(), SwWrtShell::ExtSelWrd(), SwViewShell::FillPrtDoc(), SwBaseShell::GetBorderState(), GetBoxNms(), GetChar(), SwEditShell::GetCntType(), GetContentAtPos(), SwEditShell::GetCorrection(), SwEditShell::GetCurrSection(), SwAccessibleFrameBase::GetCursor(), SwAccessibleParagraph::GetCursor(), SwEditShell::GetGrammarCorrection(), GetPostItFieldAtCursor(), SwFEShell::GetRowSelectionFromTop(), SwAccessibleTable::GetSelBoxes(), SwWrtShell::GetSelectionType(), GetShadowCursorPos(), SwBaseShell::GetState(), SwTableShell::GetState(), SwTextShell::GetState(), SwFEShell::GetTableAutoFormat(), SwEditShell::GetTableBoxFormulaAttrs(), SwEditShell::GetTableBoxText(), GetTableSel(), GetTableSelCrs(), GoNextCell(), GoPrevCell(), SwEditShell::GotoGlobalDocContent(), GotoNxtPrvTableFormula(), GotoNxtPrvTOXMark(), GotoRedline(), SwFEShell::HasBoxSelection(), HasSelection(), SwFEShell::HasWholeTabSelection(), IMPL_LINK(), SwCallLink::ImplDestroy(), SwWrtShell::InsertField2(), SwEditShell::InsertGlobalDocContent(), SwWrtShell::InsertPostIt(), SwEditShell::InsertSection(), SwBaseShell::InsertTable(), IsEndOfTable(), SwEditShell::IsInsRegionAvailable(), SwOleClient::IsProtected(), IsSelection(), SwEditShell::IsTableBoxTextFormat(), ItemSetToTableParam(), SwEditWin::KeyInput(), lcl_TableParamToItemSet(), LeftRight(), LRMargin(), SwFEShell::MergeTab(), SwEditWin::MouseButtonDown(), SwEditShell::MoveGlobalDocContent(), SwFEShell::NewFlyFrame(), sw::NotifyTableCollapsedParagraph(), PaMCorrAbs(), PaMCorrRel(), SwFEShell::Paste(), SwTransferable::PasteData(), PrepareBoxInfo(), SwTransferable::PrivateDrop(), SwFEShell::ProtectCells(), SwEditShell::RejectRedlinesInSelection(), SelectTextAttr(), SelNextRedline(), SelPrevRedline(), SwFEShell::SelTableRowCol(), SwEditShell::SetAttrItem(), SwEditShell::SetAttrSet(), SetCursor(), SetShadowCursorPos(), SwEditShell::SetTableBoxFormulaAttrs(), ShouldWait(), SwFEShell::Sort(), SwTextShell::StateInsert(), SwCallLink::SwCallLink(), SwInsertChart::SwInsertChart(), SwDoc::TableToText(), SwEditShell::TableToText(), SwFEShell::UnProtectCells(), SwFEShell::UpdateTableStyleFormatting(), UpDown(), and SwWriter::Write().

◆ KillPams()

void SwCursorShell::KillPams ( )

◆ Left()

bool SwCursorShell::Left ( sal_uInt16  nCnt,
SwCursorSkipMode  nMode,
bool  bAllowVisual = false 
)
inline

◆ LeftMargin()

bool SwCursorShell::LeftMargin ( )
inline

◆ LeftRight()

bool SwCursorShell::LeftRight ( bool  bLeft,
sal_uInt16  nCnt,
SwCursorSkipMode  nMode,
bool  bVisualAllowed 
)
private

◆ LRMargin()

bool SwCursorShell::LRMargin ( bool  bLeft,
bool  bAPI = false 
)
private

◆ MakeFindRange()

SwMoveFnCollection const & SwCursorShell::MakeFindRange ( SwDocPositions  nStt,
SwDocPositions  nEnd,
SwPaM pPam 
) const
inlineprotected

◆ MakeOutlineSel()

void SwCursorShell::MakeOutlineSel ( SwOutlineNodes::size_type  nSttPos,
SwOutlineNodes::size_type  nEndPos,
bool  bWithChildren,
bool  bKillPams = true 
)

◆ MakeSelVisible()

void SwCursorShell::MakeSelVisible ( )
virtual

◆ MarkListLevel()

void SwCursorShell::MarkListLevel ( const OUString &  sListId,
const int  nLevel 
)
private

Mark a certain list level of a certain list.

levels of a certain lists are marked now

Parameters
sListIdlist Id of the list whose level is marked
nLevelto be marked list level

An empty sListId denotes that no level of a list is marked.

Definition at line 388 of file crsrsh.cxx.

References SwViewShell::GetViewOptions(), m_nMarkedListLevel, m_sMarkedListId, and SwViewShell::mxDoc.

Referenced by UpdateMarkedListLevel().

◆ MoveColumn()

void SwCursorShell::MoveColumn ( SwWhichColumn  fnWhichCol,
SwPosColumn  fnPosCol 
)

◆ MoveCursorToNum()

void SwCursorShell::MoveCursorToNum ( )
private

◆ MoveFieldType()

bool SwCursorShell::MoveFieldType ( const SwFieldType pFieldType,
const bool  bNext,
const SwFieldIds  nResType = SwFieldIds::Unknown,
const bool  bAddSetExpressionFieldsToInputFields = true 
)

◆ MoveOutOfTable()

bool SwCursorShell::MoveOutOfTable ( )

◆ MovePage()

bool SwCursorShell::MovePage ( SwWhichPage  fnWhichPage,
SwPosPage  fnPosPage 
)

◆ MovePara()

bool SwCursorShell::MovePara ( SwWhichPara  fnWhichPara,
SwMoveFnCollection const &  fnPosPara 
)

◆ MoveRegion()

bool SwCursorShell::MoveRegion ( SwWhichRegion  fnWhichRegion,
SwMoveFnCollection const &  fnPosRegion 
)

◆ MoveSection()

bool SwCursorShell::MoveSection ( SwWhichSection  fnWhichSect,
SwMoveFnCollection const &  fnPosSect 
)

◆ MoveStartText()

bool SwCursorShell::MoveStartText ( )

◆ MoveTable()

bool SwCursorShell::MoveTable ( SwWhichTable  fnWhichTable,
SwMoveFnCollection const &  fnPosTable 
)

◆ NormalizePam()

void SwCursorShell::NormalizePam ( bool  bPointFirst = true)

Ensure point and mark of the current PaM are in a specific order.

Parameters
bPointFirsttrue: If the point is behind the mark then swap the PaM. false: If the mark is behind the point then swap the PaM.

Definition at line 1256 of file crsrsh.cxx.

References m_pCurrentCursor, and SwPaM::Normalize().

Referenced by SwWrtShell::ClickToField(), SwWrtShell::DelLeft(), SwWrtShell::DelRight(), SwFieldEditDlg::EnsureSelection(), SwEditWin::FlushInBuffer(), SwWrtShell::Insert(), SwWrtShell::InsertField2(), SelNextRedline(), and SelPrevRedline().

◆ NotifyCursor()

void SwCursorShell::NotifyCursor ( SfxViewShell pViewShell) const

◆ Paint()

void SwCursorShell::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
overridevirtual

◆ ParkCursor()

void SwCursorShell::ParkCursor ( const SwNode rIdx)

◆ ParkPams()

void SwCursorShell::ParkPams ( SwPaM pDelRg,
SwShellCursor **  ppDelRing 
)
private

◆ ParkTableCursor()

bool SwCursorShell::ParkTableCursor ( )

Invalidate cursors.

Delete all created cursors, set table crsr and last crsr to their TextNode (or StartNode?). They will then all re-created at the next ::GetCursor() call.

This is needed for Drag&Drop/ Clipboard-paste in tables.

Definition at line 3100 of file crsrsh.cxx.

References SwPaM::DeleteMark(), SwShellCursor::GetNext(), SwPaM::GetPoint(), m_pCurrentCursor, m_pTableCursor, and SwTableCursor::ParkCursor().

Referenced by SwFEShell::Copy(), and SwFEShell::Paste().

◆ Pop() [1/2]

bool SwCursorShell::Pop ( PopMode  eDelete)

delete cursor

Parameters
eDeletedelete from stack, or delete current and assign the one from stack as the new current cursor.
Returns
<true> if there was one on the stack, <false> otherwise

Definition at line 2572 of file crsrsh.cxx.

References Pop().

◆ Pop() [2/2]

bool SwCursorShell::Pop ( PopMode  ,
::std::optional< SwCallLink > &  roLink 
)

◆ PosInsideInputField()

bool SwCursorShell::PosInsideInputField ( const SwPosition rPos)
static

◆ Push()

void SwCursorShell::Push ( )

store a copy of the current cursor on the cursor stack

create a copy of the cursor and save it in the stack

Definition at line 2550 of file crsrsh.cxx.

References SwPaM::GetMark(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), SwPaM::HasMark(), m_pCurrentCursor, m_pStackCursor, m_pTableCursor, and SwShellCursor::SetMark().

Referenced by SwMailMergeLayoutPage::Activate(), SwEditShell::ApplyAutoMark(), SwEditShell::ApplyChangedSentence(), SwEditShell::AutoFormatBySplitNode(), SwWrtShell::BwdPara_(), SwWrtShell::BwdSentence_(), SwDocShell::ConvertTo(), SwFormatClipboard::Copy(), SwInputWindow::DelBoxContent(), SwEditWin::DeleteSurroundingText(), SwWrtShell::DelLeft(), SwWrtShell::DelLine(), SwWrtShell::DelRight(), SwWrtShell::DelToEndOfPara(), SwWrtShell::DelToEndOfSentence(), SwWrtShell::DelToStartOfPara(), SwWrtShell::EndWrd(), SwTextShell::ExecField(), SwView::ExecSpellPopup(), SwView::ExecTabWin(), SwTextShell::Execute(), SwBreakDashedLine::execute(), SwWrtShell::ExtSelWrd(), SwEditShell::FieldToText(), SwEditWin::FlushInBuffer(), SwWrtShell::FwdPara_(), SwWrtShell::FwdSentence_(), GetSmartTagRect(), SwEditWin::GetSurroundingText(), SwEditWin::GetSurroundingTextSelection(), SwEditShell::HandleCorrectionError(), IMPL_LINK(), SwHandleAnchorNodeChg::ImplDestroy(), SwWrtShell::Insert(), BookmarkTable::InsertBookmark(), SwFieldMgr::InsertField(), SwMailMergeLayoutPage::InsertGreeting(), SwModule::InsertLab(), SwWrtShell::InsertPostIt(), SwWrtShell::IntelligentCut(), SwTextContentControl::Invalidate(), ItemSetToTableParam(), SwEditWin::KeyInput(), lcl_OutlineUpDownWithSubPoints(), lcl_SelectSameStrings(), lcl_SetAllTextToDefaultLanguage(), lcl_TableParamToItemSet(), MoveOutOfTable(), SwWrtShell::NxtWrd_(), SwWrtShell::NxtWrdForDelete(), SwFEShell::PastePages(), SwTransferable::PrivateDrop(), SwWrtShell::PrvWrd_(), SwWrtShell::PrvWrdForDelete(), SwInputFieldList::PushCursor(), SwEditShell::Redo(), SwWrtShell::SelAll(), SwLangHelper::SetLanguageStatus(), SwEditShell::SetNumberingRestart(), SwInputWindow::ShowWin(), SwWrtShell::SttWrd(), sw_CharDialog(), sw_CharDialogResult(), SwAutoFormat::SwAutoFormat(), SwEditShell::Undo(), SwGrfShell::SwExternalToolEdit::Update(), SwDropCapsPict::UpdatePaintSettings(), and SwWriter::Write().

◆ RefreshBlockCursor()

void SwCursorShell::RefreshBlockCursor ( )
protected

◆ Right()

bool SwCursorShell::Right ( sal_uInt16  nCnt,
SwCursorSkipMode  nMode,
bool  bAllowVisual = false 
)
inline

◆ RightMargin()

bool SwCursorShell::RightMargin ( bool  bAPI = false)
inline

◆ SaveTableBoxContent()

void SwCursorShell::SaveTableBoxContent ( const SwPosition pPos = nullptr)

◆ SelectNxtPrvHyperlink()

bool SwCursorShell::SelectNxtPrvHyperlink ( bool  bNext)

◆ SelectTextAttr()

bool SwCursorShell::SelectTextAttr ( sal_uInt16  nWhich,
bool  bExpand,
const SwTextAttr pAttr = nullptr 
)

◆ SelectTextModel()

bool SwCursorShell::SelectTextModel ( sal_Int32  nStart,
sal_Int32  nEnd 
)

◆ SelectWord()

bool SwCursorShell::SelectWord ( const Point pPt)

Definition at line 83 of file crstrvl1.cxx.

References m_pCurrentCursor, and SwCursor::SelectWord().

Referenced by SwWrtShell::ExtSelWrd(), and SwWrtShell::SelWrd().

◆ SelNextRedline()

const SwRangeRedline * SwCursorShell::SelNextRedline ( )

◆ SelPrevRedline()

const SwRangeRedline * SwCursorShell::SelPrevRedline ( )

◆ SelTable()

bool SwCursorShell::SelTable ( )

◆ SelTableBox()

bool SwCursorShell::SelTableBox ( )

◆ SelTableCol()

bool SwCursorShell::SelTableCol ( )
inline

Definition at line 626 of file crsrsh.hxx.

Referenced by SwWrtShell::SelectTableCol().

◆ SelTableRow()

bool SwCursorShell::SelTableRow ( )
inline

Definition at line 625 of file crsrsh.hxx.

Referenced by SwWrtShell::SelectTableRow().

◆ SelTableRowOrCol()

bool SwCursorShell::SelTableRowOrCol ( bool  bRow,
bool  bRowSimple = false 
)
protected

◆ sendLOKCursorUpdates()

void SwCursorShell::sendLOKCursorUpdates ( )
private

◆ SetAutoUpdateCells()

void SwCursorShell::SetAutoUpdateCells ( bool  bFlag)
inline

Definition at line 840 of file crsrsh.hxx.

Referenced by SwInsertDBColAutoPilot::DataToDoc().

◆ SetBookmark()

sw::mark::IMark * SwCursorShell::SetBookmark ( const vcl::KeyCode rCode,
const OUString &  rName,
IDocumentMarkAccess::MarkType  eMark = IDocumentMarkAccess::MarkType::BOOKMARK 
)

◆ SetBookmark2()

sw::mark::IMark * SwCursorShell::SetBookmark2 ( const vcl::KeyCode rCode,
const OUString &  rName,
bool  bHide,
const OUString &  rCondition 
)

◆ SetChgLnk()

void SwCursorShell::SetChgLnk ( const Link< LinkParamNone *, void > &  rLnk)
inline

◆ SetCursor()

int SwCursorShell::SetCursor ( const Point rPt,
bool  bOnlyText = false,
bool  bBlock = true 
)

◆ SetCursorInHdFt()

bool SwCursorShell::SetCursorInHdFt ( size_t  nDescNo,
bool  bInHeader,
bool  bEven = false,
bool  bFirst = false 
)

◆ SetFlyMacroLnk()

void SwCursorShell::SetFlyMacroLnk ( const Link< const SwFlyFrameFormat *, void > &  rLnk)
inline

Definition at line 499 of file crsrsh.hxx.

Referenced by SwWrtShell::SwWrtShell().

◆ SetGrfArrivedLnk()

void SwCursorShell::SetGrfArrivedLnk ( const Link< SwCursorShell &, void > &  rLnk)
inline

Definition at line 507 of file crsrsh.hxx.

Referenced by SwBaseShell::SwBaseShell(), and SwBaseShell::~SwBaseShell().

◆ SetInFrontOfLabel()

bool SwCursorShell::SetInFrontOfLabel ( bool  bNew)
protected

◆ SetMacroExecAllowed()

void SwCursorShell::SetMacroExecAllowed ( const bool  _bMacroExecAllowed)
inline

Definition at line 869 of file crsrsh.hxx.

◆ SetMark()

void SwCursorShell::SetMark ( )
inline

◆ SetOverwriteCursor()

void SwCursorShell::SetOverwriteCursor ( bool  bFlag)
inline

◆ SetReadOnlyAvailable()

void SwCursorShell::SetReadOnlyAvailable ( bool  bFlag)

is the cursor allowed to enter ReadOnly sections?

Definition at line 3644 of file crsrsh.cxx.

References ClearMark(), SwViewShell::GetDoc(), m_bSetCursorInReadOnly, and UpdateCursor().

◆ SetSelection()

void SwCursorShell::SetSelection ( const SwPaM rCursor)

◆ SetSelTableCells()

void SwCursorShell::SetSelTableCells ( bool  bFlag)
inline

Definition at line 833 of file crsrsh.hxx.

Referenced by SwWrtShell::EndSelTableCells(), and SwWrtShell::SelTableCells().

◆ SetSendAccessibleCursorEvents()

void SwCursorShell::SetSendAccessibleCursorEvents ( bool  bEnable)
inline

◆ SetShadowCursorPos()

bool SwCursorShell::SetShadowCursorPos ( const Point rPt,
SwFillMode  eFillMode 
)

Definition at line 2335 of file crstrvl.cxx.

References IDocumentContentOperations::AppendTextNode(), SwPosition::Assign(), SwFillCursorPos::eMode, EMPTY, EndAction(), SwNode::EndOfSectionNode(), SwFillCursorPos::eOrient, SwNode::FindSectionNode(), SvxAdjustItem::GetAdjust(), SwContentNode::GetAttr(), SwViewShell::GetAttrPool(), SwPosition::GetContentIndex(), SwNode::GetContentNode(), SwViewShell::GetDoc(), SwDoc::getIDocumentContentOperations(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::GetIDocumentUndoRedo(), SwViewShell::GetLayout(), SwTextFormatColl::GetNextTextFormatColl(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPaM::GetPoint(), SwTextNode::GetTextColl(), SwNode::GetTextNode(), HasSelection(), Indent, INS_FROM_SHADOWCRSR, IDocumentContentOperations::InsertItemSet(), IDocumentContentOperations::InsertPoolItem(), IDocumentContentOperations::InsertString(), SwNode::IsEndNode(), IsTableMode(), SwNode::IsTextNode(), SwContentNode::Len(), m_pCurrentCursor, Margin, n, SwFillCursorPos::nColumnCnt, SwPostItHelper::NONE, SwFillCursorPos::nParaCnt, SwFillCursorPos::nSpaceCnt, SwFillCursorPos::nSpaceOnlyCnt, SwFillCursorPos::nTabCnt, comphelper::string::padToLength(), RES_BREAK(), RES_MARGIN_FIRSTLINE(), RES_MARGIN_TEXTLEFT(), RES_PARATR_ADJUST(), SvxAdjustItem::SetAdjust(), SvxFirstLineIndentItem::SetTextFirstLineOffset(), SwDoc::SetTextFormatColl(), SvxTextLeftMarginItem::SetTextLeft(), Space, StartAction(), Tab, and TabSpace.

Referenced by SwMailMergeLayoutPage::InsertGreeting(), and SwEditWin::MouseButtonUp().

◆ SetVisibleCursor()

bool SwCursorShell::SetVisibleCursor ( const Point rPt)

◆ ShellGetFocus()

void SwCursorShell::ShellGetFocus ( )

◆ ShellLoseFocus()

void SwCursorShell::ShellLoseFocus ( )

Definition at line 2751 of file crsrsh.cxx.

References HideCursors(), m_bBasicHideCursor, and m_bHasFocus.

Referenced by SwFEShell::ShellLoseFocus(), and SwLayIdle::SwLayIdle().

◆ ShouldWait()

bool SwCursorShell::ShouldWait ( ) const

Should WaitPtr be switched on for the clipboard?

Wait for TableMode, multiple selections and more than x selected paragraphs.

Definition at line 3369 of file crsrsh.cxx.

References SwPaM::End(), GetCursor(), GetCursorCnt(), SwViewShell::GetDrawView(), SwPosition::GetNodeIndex(), SwViewShell::HasDrawView(), IsTableMode(), and SwPaM::Start().

Referenced by SwTransferable::PrepareForCopy(), and SwTransferable::PrepareForCopyTextRange().

◆ ShowCursor()

void SwCursorShell::ShowCursor ( )

◆ ShowCursors()

void SwCursorShell::ShowCursors ( bool  bCursorVis)

◆ StartAction()

void SwCursorShell::StartAction ( )

Definition at line 226 of file crsrsh.cxx.

References SwViewShell::ActionPend(), SwPosition::GetContentIndex(), SwNode::GetIndex(), SwViewShell::GetLayout(), SwCallLink::getLayoutFrame(), SwPosition::GetNode(), SwNode::GetNodeType(), SwPaM::GetPoint(), SwNode::GetTextNode(), SwNode::IsTextNode(), m_nCurrentContent, m_nCurrentNdTyp, m_nCurrentNode, m_nLeftFramePos, m_pCurrentCursor, and SwViewShell::StartAction().

Referenced by SwAccessibleParagraph::addSelection(), SwInsFootNoteDlg::Apply(), SwEditShell::ApplyChangedSentence(), SwEditShell::ApplyViewOptions(), SwWrtShell::AutoUpdateFrame(), SwWrtShell::AutoUpdatePara(), SwRedlineAcceptDlg::CallAcceptReject(), CheckTableBoxContent(), SwJavaEditDialog::CheckTravel(), SwAccessibleTable::clearAccessibleSelection(), SwFormatClipboard::Copy(), SwContentTree::DeleteOutlineSelections(), SwAccessibleTable::deselectAccessibleChild(), SwContentTree::EditEntry(), SwDrawShell::ExecDrawDlg(), SwTextShell::ExecField(), SwTextShell::ExecParaAttrArgs(), SwView::ExecTabWin(), SwSpellPopup::Execute(), SwBaseShell::Execute(), SwTableShell::Execute(), SwTextShell::Execute(), SwDrawBaseShell::Execute(), SwGlobalTree::ExecuteContextMenuAction(), SwBaseShell::ExecuteGallery(), SwView::ExecViewOptions(), SwFEShell::GetConnectableFrameFormats(), SwContentTree::GotoContent(), IMPL_LINK(), IMPL_LINK_NOARG(), SwFieldEditDlg::Init(), SwInsFootNoteDlg::Init(), SwWrtShell::InsertContentControl(), SwFieldMgr::InsertField(), SwView::InsertGraphic(), SwView::InsertGraphicDlg(), SwTextShell::InsertHyperlink(), SwBaseShell::InsertRegionDialog(), SwBaseShell::InsertURLButton(), IsTableComplexForChart(), lcl_InvalidateAllContent(), lcl_InvalidateAllObjPos(), lcl_SetAllTextToDefaultLanguage(), SwWrtShell::MakeAllFoldedOutlineContentVisible(), SwOutlineTabDialog::Ok(), SwFormatClipboard::Paste(), SwTransferable::PrivateDrop(), SwAccessibleTable::selectAccessibleChild(), SwWrtShell::SelectNextPrevHyperlink(), SwFEShell::SelectObj(), SetBookmark(), SetBookmark2(), SwWrtShell::SetInsMode(), SwLangHelper::SetLanguageStatus(), SetSelection(), SetShadowCursorPos(), SwEditShell::SpellContinue(), SwEditShell::SpellSentence(), SwTextShell::StateInsert(), SttCursorMove(), sw_CharDialog(), sw_CharDialogResult(), sw_ParagraphDialogResult(), SwActContext::SwActContext(), SwAccessibleTable::unselectColumn(), SwAccessibleTable::unselectRow(), SwWordCountFloatDlg::UpdateCounts(), and SwViewShell::UpdateFields().

◆ StartOfInputFieldAtPos()

sal_Int32 SwCursorShell::StartOfInputFieldAtPos ( const SwPosition rPos)
static

Definition at line 1141 of file crstrvl.cxx.

References sw::Default, SwTextAttr::GetStart(), and GetTextFieldAtPos().

Referenced by SwTextShell::ExecField(), and lcl_FindAnchorPos().

◆ StartsWith_()

SwCursorShell::StartsWith SwCursorShell::StartsWith_ ( )

◆ SttCursorMove()

void SwCursorShell::SttCursorMove ( )

◆ SttEndDoc()

bool SwCursorShell::SttEndDoc ( bool  bStt)

◆ SwapPam()

void SwCursorShell::SwapPam ( )

◆ SwClientNotify()

void SwCursorShell::SwClientNotify ( const SwModify ,
const SfxHint rHint 
)
overrideprotectedvirtual

◆ TableCursorToCursor()

void SwCursorShell::TableCursorToCursor ( )

enter block mode, change normal cursor into block cursor

Definition at line 1182 of file crsrsh.cxx.

References m_pTableCursor.

Referenced by ClearUpCursors(), SwTableShell::Execute(), ExtendedSelectAll(), and SwFEShell::SelTableRowCol().

◆ TestCurrPam()

bool SwCursorShell::TestCurrPam ( const Point rPt,
bool  bTstHit = false 
)

◆ TrySelectOuterTable()

bool SwCursorShell::TrySelectOuterTable ( )

◆ UnsetEnhancedTableSelection()

void SwCursorShell::UnsetEnhancedTableSelection ( )
inline

Definition at line 836 of file crsrsh.hxx.

References SwTable::SEARCH_NONE.

Referenced by SwWrtShell::ResetSelect().

◆ UnSetVisibleCursor()

void SwCursorShell::UnSetVisibleCursor ( )
inline

◆ Up()

bool SwCursorShell::Up ( sal_uInt16  nCnt = 1)
inline

Definition at line 368 of file crsrsh.hxx.

References UpDown.

Referenced by SwWrtShell::Up().

◆ UpdateAttr()

void SwCursorShell::UpdateAttr ( )
inline

◆ UpdateCursor()

void SwCursorShell::UpdateCursor ( sal_uInt16  eFlags = SwCursorShell::SCROLLWIN|SwCursorShell::CHKRANGE,
bool  bIdleEnd = false 
)

Definition at line 1876 of file crsrsh.cxx.

References a, SwViewShell::ActionPend(), BEFORE, SwFrame::Calc(), SwViewShell::CalcLayout(), CallChgLnk(), SwRect::Center(), CheckRange(), CheckTableBoxContent(), CHKRANGE, ClearUpCursors(), SwPaM::DeleteMark(), SwNode::FindSectionNode(), SwFrame::FindTabFrame(), FindValidContentNode(), fnMoveBackward, fnMoveForward, fnSectionEnd, fnSectionStart, SwFrame::GetCharRect(), SwNode::GetContentNode(), SwCursor::GetCursorBidiLevel(), StyleSettings::GetCursorBlinkTime(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SwViewShell::GetDrawView(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::getIDocumentMarkAccess(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetMark(), SwPaM::GetMarkContentNode(), SwPaM::GetMarkNode(), SwShellCursor::GetMkPos(), SwFrame::GetModelPositionForViewPoint(), SwShellCursor::GetNext(), SwPosition::GetNode(), SwViewShell::GetOut(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwPaM::GetPointNode(), SwShellCursor::GetPtPos(), sw::Ring< value_type >::GetRingContainer(), SwTable::GetRowsToRepeat(), SwSectionNode::GetSection(), Application::GetSettings(), OutputDevice::GetSettings(), getShellCursor(), AllSettings::GetStyleSettings(), SwTabFrame::GetTable(), SwFrame::GetUpper(), SwViewShell::GetViewOptions(), Point::getY(), GoCurrSection(), GoInContent(), SwRect::HasArea(), SwViewShell::HasDrawView(), SwPaM::HasMark(), HasSelection(), SwRect::Height(), SwVisibleCursor::Hide(), SwViewShell::Imp(), SwViewShellImp::InvalidateAccessibleCursorPosition(), comphelper::LibreOfficeKit::isActive(), SwFrame::IsCellFrame(), SwTableCursor::IsCursorMovedUpdate(), IsCursorReadonly(), SwSection::IsHiddenFlag(), SwPaM::IsInFrontOfLabel(), SwTabFrame::IsInHeadline(), SwDoc::IsInTable(), IsOverwriteCursor(), SwFrame::IsProtected(), SwSection::IsProtectFlag(), IsReadOnlyAvailable(), SwFrame::IsVertical(), lcl_CheckHiddenPara(), lcl_CheckHiddenSection(), SwRect::Left(), m_aCharRect, m_aCursorHeight, SwCursorMoveState::m_aRealHeight, m_bAllProtect, m_bBasicHideCursor, m_bHasFocus, m_bIgnoreReadonly, SwCursorMoveState::m_bRealHeight, SwCursorMoveState::m_bRealWidth, m_bSendAccessibleCursorEvents, SwCursorMoveState::m_bSetInReadOnly, m_bSVCursorVis, m_eMvState, SwCursorMoveState::m_nCursorBidiLevel, m_nUpDownX, m_pBlockCursor, m_pCurrentCursor, SwCursorMoveState::m_pSpecialPos, m_pTableCursor, m_pVisibleCursor, MakeSelVisible(), SwRootFrame::MakeTableCursors(), SwViewShell::MakeVisible(), SwViewShell::mbSelectAll, SwViewShell::mxDoc, SwSpecialPos::nExtendRange, NONE, IDocumentMarkAccess::NotifyCursorUpdate(), SwFrame::PrepareCursor(), READONLY, RefreshBlockCursor(), SAL_WARN, SCROLLWIN, sendLOKCursorUpdates(), StyleSettings::SetCursorBlinkTime(), SwShellCursor::SetMark(), SfxObjectShell::SetReadOnlyUI(), OutputDevice::SetSettings(), AllSettings::SetStyleSettings(), Point::setX(), Point::setY(), SwVisibleCursor::Show(), SwShellCursor::Show(), SwNode::StartOfSectionNode(), STYLE_CURSOR_NOBLINKTIME, SwRect::Top(), SwViewShell::UISizeNotify(), UpdateCursorPos(), UPDOWN, and SwRect::Width().

Referenced by CallCursorFN(), CallCursorShellFN(), Combine(), CreateCursor(), DestroyCursor(), EndAction(), SwTextShell::Execute(), SwContentTree::ExecuteContextMenuAction(), ExtendSelection(), Find_Text(), FindAttrs(), FindFormat(), GetContentAtPos(), GoNextBookmark(), GoNextCell(), GoNextCursor(), GoPrevBookmark(), GoPrevCell(), GoPrevCursor(), SwContentTree::GotoContent(), GotoFieldmark(), GotoFlyAnchor(), GotoFooterText(), GotoFootnoteAnchor(), GotoFootnoteText(), GotoFormatField(), GotoHeaderText(), GotoINetAttr(), GotoMark(), GotoNextOutline(), GotoNextTOXBase(), GotoNxtPrvTableFormula(), GotoNxtPrvTOXMark(), GotoOutline(), GotoPage(), GotoPrevOutline(), GotoPrevTOXBase(), GotoRedline_(), GotoRefMark(), GotoRegion(), GotoTable(), GotoTOXMark(), GotoTOXMarkBase(), KillPams(), LeftRight(), MakeOutlineSel(), MoveColumn(), MoveCursorToNum(), MoveFieldType(), MovePage(), MovePara(), MoveRegion(), MoveSection(), MoveStartText(), MoveTable(), SelectNxtPrvHyperlink(), SelectTextModel(), SelNextRedline(), SelPrevRedline(), SelTable(), SelTableBox(), SelTableRowOrCol(), SetCursor(), SetCursorInHdFt(), SetReadOnlyAvailable(), ShellGetFocus(), ShowCursor(), SttEndDoc(), TrySelectOuterTable(), UpDown(), and MakeAllOutlineContentTemporarilyVisible::~MakeAllOutlineContentTemporarilyVisible().

◆ UpdateCursorPos()

void SwCursorShell::UpdateCursorPos ( )

Set the cursor back into content.

This should only be called if the cursor was move somewhere else (e.g. when deleting a border). The new position is calculated from its current position in the layout.

Definition at line 1791 of file crsrsh.cxx.

References SwPaM::DeleteMark(), ExtendedSelectedAll(), SwViewShell::GetDoc(), SwViewShell::GetDocSize(), SwViewShell::GetLayout(), SwRootFrame::GetModelPositionForViewPoint(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), getShellCursor(), isInHiddenTextFrame(), IsReadOnlyAvailable(), SwCursorMoveState::m_bSetInReadOnly, m_pCurrentCursor, SwViewShell::mnStartAction, NONE, and SwViewShell::SizeChgNotify().

Referenced by UpdateCursor().

◆ UpdateMarkedListLevel()

void SwCursorShell::UpdateMarkedListLevel ( )
protected

◆ UpdateTableSelBoxes()

size_t SwCursorShell::UpdateTableSelBoxes ( )

◆ UpDown()

bool SwCursorShell::UpDown ( bool  bUp,
sal_uInt16  nCnt 
)
private

◆ VisPortChgd()

void SwCursorShell::VisPortChgd ( const SwRect rRect)
overridevirtual

Friends And Related Function Documentation

◆ GetAutoSumSel

bool GetAutoSumSel ( const SwCursorShell ,
SwCellFrames  
)
friend

Definition at line 691 of file tblsel.cxx.

Referenced by SwFEShell::GetAutoSum().

◆ SwCallLink

friend class SwCallLink
friend

Definition at line 152 of file crsrsh.hxx.

◆ SwSelPaintRects

friend class SwSelPaintRects
friend

Definition at line 154 of file crsrsh.hxx.

◆ SwVisibleCursor

friend class SwVisibleCursor
friend

Definition at line 153 of file crsrsh.hxx.

Referenced by SwCursorShell().

Member Data Documentation

◆ m_aCharRect

SwRect SwCursorShell::m_aCharRect
private

Char-SRectangle on which the cursor is located.

Definition at line 175 of file crsrsh.hxx.

Referenced by GotoFlyAnchor(), MakeSelVisible(), MoveCursorToNum(), Paint(), SetCursor(), SwVisibleCursor::SetPosAndShow(), SetVisibleCursor(), SwVisibleCursor::Show(), and UpdateCursor().

◆ m_aChgLnk

Link<LinkParamNone*,void> SwCursorShell::m_aChgLnk
private

link will be called by every attribute/ format changes at cursor position.

Definition at line 182 of file crsrsh.hxx.

Referenced by CallChgLnk(), EndAction(), and SwCallLink::ImplDestroy().

◆ m_aCursorHeight

Point SwCursorShell::m_aCursorHeight
private

height & offset from visible Cursor

Definition at line 176 of file crsrsh.hxx.

Referenced by MakeSelVisible(), SwVisibleCursor::SetPosAndShow(), SetVisibleCursor(), and UpdateCursor().

◆ m_aFlyMacroLnk

Link<const SwFlyFrameFormat*,void> SwCursorShell::m_aFlyMacroLnk
private

Link will be called, if the Cursor is set into a fly.

A macro can then be called

Definition at line 180 of file crsrsh.hxx.

◆ m_aGrfArrivedLnk

Link<SwCursorShell&,void> SwCursorShell::m_aGrfArrivedLnk
private

Link calls to UI if a graphic is arrived.

Definition at line 184 of file crsrsh.hxx.

Referenced by SwClientNotify().

◆ m_aOldRBPos

Point SwCursorShell::m_aOldRBPos
private

Right/Bottom of last VisArea.

Definition at line 177 of file crsrsh.hxx.

Referenced by VisPortChgd().

◆ m_bAllProtect

bool SwCursorShell::m_bAllProtect
private

Flag for areas.

Definition at line 227 of file crsrsh.hxx.

Referenced by FindValidContentNode(), SetCursor(), ShowCursors(), SwCursorShell(), and UpdateCursor().

◆ m_bAutoUpdateCells

bool SwCursorShell::m_bAutoUpdateCells
private

Definition at line 235 of file crsrsh.hxx.

Referenced by SwCursorShell().

◆ m_bBasicHideCursor

bool SwCursorShell::m_bBasicHideCursor
private

◆ m_bCallChgLnk

bool SwCursorShell::m_bCallChgLnk
private

flag for derived classes

Definition at line 224 of file crsrsh.hxx.

Referenced by CallChgLnk(), EndAction(), SwCallLink::ImplDestroy(), SwClientNotify(), and SwCursorShell().

◆ m_bChgCallFlag

bool SwCursorShell::m_bChgCallFlag
private

attribute change inside Start- and EndAction

Definition at line 220 of file crsrsh.hxx.

Referenced by CallChgLnk(), EndAction(), and SwCursorShell().

◆ m_bGCAttr

bool SwCursorShell::m_bGCAttr
private

Definition at line 231 of file crsrsh.hxx.

Referenced by SwCursorShell().

◆ m_bHasFocus

bool SwCursorShell::m_bHasFocus
private

Shell is "active" in a window.

Definition at line 218 of file crsrsh.hxx.

Referenced by HideCursors(), MakeSelVisible(), Paint(), ShellGetFocus(), ShellLoseFocus(), ShowCursors(), SwCursorShell(), and UpdateCursor().

◆ m_bIgnoreReadonly

bool SwCursorShell::m_bIgnoreReadonly
private

Definition at line 232 of file crsrsh.hxx.

Referenced by SwCursorShell(), and UpdateCursor().

◆ m_bInCMvVisportChgd

bool SwCursorShell::m_bInCMvVisportChgd
private

Flag for CursorMoves.

Definition at line 229 of file crsrsh.hxx.

Referenced by EndAction(), EndCursorMove(), SwCursorShell(), and VisPortChgd().

◆ m_bMacroExecAllowed

bool SwCursorShell::m_bMacroExecAllowed
private

Definition at line 244 of file crsrsh.hxx.

Referenced by SwCursorShell().

◆ m_bOverwriteCursor

bool SwCursorShell::m_bOverwriteCursor
private

Definition at line 238 of file crsrsh.hxx.

Referenced by SwCursorShell().

◆ m_bSelTableCells

bool SwCursorShell::m_bSelTableCells
private

Definition at line 234 of file crsrsh.hxx.

Referenced by SwCursorShell().

◆ m_bSendAccessibleCursorEvents

bool SwCursorShell::m_bSendAccessibleCursorEvents
private

Definition at line 242 of file crsrsh.hxx.

Referenced by SwCursorShell(), and UpdateCursor().

◆ m_bSetCursorInReadOnly

bool SwCursorShell::m_bSetCursorInReadOnly
private

Definition at line 237 of file crsrsh.hxx.

Referenced by SetReadOnlyAvailable(), and SwCursorShell().

◆ m_bSVCursorVis

bool SwCursorShell::m_bSVCursorVis
private

SV-Cursor visible/invisible.

Definition at line 219 of file crsrsh.hxx.

Referenced by EndAction(), HideCursor(), NotifyCursor(), Paint(), ShellGetFocus(), ShowCursor(), ShowCursors(), SwCursorShell(), UpdateCursor(), and VisPortChgd().

◆ m_bVisPortChgd

bool SwCursorShell::m_bVisPortChgd
private

in VisPortChg-Call

Definition at line 221 of file crsrsh.hxx.

Referenced by SwCursorShell(), and VisPortChgd().

◆ m_eEnhancedTableSel

SwTable::SearchType SwCursorShell::m_eEnhancedTableSel
private

Definition at line 213 of file crsrsh.hxx.

Referenced by SelTableRowOrCol().

◆ m_eMvState

CursorMoveState SwCursorShell::m_eMvState
private

Status for Cursor-Travelling - GetModelPositionForViewPoint.

Definition at line 212 of file crsrsh.hxx.

Referenced by LRMargin(), SetCursor(), UpdateCursor(), and UpDown().

◆ m_nCurrentContent

sal_Int32 SwCursorShell::m_nCurrentContent
private

Definition at line 202 of file crsrsh.hxx.

Referenced by EndAction(), and StartAction().

◆ m_nCurrentNdTyp

SwNodeType SwCursorShell::m_nCurrentNdTyp
private

Definition at line 203 of file crsrsh.hxx.

Referenced by EndAction(), and StartAction().

◆ m_nCurrentNode

SwNodeOffset SwCursorShell::m_nCurrentNode
private

Definition at line 201 of file crsrsh.hxx.

Referenced by EndAction(), and StartAction().

◆ m_nCursorMove

sal_uInt16 SwCursorShell::m_nCursorMove
private

Definition at line 211 of file crsrsh.hxx.

Referenced by ClearMark(), EndAction(), EndCursorMove(), SttCursorMove(), and VisPortChgd().

◆ m_nLeftFramePos

tools::Long SwCursorShell::m_nLeftFramePos
private

Definition at line 200 of file crsrsh.hxx.

Referenced by EndAction(), and StartAction().

◆ m_nMarkedListLevel

int SwCursorShell::m_nMarkedListLevel
private

Definition at line 216 of file crsrsh.hxx.

Referenced by MarkListLevel().

◆ m_nUpDownX

tools::Long SwCursorShell::m_nUpDownX
private

try to move the cursor on up/down always in the same column

Definition at line 198 of file crsrsh.hxx.

Referenced by UpdateCursor().

◆ m_oldColFrame

SwFrame* SwCursorShell::m_oldColFrame
private

Definition at line 246 of file crsrsh.hxx.

Referenced by bColumnChange().

◆ m_pBlockCursor

SwBlockCursor* SwCursorShell::m_pBlockCursor
private

interface of cursor for block (=rectangular) selection

Definition at line 190 of file crsrsh.hxx.

Referenced by BlockCursorToCursor(), CursorToBlockCursor(), getShellCursor(), KillPams(), LeftRight(), LRMargin(), RefreshBlockCursor(), SetCursor(), SttEndDoc(), UpdateCursor(), UpDown(), and ~SwCursorShell().

◆ m_pBoxIdx

SwNodeIndex* SwCursorShell::m_pBoxIdx
private

for recognizing of the changed

Definition at line 195 of file crsrsh.hxx.

Referenced by CheckTableBoxContent(), ClearTableBoxContent(), and SaveTableBoxContent().

◆ m_pBoxPtr

SwTableBox* SwCursorShell::m_pBoxPtr
private

table row

Definition at line 196 of file crsrsh.hxx.

Referenced by CheckTableBoxContent(), ClearTableBoxContent(), and SaveTableBoxContent().

◆ m_pCurrentCursor

SwShellCursor* SwCursorShell::m_pCurrentCursor
private

current cursor

Definition at line 186 of file crsrsh.hxx.

Referenced by BlockCursorToCursor(), CheckTableBoxContent(), ClearMark(), Combine(), CreateCursor(), CursorToBlockCursor(), DestroyCursor(), dumpAsXml(), EndAction(), ExpandToSentenceBorders(), ExtendedSelectAll(), ExtendSelection(), Find_Text(), FindAttrs(), FindFormat(), FindValidContentNode(), GetChar(), GetContentAtPos(), GetCurrFrame(), GetCursor(), GetCursorCnt(), GetCursorDocPos(), GetSelText(), GetShadowCursorPos(), getShellCursor(), GetTextDirection(), GoNextCell(), GoNextCursor(), GoNextPrevCursorSetSearchLabel(), GoPrevCell(), GoPrevCursor(), GotoFlyAnchor(), GotoFootnoteAnchor(), GotoNextNum(), GotoNextTOXBase(), GotoNxtPrvTableFormula(), GotoNxtPrvTOXMark(), GotoPage(), GotoPrevNum(), GotoPrevTOXBase(), GotoRedline(), GotoRedline_(), GotoRefMark(), GotoRegion(), GotoTable(), GotoTOXMark(), GotoTOXMarkBase(), HasHiddenSections(), HasMark(), HasReadonlySel(), HideCursor(), HideCursors(), IsCursorInFootnote(), IsCursorInTable(), IsCursorPtAtEnd(), IsEndOfDoc(), IsEndOfTable(), IsEndPara(), IsEndSentence(), IsEndWord(), IsInFrontOfLabel(), IsInHeaderFooter(), IsInHiddenRange(), IsInWord(), IsMultiSelection(), IsOverReadOnlyPos(), IsSelection(), IsSelFullPara(), IsSelOnePara(), IsStartOfDoc(), IsStartSentence(), IsStartWord(), IsSttPara(), IsTableComplexForChart(), KillPams(), MakeFindRange(), MakeOutlineSel(), MoveColumn(), MoveCursorToNum(), MoveFieldType(), MovePage(), MoveRegion(), MoveStartText(), MoveTable(), NormalizePam(), NotifyCursor(), Paint(), ParkPams(), ParkTableCursor(), Push(), RefreshBlockCursor(), SaveTableBoxContent(), SelectNxtPrvHyperlink(), SelectTextAttr(), SelectTextModel(), SelectWord(), SelNextRedline(), SelPrevRedline(), SelTable(), SelTableBox(), SelTableRowOrCol(), SetCursor(), SetCursorInHdFt(), SetInFrontOfLabel(), SetMark(), SetShadowCursorPos(), SetVisibleCursor(), ShowCursor(), ShowCursors(), StartAction(), SttEndDoc(), SwapPam(), SwCursorShell(), TestCurrPam(), UpdateCursor(), UpdateCursorPos(), UpdateMarkedListLevel(), and ~SwCursorShell().

◆ m_pStackCursor

SwShellCursor* SwCursorShell::m_pStackCursor
private

stack for the cursor

Definition at line 187 of file crsrsh.hxx.

Referenced by Combine(), CompareCursorStackMkCurrPt(), GetStackCursor(), Push(), and ~SwCursorShell().

◆ m_pTableCursor

SwShellTableCursor* SwCursorShell::m_pTableCursor
private

◆ m_pVisibleCursor

SwVisibleCursor* SwCursorShell::m_pVisibleCursor
private

◆ m_sMarkedListId

OUString SwCursorShell::m_sMarkedListId
private

table rows or columns selected by not cell by cell

Definition at line 215 of file crsrsh.hxx.

Referenced by MarkListLevel().


The documentation for this class was generated from the following files: