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  PopMode {
  PopMode::DeleteCurrent,
  PopMode::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 SwPaMCreateNewShellCursor () override
 Create and return a new shell cursor. More...
 
virtual SwPaMGetCurrentShellCursor () 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)
 
bool ExtendedSelectedAll ()
 If ExtendedSelectAll() was called and selection didn't change since then. More...
 
bool StartsWithTable ()
 If document body starts with a table. More...
 
SwPaMGetCursor (bool bMakeTableCursor=true) const
 Return pointer to the current shell cursor. More...
 
SwCursorGetSwCursor () const
 
SwShellCursorGetCursor_ ()
 
const SwShellCursorGetCursor_ () const
 
void SetSelection (const SwPaM &rCursor)
 
void ParkCursor (const SwNodeIndex &rIdx)
 Remove selections and additional cursors of all shells. More...
 
SwPaMGetStackCursor () const
 
void StartAction ()
 
void EndAction (const bool bIdleEnd=false, const bool DoSetPosX=false)
 
long GetUpDownX () const
 
bool Left (sal_uInt16 nCnt, sal_uInt16 nMode, bool bAllowVisual=false)
 
bool Right (sal_uInt16 nCnt, sal_uInt16 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_uLong Find_Text (const i18nutil::SearchOptions2 &rSearchOpt, bool bSearchInNotes, SwDocPositions eStart, SwDocPositions eEnd, bool &bCancel, FindRanges eRng, bool bReplace=false)
 
sal_uLong FindFormat (const SwTextFormatColl &rFormatColl, SwDocPositions eStart, SwDocPositions eEnd, bool &bCancel, FindRanges eRng, const SwTextFormatColl *pReplFormat)
 
sal_uLong 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 ()
 
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)
 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)
 
SwContentFrameGetCurrFrame (const bool bCalcFrame=true) const
 Get current frame in which the cursor is positioned. More...
 
bool IsCursorReadonly () const
 
bool HasReadonlySel () 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< SwCursorShell *, void > &rLnk)
 
const Link< SwCursorShell *, 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...
 
bool 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::IFieldmarkGetCurrentFieldmark ()
 
::sw::mark::IFieldmarkGetFieldmarkAfter ()
 
::sw::mark::IFieldmarkGetFieldmarkBefore ()
 
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
 
bool IsCursorInFootnote () const
 
PointGetCursorDocPos () 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)
 search "outline position" before previous outline node at given level More...
 
bool MakeOutlineSel (SwOutlineNodes::size_type nSttPos, SwOutlineNodes::size_type nEndPos, bool bWithChildren)
 
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 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, 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 ()
 
bool MoveFieldType (const SwFieldType *pFieldType, const bool bNext, const SwFieldIds nResType=SwFieldIds::Unknown, const bool bAddSetExpressionFieldsToInputFields=true)
 
bool GotoFormatField (const SwFormatField &rField)
 
SwFieldGetCurField (const bool bIncludeInputFieldAtStart=false) const
 
bool CursorInsideInputField () 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 (const OUString &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 (const OUString &rName) const
 
bool SelectText (const sal_Int32 nStart, const 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
 
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)
 
SAL_DLLPRIVATE SvxFrameDirection GetTextDirection (const Point *pPt=nullptr) const
 
bool IsInVerticalText (const Point *pPt=nullptr) const
 
bool IsInRightToLeftText () const
 
bool bColumnChange ()
 
bool SelectHiddenRange ()
 If the current cursor position is inside a hidden range, the hidden range is selected. More...
 
void ClearUpCursors ()
 
void SetMacroExecAllowed (const bool _bMacroExecAllowed)
 
bool IsMacroExecAllowed ()
 
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 SetEndActionByVirDev (bool b)
 
bool IsEndActionByVirDev ()
 
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 Reformat ()
 Invalidates complete Layout (ApplyViewOption). More...
 
void PrePaint ()
 
void DLPrePaint2 (const vcl::Region &rRegion)
 
void DLPostPaint2 (bool bPaintFormLayer)
 
const MapModegetPrePostMapMode () const
 
void PaintTile (VirtualDevice &rDevice, int contextWidth, int contextHeight, int tilePosX, int tilePosY, long tileWidth, long tileHeight)
 Paint tile. More...
 
bool IsPaintInProgress () const
 
bool IsDrawingLayerPaintInProgress () const
 
bool SmoothScroll (long lXDiff, 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 ()
 
bool IsDummyPage (sal_uInt16 nPageNum) const
 
void SetFirstVisPageInvalid ()
 
SwRootFrameGetLayout () const
 
bool IsNewLayout () const
 
Size GetDocSize () const
 
virtual void CalcLayout ()
 
sal_uInt16 GetPageCount () const
 
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...
 
IDocumentUndoRedoGetIDocumentUndoRedo ()
 
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 *pPrtDoc, 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 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 SetUseVirDev (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 ()
 
void ImplLockPaint ()
 
void UnlockPaint (bool bVirDev=false)
 
void ImplUnlockPaint (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
 
bool IsFrameView () 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 ApplyAccessiblityOptions (SvtAccessibilityOptions const &rAccessibilityOptions)
 
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, long nFlags=0)
 CTor for further Shells on a document. More...
 
 SwViewShell (SwDoc &rDoc, vcl::Window *pWin, const SwViewOption *pOpt, OutputDevice *pOut=nullptr, 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 ()
 
void setOutputToWindow (bool bOutputToWindow)
 
bool isOutputToWindow () 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 SwModify
 SwModify ()
 
 SwModify (SwModify *pToRegisterIn)
 
void NotifyClients (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
void ModifyBroadcast (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
virtual void CallSwClientNotify (const SfxHint &rHint) const
 
virtual ~SwModify () override
 
void Add (SwClient *pDepend)
 
SwClientRemove (SwClient *pDepend)
 
bool HasWriterListeners () const
 
virtual bool GetInfo (SfxPoolItem &) const override
 
void LockModify ()
 
void UnlockModify ()
 
void SetInCache (bool bNew)
 
void SetInSwFntCache (bool bNew)
 
void SetInDocDTOR ()
 
bool IsModifyLocked () const
 
bool IsInCache () const
 
bool IsInSwFntCache () const
 
void CheckCaching (const sal_uInt16 nWhich)
 
bool HasOnlyOneListener ()
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
std::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
virtual void ModifyNotification (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
void SwClientNotifyCall (const SwModify &rModify, const SfxHint &rHint)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 
- Public Member Functions inherited from sw::IShellCursorSupplier
virtual ~IShellCursorSupplier ()
 

Static Public Member Functions

static SwTextFieldGetTextFieldAtPos (const SwPosition *pPos, const bool bIncludeInputFieldAtStart)
 
static SwTextFieldGetTextFieldAtCursor (const SwPaM *pCursor, const bool bIncludeInputFieldAtStart)
 
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)
 
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 Modify (const SfxPoolItem *pOld, const SfxPoolItem *pNew) 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
 
- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 

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, sal_uInt16, 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)
 

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 *, voidm_aFlyMacroLnk
 Link will be called, if the Cursor is set into a fly. More...
 
Link< SwCursorShell *, voidm_aChgLnk
 link will be called by every attribute/ format changes at cursor position. More...
 
Link< SwCursorShell &, voidm_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...
 
long m_nUpDownX
 try to move the cursor on up/down always in the same column More...
 
long m_nLeftFramePos
 
sal_uLong m_nCurrentNode
 
sal_Int32 m_nCurrentContent
 
SwNodeType m_nCurrentNdTyp
 
sal_uInt16 m_nCursorMove
 
CursorMoveState m_eMvState
 Status for Cursor-Travelling - GetCursorOfst. More...
 
OUString m_sMarkedListId
 
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_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...
 
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 ShellResourcempShellRes = nullptr
 Resources for the Shell. More...
 
static vcl::DeleteOnDeinit< VclPtr< vcl::Window > > mpCareWindow
 Avoid this window. More...
 
static vcl::DeleteOnDeinit< std::shared_ptr< weld::Window > > mpCareDialog
 Avoid this window. More...
 

Detailed Description

Definition at line 140 of file crsrsh.hxx.

Member Typedef Documentation

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

Definition at line 268 of file crsrsh.hxx.

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

Definition at line 269 of file crsrsh.hxx.

Member Enumeration Documentation

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 155 of file crsrsh.hxx.

Enumerator
DeleteCurrent 
DeleteStack 

Definition at line 427 of file crsrsh.hxx.

Constructor & Destructor Documentation

SwCursorShell::SwCursorShell ( SwDoc rDoc,
vcl::Window pWin,
const SwViewOption pOpt 
)
SwCursorShell::SwCursorShell ( SwCursorShell rShell,
vcl::Window pInitWin 
)
SwCursorShell::~SwCursorShell ( )
overridevirtual

Member Function Documentation

bool SwCursorShell::bColumnChange ( )

Definition at line 458 of file crsrsh.cxx.

References SwFrame::FindColFrame(), and SwFrame::GetUpper().

Referenced by SwView::StateStatusLine().

void SwCursorShell::BlockCursorToCursor ( )
void SwCursorShell::CallChgLnk ( )
bool SwCursorShell::CallCursorFN ( FNCursor  fnCursor)
private
bool SwCursorShell::CallCursorShellFN ( FNCursorShell  fnCursor)
private
bool SwCursorShell::CheckTableBoxContent ( const SwPosition pPos = nullptr)
void SwCursorShell::ClearGCAttr ( )
inline
void SwCursorShell::ClearMark ( )

Definition at line 927 of file crsrsh.cxx.

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(), SwLinguIter::End_(), SwWrtShell::EndWrd(), SwWrtShell::EnterExtMode(), SwWrtShell::EnterStdMode(), SwContentTree::ExecCommand(), SwTextShell::ExecField(), SwTextShell::Execute(), SwBaseShell::Execute(), FindValidContentNode(), SwWrtShell::FwdPara_(), SwWrtShell::FwdSentence_(), SwEditWin::GetSurroundingText(), SwEditWin::GetSurroundingTextSelection(), SwEditShell::GotoGlobalDocContent(), SwFieldEditDlg::Init(), SwWrtShell::Insert(), SwEditShell::InsertGlobalDocContent(), SwTextShell::InsertSymbol(), 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(), SwPageBreakWin::Select(), SwAccessibleContext::Select(), SwFEShell::SelectFlyFrame(), SwWrtShell::SelPara(), SwWrtShell::SelSentence(), SwWrtShell::SetCursor(), SetCursorInHdFt(), SwEditWin::SetCursorTwipPosition(), SetReadOnlyAvailable(), SwInsertDBColAutoPilot::SetTabSet(), SwWrtShell::SttLeaveSelect(), SwWrtShell::SttWrd(), sw_CharDialogResult(), SwEditShell::TableToText(), SwDoc::TableToText(), SwFEShell::ToggleHeaderFooterEdit(), SwEditShell::Undo(), SwAccessibleTable::unselectColumn(), and SwAccessibleTable::unselectRow().

void SwCursorShell::ClearTableBoxContent ( )
void SwCursorShell::ClearUpCursors ( )
void SwCursorShell::Combine ( )
int SwCursorShell::CompareCursorStackMkCurrPt ( ) const
protected

Definition at line 1042 of file crsrsh.cxx.

References SwPaM::GetPoint().

Referenced by SwWrtShell::ExtSelWrd().

SwPaM * SwCursorShell::CreateCursor ( )
SwPaM & 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 163 of file crsrsh.cxx.

References void().

bool SwCursorShell::CursorInsideInputField ( ) const
void SwCursorShell::CursorToBlockCursor ( )

leave block mode, change block cursor into normal cursor

Definition at line 908 of file crsrsh.cxx.

References SwPaM::GetMark(), SwShellCursor::GetMkPos(), SwShellCursor::GetPtPos(), and SwShellCursor::SetMark().

Referenced by SwWrtShell::EnterBlockMode().

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 142 of file crsrsh.cxx.

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

bool SwCursorShell::DocPtInsideInputField ( const Point rDocPt) const
bool SwCursorShell::Down ( sal_uInt16  nCnt = 1)
inline

Definition at line 356 of file crsrsh.hxx.

References UpDown.

Referenced by SwWrtShell::Down().

void SwCursorShell::dumpAsXml ( xmlTextWriterPtr  pWriter) const
overridevirtual

Reimplemented from SwViewShell.

Definition at line 3531 of file crsrsh.cxx.

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

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

Definition at line 229 of file crsrsh.cxx.

References CHKRANGE, SwViewShell::EndAction(), SwCallLink::nContent, SwCallLink::nLeftFramePos, SwCallLink::nNdTyp, SwCallLink::nNode, SCROLLWIN, and UPDOWN.

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

bool SwCursorShell::EndAllTableBoxEdit ( )
void SwCursorShell::EndCursorMove ( const bool  bIdleEnd = false)
sal_Int32 SwCursorShell::EndOfInputFieldAtPos ( const SwPosition rPos)
static

Definition at line 982 of file crstrvl.cxx.

References SwTextAttr::End(), and GetTextFieldAtPos().

Referenced by SwDoc::ConvertFieldsToText(), and SwTextShell::ExecField().

void SwCursorShell::ExpandToSentenceBorders ( )
void SwCursorShell::ExtendedSelectAll ( bool  bFootnotes = true)
bool SwCursorShell::ExtendedSelectedAll ( )
bool SwCursorShell::ExtendSelection ( bool  bEnd = true,
sal_Int32  nCount = 1 
)

extend current SSelection by n characters

Parameters
bEndStart counting from the end? From start otherwise.
nCountNumber of characters.

Definition at line 2513 of file crsrsh.cxx.

References SwIndex::GetIndex(), SwNodeIndex::GetNode(), SwTextNode::GetText(), SwNode::GetTextNode(), SwPosition::nContent, SwPosition::nNode, and nPos.

Referenced by GetSmartTagRect(), SwEditShell::HandleCorrectionError(), SwTextShell::InsertSymbol(), SwEditWin::KeyInput(), SwTransferable::PrivateDrop(), and sw_CharDialogResult().

sal_uLong SwCursorShell::Find_Text ( const i18nutil::SearchOptions2 rSearchOpt,
bool  bSearchInNotes,
SwDocPositions  eStart,
SwDocPositions  eEnd,
bool &  bCancel,
FindRanges  eRng,
bool  bReplace = false 
)
sal_uLong SwCursorShell::FindAttrs ( const SfxItemSet rSet,
bool  bNoCollections,
SwDocPositions  eStart,
SwDocPositions  eEnd,
bool &  bCancel,
FindRanges  eRng,
const i18nutil::SearchOptions2 pSearchOpt,
const SfxItemSet rReplSet 
)
sal_uLong SwCursorShell::FindFormat ( const SwTextFormatColl rFormatColl,
SwDocPositions  eStart,
SwDocPositions  eEnd,
bool &  bCancel,
FindRanges  eRng,
const SwTextFormatColl pReplFormat 
)
const SwFormatINetFormat * SwCursorShell::FindINetAttr ( const OUString &  rName) const

Definition at line 2009 of file crstrvl.cxx.

References SwViewShell::mxDoc.

bool SwCursorShell::FindValidContentNode ( bool  bOnlyText)
void SwCursorShell::FireColumnChangeEvent ( sal_uInt16  nOldColumn,
sal_uInt16  nNewColumn 
)
static

Definition at line 436 of file crsrsh.cxx.

References void().

Referenced by SwView::StateStatusLine().

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

Definition at line 425 of file crsrsh.cxx.

References void().

Referenced by SwView::StateStatusLine().

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

Definition at line 447 of file crsrsh.cxx.

References void().

Referenced by SwView::StateStatusLine().

OUString SwCursorShell::GetBoxNms ( ) const
sal_Unicode SwCursorShell::GetChar ( bool  bEnd = true,
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 2487 of file crsrsh.cxx.

References SwIndex::GetIndex(), SwNodeIndex::GetNode(), SwTextNode::GetText(), SwNode::GetTextNode(), SwPosition::nContent, SwPosition::nNode, and nPos.

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

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

Definition at line 1191 of file crsrsh.cxx.

References SwFrame::GetCharRect().

Referenced by SwEditWin::Command().

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

Definition at line 486 of file crsrsh.hxx.

Referenced by SwTransferable::PasteFileContent(), and SwWrtShell::ResetSelect().

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

Definition at line 1268 of file crstrvl.cxx.

References SwContentAtPos::aFnd, SwIndex::Assign(), aStr, SwRect::Bottom(), SwRangeRedline::CalcStartEnd(), CheckNodeSection, ClickField, COMPLETE_STRING, ContentCheck, CurrAttrs, SwPaM::DeleteMark(), SwTextAttr::DontExpand(), SwContentAtPos::eContentAtPos, o3tl::sorted_vector< Value, Compare, Find, class >::empty(), SwTextAttr::End(), ExpandFootnote, Field, SwNode::FindOutlineNodeOfLevel(), SwNode::FindTableBoxStartNode(), SwNode::FindTableNode(), SfxItemIter::FirstItem(), FormControl, Ftn, SwTOXMark::GetAlternativeText(), SwTextAttr::GetAttr(), SwViewShell::GetAttrPool(), SwDoc::GetAttrPool(), SwFrame::GetCharRect(), SwRootFrame::GetCursorOfst(), SwViewShell::GetDoc(), SwTextAttr::GetEnd(), sw::GetExpandTextMerged(), SwFormatField::GetField(), IDocumentMarkAccess::getFieldmarkFor(), SwTextAttr::GetFormatField(), SwFrameAreaDefinition::getFrameArea(), SwTableBox::GetFrameFormat(), SwFrameAreaDefinition::getFramePrintArea(), SwDoc::getIDocumentMarkAccess(), SwDoc::getIDocumentRedlineAccess(), SwNode::GetIndex(), SwTextAttr::GetINetFormat(), SwFormat::GetItemState(), SwViewShell::GetLayout(), SwDoc::GetNodes(), SwNodes::GetOutLineNds(), sw::GetParaPropsNode(), SwPaM::GetPoint(), SfxItemPool::GetPresentation(), IDocumentRedlineAccess::GetRedline(), SwTextAttr::GetStart(), GetStartNode(), SwTableNode::GetTable(), SwTable::GetTableBox(), SwTextAttr::GetTOXMark(), SwFrame::GetUpper(), SwFormatINetFormat::GetValue(), SwViewShell::GetWin(), SwWrongList::GetWrongPos(), SwNodes::GoNextSection(), GotoFootnoteAnchor(), SwField::HasClickHdl(), i, InetAttr, SwWrongList::InWrongWord(), SfxItemIter::IsAtEnd(), SwFrame::IsCellFrame(), SwRect::IsInside(), IsInvalidItem(), IsReadOnlyAvailable(), SwCursor::IsSelOvr(), IsTableMode(), JumpEdit, SwRect::Left(), OutputDevice::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, MAXLEVEL, SwSpecialPos::nCharOfst, SwPosition::nContent, SwContentAtPos::nDist, SfxItemIter::NextItem(), SwPosition::nNode, NONE, NumLabel, Outline, 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_FTN, RES_TXTATR_INETFMT, RES_TXTATR_REFMARK, RES_TXTATR_TOXMARK, SwRect::Right(), SET_CURR_SHELL, SmartTag, SwContentAtPos::sStr, SwWrongList::SubList(), Table, TableBoxFml, TableBoxValue, Toggle, SwRect::Top(), ToxMark, SwRect::Union(), UpdateCursor(), SfxPoolItem::Which(), SwTextAttr::Which(), SwField::Which(), and Size::Width().

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

SwField * SwCursorShell::GetCurField ( const bool  bIncludeInputFieldAtStart = false) const
sw::mark::IFieldmark * SwCursorShell::GetCurrentFieldmark ( )

Definition at line 285 of file crbm.cxx.

Referenced by SwWrtShell::DelRight(), and SwEditWin::KeyInput().

SwPaM & SwCursorShell::GetCurrentShellCursor ( )
overridevirtual
SwContentFrame * SwCursorShell::GetCurrFrame ( const bool  bCalcFrame = true) const

Get current frame in which the cursor is positioned.

Definition at line 2350 of file crsrsh.cxx.

References SwNode::GetContentNode(), SwContentNode::getLayoutFrame(), and SET_CURR_SHELL.

Referenced by SwFEShell::CalcBoundRect(), SwFEShell::CanUnProtectCells(), SwFEShell::CheckHeadline(), SwFEShell::ChgCurPageDesc(), SwFEShell::DeleteCol(), SwFEShell::DeleteRow(), SwFEShell::DeleteTableSel(), SwTextFrame::EmptyHeight(), SwFEShell::FindAnchorPos(), SwEditShell::GetAnySection(), SwFEShell::GetAutoSum(), SwFEShell::GetCurPageDesc(), SwFEShell::GetCurrFlyFrame(), SwFEShell::GetCurTabColNum(), SwAccessibleDocument::getExtendedAttributes(), SwXFrame::getPropertyValue(), SwFEShell::GetRowsToRepeat(), SwFEShell::GetTabBackground(), SwFEShell::GetTabCols(), SwFEShell::GetTableAttr(), SwEditShell::GetTableBoxFormulaAttrs(), SwEditShell::GetTableBoxText(), SwFEShell::GetTabRows(), GotoFlyAnchor(), GotoFooterText(), GotoHeaderText(), SwFEShell::InsertCol(), SwFEShell::InsertRow(), SwFEShell::IsAdjustCellWidthAllowed(), IsCursorReadonly(), SwEditShell::IsTableBoxTextFormat(), SwFEShell::IsTableRightToLeft(), SwFEShell::IsTableVertical(), lcl_SetAPageOffset(), MoveColumn(), SelTable(), SelTableBox(), SelTableRowOrCol(), SwFEShell::SetColRowWidthHeight(), SetCursorInHdFt(), SwFEShell::SetRowsToRepeat(), SwFEShell::SetTabBackground(), SwFEShell::SetTabCols(), SwFEShell::SetTableAttr(), SwEditShell::SetTableBoxFormulaAttrs(), SwFEShell::SetTabRows(), SwFEShell::SplitTab(), and SwFEShell::UnProtectCells().

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

Return pointer to the current shell cursor.

Returns
- returns pointer to current SwPaM shell cursor

Definition at line 185 of file crsrsh.cxx.

References SwNode::GetContentNode(), and SwContentNode::getLayoutFrame().

Referenced by SwEditShell::AcceptRedlinesInSelection(), SwSpellIter::AddPortion(), SwEditShell::AppendUndoForInsertFromDB(), SwEditShell::ApplyChangedSentence(), SwEditShell::ApplyParagraphClassification(), SwEditShell::AutoFormat(), SwEditShell::AutoFormatBySplitNode(), SwAccessibleMap::BuildSelectedParas(), SwEditShell::CanMergeTable(), SwEditShell::CanSpecialInsert(), SwHHCWrapper::ChangeText(), SwHHCWrapper::ChangeText_impl(), CheckSplitCells(), SwFEShell::ChgCurPageDesc(), SwEditShell::ClassifyDocPerHighestParagraphClass(), ClearUpCursors(), SwXTextViewCursor::collapseToEnd(), SwXTextViewCursor::collapseToStart(), SwEditShell::CollectParagraphClassification(), SwEditWin::Command(), SwSpellIter::Continue(), SwConvIter::Continue(), SwHyphIter::Continue(), SwHTMLParser::Continue(), SwHHCWrapper::Convert(), SwFormatClipboard::Copy(), SwEditShell::Copy(), SwFEShell::Copy(), SwFEShell::CopyDrawSel(), SwEditShell::CopySelToDoc(), SwSpellIter::CreatePortion(), CursorInsideInputField(), SwIntrnlSectRefLink::DataChanged(), SwEditShell::Delete(), SwEditShell::DeleteGlobalDocContent(), SwFEShell::DeleteRow(), SwEditShell::DelFullPara(), SwWrtShell::DelLeft(), SwEditShell::DelNumRules(), SwWrtShell::DelRight(), SwAccessibleTable::deselectAccessibleChild(), DocPtInsideInputField(), SwEditShell::DoSpecialInsert(), SwTextShell::ExecCharAttrArgs(), SwTextShell::ExecField(), SwView::ExecSpellPopup(), SwTextShell::Execute(), SwSpellPopup::Execute(), SwEditShell::FieldToText(), SwEditShell::FillByEx(), Find_Text(), FindAttrs(), FindFormat(), SwEditWin::FlushInBuffer(), SwEditShell::GCAttr(), SwAccessibleDocument::getAccFlowTo(), SwEditShell::GetAnySection(), GetBoxNms(), SwEditShell::GetCntType(), SwEditShell::GetCorrection(), SwEditShell::GetCurAttr(), GetCurField(), SwEditShell::GetCurFootnote(), SwEditShell::GetCurLang(), SwEditShell::GetCurParAttr(), SwEditShell::GetCurrentOutlineLevels(), SwEditShell::GetCurrentParaOutlineLevel(), SwEditShell::GetCurrRedline(), SwEditShell::GetCurrSection(), SwAccessibleFrameBase::GetCursor(), SwAccessibleParagraph::GetCursor(), GetCursorDescr(), SwEditShell::GetCurTextFormatColl(), SwEditShell::GetCurTOX(), SwEditShell::GetCurTOXMarks(), SwXTextViewCursor::GetDoc(), SwXTextViewCursor::getEnd(), SwAccessibleDocument::getExtendedAttributes(), SwSpellDialogChildWindow::GetFocus(), SwFEShell::GetFormatFromAnyObj(), SwEditShell::GetFullSelectedSectionCount(), SwEditShell::GetGrammarCorrection(), SwEditShell::GetItemWithPaM(), SwHHCWrapper::GetNextPortion(), SwSpellDialogChildWindow::GetNextWrongSentence(), SwEditShell::GetNodeNumStart(), SwEditShell::GetNumLevel(), SwEditShell::GetNumRuleAtCurrCursorPos(), SwEditShell::GetNumRuleAtCurrentSelection(), SwXTextViewCursor::getPage(), SwXTextViewCursor::GetPaM(), SwXTextViewCursor::getPropertyDefault(), SwXTextViewCursor::getPropertyState(), SwXTextViewCursor::getPropertyStates(), SwXTextViewCursor::getPropertyValue(), SwXTextView::getRubyList(), SwEditShell::GetScalingOfSelectedText(), SwEditShell::GetScriptType(), SwFEShell::GetSelectedPageDescs(), SwEditShell::GetSelectedText(), SwXTextView::getSelection(), GetSmartTagRect(), GetSmartTagTerm(), SwXTextViewCursor::getStart(), SwXTextViewCursor::getString(), SwEditWin::GetSurroundingText(), SwEditWin::GetSurroundingTextSelection(), GetSwCursor(), SwFEShell::GetTableAutoFormat(), GetTableSel(), SwXTextViewCursor::getText(), SwLangHelper::GetTextForLanguageGuessing(), SwNavigationMgr::goBack(), SwContentTree::GotoContent(), SwInputFieldList::GotoFieldPos(), SwWrtShell::GotoFly(), SwWrtShell::GotoFormatField(), SwEditShell::GotoGlobalDocContent(), SwWrtShell::GotoINetAttr(), 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(), SwEditShell::HasNumber(), SwFEShell::HasTableAnyProtection(), SwView::HyphenateDocument(), SwHyphIter::Ignore(), SwEditShell::Insert(), SwEditShell::Insert2(), SwEditShell::InsertDDETable(), SwEditShell::InsertGlobalDocContent(), SwEditShell::InsertGlossary(), SwFEShell::InsertObject(), SwEditShell::InsertSection(), SwHyphIter::InsertSoftHyph(), SwEditShell::InsertTable(), SwEditShell::InsertTableOf(), SwAccessibleMap::InvalidateShapeInParaSelection(), SwEditShell::IsCursorInParagraphMetadataField(), SwEditShell::IsFirstOfNumRuleAtCursorPos(), SwEditShell::IsInsRegionAvailable(), SwEditShell::IsMoveLeftMargin(), SwEditShell::IsNoNum(), SwEditShell::IsNumRuleStart(), SwEditShell::IsProtectedOutlinePara(), SwEditShell::IsTextToTableAvailable(), lcl_CollectDeletedRedlines(), lcl_CutRedlines(), lcl_emitSearchResultCallbacks(), lcl_GetPrintUIOptions(), 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(), SwEditShell::NumOrNoNum(), SwEditShell::NumUpDown(), SwEditShell::OutlineUpDown(), SwTransferable::Paste(), SwFEShell::Paste(), SwTransferable::PasteFileContent(), SwTransferable::PasteOLE(), SwFEShell::PastePages(), PrepareBoxInfo(), SwEditShell::RejectRedlinesInSelection(), SwPasteContext::remember(), SwEditShell::RemoveParagraphMetadataFieldAtCursor(), SwEditShell::Repeat(), SwEditShell::Replace(), SwEditShell::ReplaceNumRule(), SwFEShell::ReplaceSdrObj(), SwHHCWrapper::ReplaceUnit(), SwEditShell::ResetAttr(), SwEditShell::SaveGlossaryDoc(), SwEditShell::SearchNumRule(), SwAccessibleTable::selectAccessibleChild(), SwEditShell::SelectionHasBullet(), SwEditShell::SelectionHasNumber(), SwHHCWrapper::SelectNewUnit_impl(), SwEditShell::SetAttrItem(), SwEditShell::SetAttrSet(), SwEditShell::SetCurFootnote(), SwEditShell::SetCurNumRule(), SwEditShell::SetLinguRange(), SwEditShell::SetNodeNumStart(), SwEditShell::SetNumRuleStart(), SwXTextViewCursor::setPropertyToDefault(), SwXTextViewCursor::setPropertyValue(), SwEditShell::SetRedlineComment(), SwXTextView::setRubyList(), SwEditShell::SetSectionAttr(), SetSelection(), SwEditShell::SetTextFormatColl(), ShouldWait(), SwEditShell::SignParagraph(), SwSpellIter::SpellSentence(), SwEditShell::SplitTable(), SwLinguIter::Start_(), SwDocShell::StartConvertFrom(), SwXMLImport::startDocument(), SwView::StartTextConversion(), SwTextShell::StateField(), SwAutoFormat::SwAutoFormat(), SwCallLink::SwCallLink(), SwEditShell::TableToText(), SwEditShell::TextToTable(), SwFEShell::UnProtectTables(), SwEditShell::UpdateOneField(), SwEditShell::UpdateTableOf(), SwEditShell::ValidateCurrentParagraphSignatures(), SwFEShell::WizardGetFly(), SwWriter::Write(), SwCallLink::~SwCallLink(), and SwPasteContext::~SwPasteContext().

SwShellCursor* SwCursorShell::GetCursor_ ( )
inline
const SwShellCursor* SwCursorShell::GetCursor_ ( ) const
inline

Definition at line 331 of file crsrsh.hxx.

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

Get the number of elements in the ring of cursors.

Parameters
bAllIf <false> get only spanned ones (= with selections) (Basic).

Definition at line 2619 of file crsrsh.cxx.

References SwPaM::GetMark(), SwPaM::GetNext(), SwPaM::GetPoint(), and SwPaM::HasMark().

Referenced by SwIndexMarkPane::Activate(), SwFieldMgr::CanInsertRefMark(), SwEditShell::GetPaMAttr(), SwView::GetState(), SwIndexMarkPane::InitControls(), lcl_TableParamToItemSet(), SwIndexMarkPane::ModifyHdl(), PrepareBoxInfo(), ShouldWait(), and SwLinguIter::Start_().

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 3519 of file crsrsh.cxx.

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

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

Point & SwCursorShell::GetCursorDocPos ( ) const
inline
SwField * SwCursorShell::GetFieldAtCursor ( const SwPaM pCursor,
const bool  bIncludeInputFieldAtStart 
)
static

Definition at line 917 of file crstrvl.cxx.

References SwFormatField::GetField(), SwTextAttr::GetFormatField(), and GetTextFieldAtCursor().

Referenced by GetCurField().

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

Definition at line 292 of file crbm.cxx.

Referenced by SwEditWin::KeyInput(), and SwWrtShell::SwWrtShell().

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

Definition at line 298 of file crbm.cxx.

Referenced by SwEditWin::KeyInput().

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

Definition at line 482 of file crsrsh.hxx.

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

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

Definition at line 490 of file crsrsh.hxx.

Referenced by SwBaseShell::~SwBaseShell().

sal_uInt16 SwCursorShell::GetNextPrevPageNum ( bool  bNext = true)
SwOutlineNodes::size_type SwCursorShell::GetOutlinePos ( sal_uInt8  nLevel = UCHAR_MAX)
sal_uInt16 SwCursorShell::GetPageCnt ( )
void SwCursorShell::GetPageNum ( sal_uInt16 &  rnPhyNum,
sal_uInt16 &  rnVirtNum,
bool  bAtCursorPos = true,
const bool  bCalcFrame = true 
)
sal_uInt16 SwCursorShell::GetPageNumSeqNonEmpty ( )
OUString SwCursorShell::getPageRectangles ( )

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

Definition at line 1286 of file crsrsh.cxx.

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

Referenced by SwXTextDocument::getPartPageRectangles().

const SwPostItField * SwCursorShell::GetPostItFieldAtCursor ( ) const
OUString SwCursorShell::GetSelText ( ) const
bool SwCursorShell::GetShadowCursorPos ( const Point rPt,
SwFillMode  eFillMode,
SwRect rRect,
sal_Int16 &  rOrient 
)
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 2923 of file crsrsh.cxx.

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

Referenced by SwFEShell::AdjustCellWidth(), SwEditShell::AutoCorrect(), SwFEShell::BalanceRowHeight(), CallCursorFN(), CheckSplitCells(), SwFieldEditDlg::EnsureSelection(), SwShellCursor::FillStartEnd(), SwFEShell::GetBoxAlign(), SwFEShell::GetBoxBackground(), SwFEShell::GetBoxDirection(), GetOutlinePos(), SwEditShell::GetPrevAutoCorrWord(), SwFEShell::GetRowBackground(), SwFEShell::GetRowHeight(), SwFEShell::GetRowSplit(), SwFEShell::GetTabBorders(), GetTableSel(), GoEndSentenceImpl(), GoEndWordImpl(), GoNextSentenceImpl(), GoNextWordImpl(), GoPrevWordImpl(), GoStartSentenceImpl(), GoStartWordImpl(), GotoFooterText(), GotoFormatField(), GotoHeaderText(), GotoINetAttr(), GotoNextOutline(), GotoOutline(), GotoPrevOutline(), SwFEShell::InsertRow(), MoveFieldType(), SwFEShell::ProtectCells(), SwTableAutoFormat::RestoreTableProperties(), SwWrtShell::SelAll(), SwFEShell::SetBoxAlign(), SwFEShell::SetBoxBackground(), SwFEShell::SetBoxDirection(), SwEditWin::SetCursorTwipPosition(), SwFEShell::SetRowBackground(), SwFEShell::SetRowHeight(), SwFEShell::SetRowSplit(), SwFEShell::SetTabBorders(), SwFEShell::SetTabLineStyle(), SwTableAutoFormat::StoreTableProperties(), and SwWrtShell::SttSelect().

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

Definition at line 639 of file crsrsh.hxx.

void SwCursorShell::GetSmartTagRect ( const Point rPt,
SwRect rSelectRect 
)
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
SwPaM * SwCursorShell::GetStackCursor ( ) const
inline

Definition at line 871 of file crsrsh.hxx.

References m_pStackCursor.

Referenced by PaMCorrAbs(), and PaMCorrRel().

SwCursor * SwCursorShell::GetSwCursor ( ) const
inline
const SwPaM * SwCursorShell::GetTableCrs ( ) const
inline
SwPaM * SwCursorShell::GetTableCrs ( )
inline

Definition at line 907 of file crsrsh.hxx.

References m_pTableCursor.

const SwShellTableCursor* SwCursorShell::GetTableCursor ( ) const
inline
SwShellTableCursor* SwCursorShell::GetTableCursor ( )
inline

Definition at line 648 of file crsrsh.hxx.

SvxFrameDirection SwCursorShell::GetTextDirection ( const Point pPt = nullptr) const
SwTextField * SwCursorShell::GetTextFieldAtCursor ( const SwPaM pCursor,
const bool  bIncludeInputFieldAtStart 
)
static
SwTextField * SwCursorShell::GetTextFieldAtPos ( const SwPosition pPos,
const bool  bIncludeInputFieldAtStart 
)
static
long SwCursorShell::GetUpDownX ( ) const
inline

Definition at line 349 of file crsrsh.hxx.

Referenced by MoveCursorToNum().

bool SwCursorShell::GoEndSentence ( )
bool SwCursorShell::GoEndSentenceImpl ( )
private
bool SwCursorShell::GoEndWord ( )

Definition at line 54 of file crstrvl1.cxx.

References CallCursorShellFN(), and GoEndWordImpl().

Referenced by SwWrtShell::EndWrd().

bool SwCursorShell::GoEndWordImpl ( )
private

Definition at line 98 of file crstrvl1.cxx.

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

Referenced by GoEndWord().

bool SwCursorShell::GoNextBookmark ( )
bool SwCursorShell::GoNextCell ( bool  bAppendLine = true)
bool SwCursorShell::GoNextCursor ( )

go to the next SSelection

Definition at line 1345 of file crsrsh.cxx.

References SET_CURR_SHELL.

Referenced by SwWrtShell::ExtSelLn(), SwWrtShell::ExtSelWrd(), SwEditShell::HandleUndoRedoContext(), and SwTransferable::PrivateDrop().

bool SwCursorShell::GoNextPrevCursorSetSearchLabel ( const bool  bNext)

Definition at line 1382 of file crsrsh.cxx.

References SvxSearchDialogWrapper::SetSearchLabel().

Referenced by IMPL_LINK().

bool SwCursorShell::GoNextSentence ( )

Definition at line 68 of file crstrvl1.cxx.

References CallCursorShellFN(), and GoNextSentenceImpl().

Referenced by SwWrtShell::FwdSentence_().

bool SwCursorShell::GoNextSentenceImpl ( )
private
bool SwCursorShell::GoNextWord ( )

Definition at line 59 of file crstrvl1.cxx.

References CallCursorShellFN(), and GoNextWordImpl().

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

bool SwCursorShell::GoNextWordImpl ( )
private

Definition at line 103 of file crstrvl1.cxx.

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

Referenced by GoNextWord().

bool SwCursorShell::GoPrevBookmark ( )
bool SwCursorShell::GoPrevCell ( )
bool SwCursorShell::GoPrevCursor ( )

go to the previous SSelection

Definition at line 1364 of file crsrsh.cxx.

References SET_CURR_SHELL.

Referenced by SwEditWin::Command(), SwWrtShell::ExtSelLn(), SwWrtShell::ExtSelWrd(), and SwTransferable::PrivateDrop().

bool SwCursorShell::GoPrevWord ( )

Definition at line 63 of file crstrvl1.cxx.

References CallCursorShellFN(), and GoPrevWordImpl().

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

bool SwCursorShell::GoPrevWordImpl ( )
private

Definition at line 108 of file crstrvl1.cxx.

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

Referenced by GoPrevWord().

bool SwCursorShell::GoStartSentence ( )
bool SwCursorShell::GoStartSentenceImpl ( )
private
bool SwCursorShell::GoStartWord ( )

Definition at line 50 of file crstrvl1.cxx.

References CallCursorShellFN(), and GoStartWordImpl().

Referenced by SwWrtShell::SttWrd().

bool SwCursorShell::GoStartWordImpl ( )
private

Definition at line 93 of file crstrvl1.cxx.

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

Referenced by GoStartWord().

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

Definition at line 304 of file crbm.cxx.

References CHKRANGE, READONLY, and SCROLLWIN.

Referenced by SwWrtShell::GotoFieldmark().

void SwCursorShell::GotoFlyAnchor ( )
bool SwCursorShell::GotoFooterText ( )
bool SwCursorShell::GotoFootnoteAnchor ( )
bool SwCursorShell::GotoFootnoteText ( )
bool SwCursorShell::GotoFormatField ( const SwFormatField rField)
bool SwCursorShell::GotoHeaderText ( )
bool SwCursorShell::GotoINetAttr ( const SwTextINetFormat rAttr)
bool SwCursorShell::GotoMark ( const ::sw::mark::IMark *const  pMark)

Definition at line 186 of file crbm.cxx.

References CHKRANGE, sw::IsMarkHidden(), READONLY, and SCROLLWIN.

Referenced by SwWrtShell::GotoMark(), and SwWrtShell::MoveBookMark().

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

Definition at line 167 of file crbm.cxx.

References CHKRANGE, sw::IsMarkHidden(), READONLY, and SCROLLWIN.

bool SwCursorShell::GotoNextFootnoteAnchor ( )
void SwCursorShell::GotoNextNum ( )

go to next/previous point on the same level

Definition at line 112 of file crstrvl.cxx.

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

Referenced by SwListShell::Execute().

bool SwCursorShell::GotoNextOutline ( )
bool SwCursorShell::GotoNextTOXBase ( const OUString *  pName = nullptr)
bool SwCursorShell::GotoNxtPrvTableFormula ( bool  bNext = true,
bool  bOnlyErrors = false 
)
bool SwCursorShell::GotoNxtPrvTOXMark ( bool  bNext = true)
bool SwCursorShell::GotoOutline ( const OUString &  rName)
void SwCursorShell::GotoOutline ( SwOutlineNodes::size_type  nIdx)
bool SwCursorShell::GotoPage ( sal_uInt16  nPage)

Definition at line 1176 of file crsrsh.cxx.

References ChangePos, CHKRANGE, READONLY, SCROLLWIN, SET_CURR_SHELL, and Toggle.

Referenced by SwWrtShell::GotoPage(), and SwFEShell::PastePages().

bool SwCursorShell::GotoPrevFootnoteAnchor ( )
void SwCursorShell::GotoPrevNum ( )
bool SwCursorShell::GotoPrevOutline ( )
bool SwCursorShell::GotoPrevTOXBase ( const OUString *  pName = nullptr)
const SwRangeRedline * SwCursorShell::GotoRedline ( SwRedlineTable::size_type  nArrPos,
bool  bSelect 
)
const SwRangeRedline * SwCursorShell::GotoRedline_ ( SwRedlineTable::size_type  nArrPos,
bool  bSelect 
)
private
bool SwCursorShell::GotoRefMark ( const OUString &  rRefMark,
sal_uInt16  nSubType,
sal_uInt16  nSeqNo 
)
bool SwCursorShell::GotoRegion ( const OUString &  rName)
bool SwCursorShell::GotoTable ( const OUString &  rName)
const SwTOXMark & SwCursorShell::GotoTOXMark ( const SwTOXMark rStart,
SwTOXSearch  eDir 
)
void SwCursorShell::GotoTOXMarkBase ( )
bool SwCursorShell::HasMark ( )
inline
bool SwCursorShell::HasReadonlySel ( ) const
bool SwCursorShell::HasSelection ( ) const
bool SwCursorShell::HasShellFocus ( ) const
inline

Definition at line 450 of file crsrsh.hxx.

Referenced by SwFEShell::Copy().

void SwCursorShell::HideCursor ( )
void SwCursorShell::HideCursors ( )

Definition at line 2266 of file crsrsh.cxx.

References SwShellCursor::Hide(), and SET_CURR_SHELL.

bool SwCursorShell::IsAllProtect ( ) const
inline

Definition at line 761 of file crsrsh.hxx.

Referenced by SwNavigationPI::dispose().

bool SwCursorShell::IsAtLeftMargin ( ) const
inline

Definition at line 746 of file crsrsh.hxx.

Referenced by SwXTextViewCursor::isAtStartOfLine().

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

Definition at line 557 of file crsrsh.cxx.

References SwCursor::IsAtLeftRightMargin().

bool SwCursorShell::IsAtRightMargin ( ) const
inline

Definition at line 747 of file crsrsh.hxx.

Referenced by SwXTextViewCursor::isAtEndOfLine().

bool SwCursorShell::IsAutoUpdateCells ( ) const
inline
bool SwCursorShell::IsBlockMode ( ) const
inline

Definition at line 642 of file crsrsh.hxx.

Referenced by SwEditShell::Copy().

bool SwCursorShell::IsCursorInFootnote ( ) const

Definition at line 1139 of file crsrsh.cxx.

References SwFootnoteStartNode.

Referenced by SwTextShell::GetState().

const SwTableNode * SwCursorShell::IsCursorInTable ( ) const
inline
bool SwCursorShell::IsCursorPtAtEnd ( ) const
inline
bool SwCursorShell::IsCursorReadonly ( ) const
bool SwCursorShell::IsCursorVisible ( ) const
inline

Definition at line 522 of file crsrsh.hxx.

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

Referenced by SwWrtShell::PushCursor(), and SwView::StateStatusLine().

bool SwCursorShell::IsEndOfDoc ( ) const
bool SwCursorShell::IsEndOfTable ( ) const

at the very last SwPosition inside a table

Definition at line 1121 of file crsrsh.cxx.

References SwNode::EndOfSectionNode(), and SAL_WARN_IF.

Referenced by SwWrtShell::DelToEndOfSentence().

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

Definition at line 280 of file crbm.cxx.

References PROTECT_FORM.

Referenced by SwEditWin::KeyInput(), and SwWrtShell::SwWrtShell().

bool SwCursorShell::IsGCAttr ( ) const
inline
bool SwCursorShell::IsInFrontOfLabel ( ) const

Definition at line 1145 of file crsrsh.cxx.

Referenced by SwEditWin::KeyInput(), and SwEditShell::NumUpDown().

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

Definition at line 740 of file crsrsh.cxx.

References SwFrame::IsHeaderFrame(), and lcl_IsInHeaderFooter().

Referenced by SwTextShell::ExecMoveMisc().

bool SwCursorShell::isInHiddenTextFrame ( SwShellCursor pShellCursor)
private
bool SwCursorShell::IsInRightToLeftText ( ) const
bool SwCursorShell::IsInVerticalText ( const Point pPt = nullptr) const
bool SwCursorShell::IsInWord ( sal_Int16  nWordType = css::i18n::WordType::ANYWORD_IGNOREWHITESPACES) const
bool SwCursorShell::IsMacroExecAllowed ( )
inline

Definition at line 835 of file crsrsh.hxx.

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

bool SwCursorShell::IsMultiSelection ( ) const
inline
bool SwCursorShell::IsOverReadOnlyPos ( const Point rPt) const

Definition at line 2606 of file crsrsh.cxx.

References SwPaM::HasReadonlySel().

Referenced by SwEditWin::GetDropDestination(), and SwEditWin::UpdatePointer().

bool SwCursorShell::IsOverwriteCursor ( ) const
inline

Definition at line 461 of file crsrsh.hxx.

Referenced by SwEditShell::CreateExtTextInput(), and SwVisibleCursor::SetPosAndShow().

bool SwCursorShell::IsPageAtPos ( const Point rPt) const

Definition at line 1261 of file crstrvl.cxx.

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

Referenced by SwEditWin::UpdatePointer().

bool SwCursorShell::IsReadOnlyAvailable ( ) const
inline
bool SwCursorShell::IsSelection ( ) const
inline
bool SwCursorShell::IsSelFullPara ( ) const
bool SwCursorShell::IsSelOnePara ( ) const
bool SwCursorShell::IsSelTableCells ( ) const
inline
bool SwCursorShell::IsStartOfDoc ( ) const
bool SwCursorShell::IsStartSentence ( ) const
bool SwCursorShell::IsStartWord ( sal_Int16  nWordType = css::i18n::WordType::ANYWORD_IGNOREWHITESPACES) const
bool SwCursorShell::IsSttPara ( ) const
bool SwCursorShell::IsTableComplexForChart ( )
bool SwCursorShell::IsTableMode ( ) const
inline

Definition at line 645 of file crsrsh.hxx.

Referenced by SwWrtShell::AddLeaveSelect(), SwSortDlg::Apply(), SwFEShell::CanUnProtectCells(), SwFEShell::CheckHeadline(), CheckSplitCells(), SwFEShell::Copy(), SwEditShell::CopySelToDoc(), SwEditShell::DeleteGlobalDocContent(), SwEditShell::DelFullPara(), SwTransferable::DragFinished(), SwWrtShell::EnterAddMode(), SwTextShell::ExecCharAttrArgs(), SwTextShell::ExecDelete(), SwBaseShell::ExecDlg(), SwView::ExecSpellPopup(), SwTableShell::Execute(), SwBaseShell::Execute(), SwWrtShell::ExtSelLn(), SwWrtShell::ExtSelWrd(), SwViewShell::FillPrtDoc(), GetAutoSumSel(), SwBaseShell::GetBorderState(), GetBoxNms(), SwEditShell::GetCntType(), GetContentAtPos(), SwEditShell::GetCorrection(), SwEditShell::GetCurrSection(), SwAccessibleFrameBase::GetCursor(), SwAccessibleParagraph::GetCursor(), SwEditShell::GetGrammarCorrection(), GetPostItFieldAtCursor(), SwFEShell::GetRowSelectionFromTop(), SwAccessibleTable::GetSelBoxes(), GetShadowCursorPos(), SwTableShell::GetState(), SwTextShell::GetState(), SwBaseShell::GetState(), SwFEShell::GetTableAutoFormat(), SwEditShell::GetTableBoxFormulaAttrs(), SwEditShell::GetTableBoxText(), GetTableSel(), GetTableSelCrs(), GoNextCell(), GoPrevCell(), SwEditShell::GotoGlobalDocContent(), GotoNxtPrvTableFormula(), GotoNxtPrvTOXMark(), GotoRedline(), SwFEShell::HasBoxSelection(), SwFEShell::HasWholeTabSelection(), SwWrtShell::Insert(), SwEditShell::InsertGlobalDocContent(), SwWrtShell::InsertPostIt(), SwEditShell::InsertSection(), SwBaseShell::InsertTable(), SwEditShell::IsInsRegionAvailable(), IsSelection(), SwEditShell::IsTableBoxTextFormat(), ItemSetToTableParam(), SwEditWin::KeyInput(), lcl_TableParamToItemSet(), SwFEShell::MergeTab(), SwEditWin::MouseButtonDown(), SwEditWin::MouseMove(), SwEditShell::MoveGlobalDocContent(), SwFEShell::NewFlyFrame(), PaMCorrAbs(), PaMCorrRel(), SwFEShell::Paste(), SwTransferable::PasteData(), PrepareBoxInfo(), SwTransferable::PrivateDrop(), SwFEShell::ProtectCells(), SwWrtShell::SelAll(), SelectTextAttr(), SelNextRedline(), SelPrevRedline(), SwFEShell::SelTableRowCol(), SwEditShell::SetAttrItem(), SwEditShell::SetAttrSet(), SetShadowCursorPos(), SwEditShell::SetTableBoxFormulaAttrs(), ShouldWait(), SwLinguIter::Start_(), SwTextShell::StateInsert(), SwCallLink::SwCallLink(), SwInsertChart(), SwEditShell::TableToText(), SwDoc::TableToText(), SwFEShell::UnProtectCells(), SwFEShell::UpdateTableStyleFormatting(), SwWriter::Write(), and SwCallLink::~SwCallLink().

void SwCursorShell::KillPams ( )
bool SwCursorShell::Left ( sal_uInt16  nCnt,
sal_uInt16  nMode,
bool  bAllowVisual = false 
)
inline
bool SwCursorShell::LeftMargin ( )
inline
bool SwCursorShell::LeftRight ( bool  bLeft,
sal_uInt16  nCnt,
sal_uInt16  nMode,
bool  bVisualAllowed 
)
private
bool SwCursorShell::LRMargin ( bool  bLeft,
bool  bAPI = false 
)
private
SwMoveFnCollection const & SwCursorShell::MakeFindRange ( SwDocPositions  nStt,
SwDocPositions  nEnd,
SwPaM pPam 
) const
inlineprotected

Definition at line 860 of file crsrsh.hxx.

References m_pCurrentCursor, and SwCursor::MakeFindRange().

Referenced by SwEditShell::SetLinguRange().

bool SwCursorShell::MakeOutlineSel ( SwOutlineNodes::size_type  nSttPos,
SwOutlineNodes::size_type  nEndPos,
bool  bWithChildren 
)
void SwCursorShell::MakeSelVisible ( )
virtual
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 377 of file crsrsh.cxx.

void SwCursorShell::Modify ( const SfxPoolItem pOld,
const SfxPoolItem pNew 
)
overrideprotectedvirtual

forward all attribute/format changes at the current node to the Link

Parameters
pOld???
pNew???

Reimplemented from SwModify.

Definition at line 2383 of file crsrsh.cxx.

References RES_ATTRSET_CHG, RES_FMT_CHG, RES_GRAPHIC_ARRIVED, RES_GRAPHIC_SWAPIN, RES_MSG_BEGIN, RES_MSG_END, RES_UPDATE_ATTR, and SfxPoolItem::Which().

void SwCursorShell::MoveColumn ( SwWhichColumn  fnWhichCol,
SwPosColumn  fnPosCol 
)
void SwCursorShell::MoveCursorToNum ( )
private
bool SwCursorShell::MoveFieldType ( const SwFieldType pFieldType,
const bool  bNext,
const SwFieldIds  nResType = SwFieldIds::Unknown,
const bool  bAddSetExpressionFieldsToInputFields = true 
)
bool SwCursorShell::MovePage ( SwWhichPage  fnWhichPage,
SwPosPage  fnPosPage 
)
bool SwCursorShell::MovePara ( SwWhichPara  fnWhichPara,
SwMoveFnCollection const &  fnPosPara 
)
bool SwCursorShell::MoveRegion ( SwWhichRegion  fnWhichRegion,
SwMoveFnCollection const &  fnPosRegion 
)
bool SwCursorShell::MoveSection ( SwWhichSection  fnWhichSect,
SwMoveFnCollection const &  fnPosSect 
)
bool SwCursorShell::MoveTable ( SwWhichTable  fnWhichTable,
SwMoveFnCollection const &  fnPosTable 
)
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 958 of file crsrsh.cxx.

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

void SwCursorShell::NotifyCursor ( SfxViewShell pViewShell) const
void SwCursorShell::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
overridevirtual
void SwCursorShell::ParkCursor ( const SwNodeIndex rIdx)
void SwCursorShell::ParkPams ( SwPaM pDelRg,
SwShellCursor **  ppDelRing 
)
private
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 2664 of file crsrsh.cxx.

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

bool SwCursorShell::Pop ( PopMode  eDelete)
bool SwCursorShell::PosInsideInputField ( const SwPosition rPos)
static

Definition at line 958 of file crstrvl.cxx.

References GetTextFieldAtPos().

Referenced by DocPtInsideInputField(), SwFEShell::FindAnchorPos(), and lcl_FindAnchorPos().

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 2145 of file crsrsh.cxx.

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

Referenced by SwMailMergeLayoutPage::ActivatePage(), SwEditShell::ApplyAutoMark(), SwEditShell::ApplyChangedSentence(), SwEditShell::AutoFormatBySplitNode(), SwWrtShell::BwdPara_(), SwWrtShell::BwdSentence_(), SwTextNode::Convert(), SwDocShell::ConvertTo(), SwFormatClipboard::Copy(), sw::CursorGuard::CursorGuard(), SwIntrnlSectRefLink::DataChanged(), SwInputWindow::DelBoxContent(), SwWrtShell::DelLeft(), SwWrtShell::DelLine(), SwWrtShell::DelRight(), SwWrtShell::DelToEndOfPara(), SwWrtShell::DelToEndOfSentence(), SwWrtShell::DelToStartOfPara(), SwWrtShell::EndWrd(), SwContentTree::ExecCommand(), SwTextShell::ExecField(), SwView::ExecTabWin(), SwTextShell::Execute(), SwSpellPopup::Execute(), SwWrtShell::ExtSelWrd(), SwEditShell::FieldToText(), SwEditWin::FlushInBuffer(), SwWrtShell::FwdPara_(), SwWrtShell::FwdSentence_(), GetSmartTagRect(), SwEditShell::HandleCorrectionError(), IMPL_LINK(), SwFieldMgr::InsertField(), SwMailMergeLayoutPage::InsertGreeting(), SwModule::InsertLab(), SwWrtShell::InsertPostIt(), SwWrtShell::IntelligentCut(), ItemSetToTableParam(), SwEditWin::KeyInput(), lcl_OutlineUpDownWithSubPoints(), lcl_SelectSameStrings(), lcl_SetAllTextToDefaultLanguage(), lcl_TableParamToItemSet(), SwWrtShell::NxtWrd_(), SwWrtShell::NxtWrdForDelete(), SwFEShell::PastePages(), SwTransferable::PrivateDrop(), SwWrtShell::PrvWrd_(), SwWrtShell::PrvWrdForDelete(), SwInputFieldList::PushCursor(), SwEditShell::Redo(), SwWrtShell::SelAll(), SwPageBreakWin::Select(), SwLangHelper::SetLanguageStatus(), SwInputWindow::ShowWin(), SwLinguIter::Start_(), SwTextShell::StateInsert(), SwWrtShell::SttWrd(), sw_CharDialog(), SwAutoFormat::SwAutoFormat(), SwEditShell::Undo(), SwGrfShell::SwExternalToolEdit::Update(), SwWriter::Write(), and SwHandleAnchorNodeChg::~SwHandleAnchorNodeChg().

void SwCursorShell::RefreshBlockCursor ( )
protected
bool SwCursorShell::Right ( sal_uInt16  nCnt,
sal_uInt16  nMode,
bool  bAllowVisual = false 
)
inline
bool SwCursorShell::RightMargin ( bool  bAPI = false)
inline
void SwCursorShell::SaveTableBoxContent ( const SwPosition pPos = nullptr)
bool SwCursorShell::SelectHiddenRange ( )
bool SwCursorShell::SelectNxtPrvHyperlink ( bool  bNext)
bool SwCursorShell::SelectText ( const sal_Int32  nStart,
const sal_Int32  nEnd 
)
bool SwCursorShell::SelectTextAttr ( sal_uInt16  nWhich,
bool  bExpand,
const SwTextAttr pAttr = nullptr 
)
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().

const SwRangeRedline * SwCursorShell::SelNextRedline ( )
const SwRangeRedline * SwCursorShell::SelPrevRedline ( )
bool SwCursorShell::SelTable ( )
bool SwCursorShell::SelTableBox ( )
bool SwCursorShell::SelTableCol ( )
inline

Definition at line 603 of file crsrsh.hxx.

Referenced by SwWrtShell::SelectTableCol().

bool SwCursorShell::SelTableRow ( )
inline

Definition at line 602 of file crsrsh.hxx.

Referenced by SwWrtShell::SelectTableRow().

bool SwCursorShell::SelTableRowOrCol ( bool  bRow,
bool  bRowSimple = false 
)
protected
void SwCursorShell::SetAutoUpdateCells ( bool  bFlag)
inline

Definition at line 804 of file crsrsh.hxx.

Referenced by SwInsertDBColAutoPilot::DataToDoc().

sw::mark::IMark * SwCursorShell::SetBookmark ( const vcl::KeyCode rCode,
const OUString &  rName,
IDocumentMarkAccess::MarkType  eMark = IDocumentMarkAccess::MarkType::BOOKMARK 
)
sw::mark::IMark * SwCursorShell::SetBookmark2 ( const vcl::KeyCode rCode,
const OUString &  rName,
bool  bHide,
const OUString &  rCondition 
)
void SwCursorShell::SetChgLnk ( const Link< SwCursorShell *, void > &  rLnk)
inline

Definition at line 485 of file crsrsh.hxx.

Referenced by SwTransferable::PasteFileContent().

int SwCursorShell::SetCursor ( const Point rPt,
bool  bOnlyText = false,
bool  bBlock = true 
)
bool SwCursorShell::SetCursorInHdFt ( size_t  nDescNo,
bool  bInHeader 
)
void SwCursorShell::SetFlyMacroLnk ( const Link< const SwFlyFrameFormat *, void > &  rLnk)
inline

Definition at line 481 of file crsrsh.hxx.

Referenced by SwWrtShell::SwWrtShell().

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

Definition at line 489 of file crsrsh.hxx.

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

bool SwCursorShell::SetInFrontOfLabel ( bool  bNew)
protected

Definition at line 1150 of file crsrsh.cxx.

Referenced by SwEditShell::DelNumRules().

void SwCursorShell::SetMacroExecAllowed ( const bool  _bMacroExecAllowed)
inline

Definition at line 831 of file crsrsh.hxx.

void SwCursorShell::SetMark ( )
inline
void SwCursorShell::SetOverwriteCursor ( bool  bFlag)
inline

Definition at line 462 of file crsrsh.hxx.

Referenced by SwWrtShell::SetInsMode().

void SwCursorShell::SetReadOnlyAvailable ( bool  bFlag)

is the cursor allowed to enter ReadOnly sections?

Definition at line 3211 of file crsrsh.cxx.

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

Referenced by SwEditWin::KeyInput().

void SwCursorShell::SetSelection ( const SwPaM rCursor)
void SwCursorShell::SetSelTableCells ( bool  bFlag)
inline

Definition at line 800 of file crsrsh.hxx.

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

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

Move visible cursor to given position in document.

Parameters
rPtThe position to move the visible cursor to.
Returns
<false> if SPoint was corrected by the layout.

Definition at line 2548 of file crsrsh.cxx.

References SwNode::FindSectionNode(), SwFrame::GetCharRect(), SwContentNode::getLayoutFrame(), SwSectionNode::GetSection(), SwNode::GetTextNode(), SwSection::IsHiddenFlag(), SwSection::IsProtectFlag(), IsScrollMDI(), MV_SETONLYTEXT, SwFrame::PrepareCursor(), and SET_CURR_SHELL.

Referenced by SwEditWin::MouseButtonUp().

void SwCursorShell::ShellGetFocus ( )

Definition at line 2339 of file crsrsh.cxx.

References CHKRANGE, and Width.

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

void SwCursorShell::ShellLoseFocus ( )

Definition at line 2332 of file crsrsh.cxx.

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

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 2936 of file crsrsh.cxx.

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

Referenced by SwTransferable::PrepareForCopy().

void SwCursorShell::ShowCursor ( )
void SwCursorShell::ShowCursors ( bool  bCursorVis)

Definition at line 2282 of file crsrsh.cxx.

References SET_CURR_SHELL, and SwShellCursor::Show().

void SwCursorShell::StartAction ( )

Definition at line 212 of file crsrsh.cxx.

References SwNode::GetIndex(), SwCallLink::getLayoutFrame(), SwNode::GetNodeType(), SwNode::GetTextNode(), SwNode::IsTextNode(), and SwViewShell::StartAction().

Referenced by SwAccessibleParagraph::addSelection(), SwInsFootNoteDlg::Apply(), SwEditShell::ApplyChangedSentence(), SwEditShell::ApplyViewOptions(), SwRedlineAcceptDlg::CallAcceptReject(), CheckTableBoxContent(), SwJavaEditDialog::CheckTravel(), SwAccessibleTable::clearAccessibleSelection(), SwFormatClipboard::Copy(), SwAccessibleTable::deselectAccessibleChild(), SwContentTree::EditEntry(), SwDrawShell::ExecDrawDlg(), SwTextShell::ExecField(), SwTextShell::ExecParaAttrArgs(), SwView::ExecTabWin(), SwTableShell::Execute(), SwDrawBaseShell::Execute(), SwTextShell::Execute(), SwBaseShell::Execute(), SwSpellPopup::Execute(), SwGlobalTree::ExecuteContextMenuAction(), SwBaseShell::ExecuteGallery(), SwView::ExecViewOptions(), sw::LayoutDumpFilter::filter(), SwFEShell::GetConnectableFrameFormats(), IMPL_LINK(), IMPL_LINK_NOARG(), SwFieldEditDlg::Init(), SwInsFootNoteDlg::Init(), SwView::InsertGraphic(), SwView::InsertGraphicDlg(), SwTextShell::InsertHyperlink(), SwHyphIter::InsertSoftHyph(), SwBaseShell::InsertURLButton(), IsTableComplexForChart(), lcl_SetAllTextToDefaultLanguage(), SwOutlineTabDialog::Ok(), SwFormatClipboard::Paste(), SwTransferable::PrivateDrop(), SwAccessibleTable::selectAccessibleChild(), SwWrtShell::SelectNextPrevHyperlink(), SwWrtShell::SetInsMode(), SwLangHelper::SetLanguageStatus(), SetSelection(), SetShadowCursorPos(), SwHyphIter::ShowSelection(), SwEditShell::SpellContinue(), SwEditShell::SpellSentence(), SwRootFrame::StartAllAction(), SwTextShell::StateInsert(), sw_CharDialog(), sw_CharDialogResult(), sw_ParagraphDialogResult(), SwActContext::SwActContext(), SwRootFrame::UnoRestoreAllActions(), SwAccessibleTable::unselectColumn(), SwAccessibleTable::unselectRow(), and SwWordCountFloatDlg::UpdateCounts().

sal_Int32 SwCursorShell::StartOfInputFieldAtPos ( const SwPosition rPos)
static

Definition at line 974 of file crstrvl.cxx.

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

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

bool SwCursorShell::StartsWithTable ( )
void SwCursorShell::SttCursorMove ( )
bool SwCursorShell::SttEndDoc ( bool  bStt)
void SwCursorShell::SwapPam ( )
void SwCursorShell::TableCursorToCursor ( )

enter block mode, change normal cursor into block cursor

Definition at line 884 of file crsrsh.cxx.

Referenced by ClearUpCursors(), SwWrtShell::SelAll(), SwFEShell::SelTableRowCol(), and SwLinguIter::Start_().

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

Search in the selected area for a Selection that covers the given point.

It checks if a Selection exists but does not move the current cursor.

Parameters
rPtThe point to search at.
bTstHit???

Definition at line 979 of file crsrsh.cxx.

References SwPaM::End(), SwShellCursor::GetNext(), SwPaM::HasMark(), SwCursorMoveState::m_bSetInReadOnly, MV_NONE, SET_CURR_SHELL, and SwPaM::Start().

Referenced by SwEditWin::GetDropDestination(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwEditWin::MouseMove(), SwTransferable::PrivateDrop(), SwEditWin::SelectMenuPosition(), SwWrtShell::SetCursor(), and SwEditWin::StartDrag().

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

Definition at line 355 of file crsrsh.hxx.

References UpDown.

Referenced by SwWrtShell::Up().

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

Definition at line 1552 of file crsrsh.cxx.

References BEFORE, SwFrame::Calc(), CheckRange(), CHKRANGE, SwPaM::DeleteMark(), SwNode::FindSectionNode(), SwFrame::FindTabFrame(), fnMoveBackward, fnMoveForward, fnSectionEnd, fnSectionStart, SwFrame::GetCharRect(), SwPaM::GetContentNode(), SwCursor::GetCursorBidiLevel(), SwFrame::GetCursorOfst(), SwFrameAreaDefinition::getFrameArea(), SwContentNode::getLayoutFrame(), SwPaM::GetMark(), SwShellCursor::GetMkPos(), SwPaM::GetNode(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), sw::Ring< value_type >::GetRingContainer(), SwTable::GetRowsToRepeat(), SwSectionNode::GetSection(), SwTabFrame::GetTable(), SwFrame::GetUpper(), Point::getY(), GoCurrSection(), GoInContent(), SwRect::HasArea(), SwPaM::HasMark(), SwFrame::IsCellFrame(), SwFlowFrame::IsFollow(), SwSection::IsHiddenFlag(), SwPaM::IsInFrontOfLabel(), SwTabFrame::IsInHeadline(), SwSection::IsProtectFlag(), SwFrame::IsVertical(), lcl_CheckHiddenPara(), lcl_CheckHiddenSection(), SwRect::Left(), SwCursorMoveState::m_aRealHeight, SwCursorMoveState::m_bRealHeight, SwCursorMoveState::m_bRealWidth, SwCursorMoveState::m_bSetInReadOnly, SwCursorMoveState::m_nCursorBidiLevel, SwCursorMoveState::m_pSpecialPos, MV_NONE, SwSpecialPos::nExtendRange, SwPosition::nNode, SwFrame::PrepareCursor(), READONLY, SAL_WARN, SCROLLWIN, SET_CURR_SHELL, Point::setX(), Point::setY(), SwNode::StartOfSectionNode(), SwRect::Top(), and UPDOWN.

Referenced by CallCursorFN(), CallCursorShellFN(), SwTextShell::Execute(), Find_Text(), FindAttrs(), FindFormat(), GetContentAtPos(), GoNextCell(), GoPrevCell(), GotoFlyAnchor(), GotoFooterText(), GotoFootnoteAnchor(), GotoFootnoteText(), GotoFormatField(), GotoHeaderText(), GotoINetAttr(), GotoNextOutline(), GotoNextTOXBase(), GotoNxtPrvTableFormula(), GotoNxtPrvTOXMark(), GotoOutline(), GotoPrevOutline(), GotoPrevTOXBase(), GotoRedline_(), GotoRefMark(), GotoRegion(), GotoTable(), GotoTOXMark(), GotoTOXMarkBase(), MakeOutlineSel(), MoveColumn(), MoveCursorToNum(), MoveFieldType(), MoveRegion(), MoveTable(), SelectNxtPrvHyperlink(), SelectText(), SelNextRedline(), SelPrevRedline(), SelTable(), SelTableBox(), SelTableRowOrCol(), SetCursorInHdFt(), and SetReadOnlyAvailable().

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 1476 of file crsrsh.cxx.

References SwPaM::DeleteMark(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), SwCursorMoveState::m_bSetInReadOnly, MV_NONE, SET_CURR_SHELL, and IGrammarContact::updateCursorPosition().

void SwCursorShell::UpdateMarkedListLevel ( )
protected

Updates the marked list level according to the cursor.

Definition at line 396 of file crsrsh.cxx.

References SwTextNode::GetActualListLevel(), SwTextNode::GetListId(), sw::GetParaPropsNode(), SwTextNode::IsInList(), SwTextNode::IsNumbered(), and MAXLEVEL.

Referenced by SwEditShell::NumUpDown().

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

Definition at line 492 of file crsrsh.cxx.

References CHKRANGE, MV_UPDOWN, SCROLLWIN, SET_CURR_SHELL, SwShellCursor::UpDown(), and UPDOWN.

void SwCursorShell::VisPortChgd ( const SwRect rRect)
overridevirtual

Reimplemented from SwViewShell.

Definition at line 1442 of file crsrsh.cxx.

References Bottom, Right, SET_CURR_SHELL, and SwViewShell::VisPortChgd().

Friends And Related Function Documentation

bool GetAutoSumSel ( const SwCursorShell ,
SwCellFrames  
)
friend

Definition at line 686 of file tblsel.cxx.

Referenced by SwFEShell::GetAutoSum().

friend class SwCallLink
friend

Definition at line 145 of file crsrsh.hxx.

friend class SwSelPaintRects
friend

Definition at line 147 of file crsrsh.hxx.

friend class SwVisibleCursor
friend

Definition at line 146 of file crsrsh.hxx.

Referenced by SwCursorShell().

Member Data Documentation

SwRect SwCursorShell::m_aCharRect
private

Char-SRectangle on which the cursor is located.

Definition at line 168 of file crsrsh.hxx.

Referenced by GotoFlyAnchor(), MakeSelVisible(), MoveCursorToNum(), SwVisibleCursor::SetPosAndShow(), and SwVisibleCursor::Show().

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

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

Definition at line 175 of file crsrsh.hxx.

Referenced by SwCallLink::~SwCallLink().

Point SwCursorShell::m_aCursorHeight
private

height & offset from visible Cursor

Definition at line 169 of file crsrsh.hxx.

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

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 173 of file crsrsh.hxx.

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

Link calls to UI if a graphic is arrived.

Definition at line 177 of file crsrsh.hxx.

Point SwCursorShell::m_aOldRBPos
private

Right/Bottom of last VisArea.

Definition at line 170 of file crsrsh.hxx.

Referenced by SwSelPaintRects::Invalidate().

bool SwCursorShell::m_bAllProtect
private

Flag for areas.

Definition at line 219 of file crsrsh.hxx.

Referenced by FindValidContentNode(), and SwCursorShell().

bool SwCursorShell::m_bAutoUpdateCells
private

Definition at line 227 of file crsrsh.hxx.

Referenced by SwCursorShell().

bool SwCursorShell::m_bBasicHideCursor
private

Definition at line 228 of file crsrsh.hxx.

Referenced by SwCursorShell().

bool SwCursorShell::m_bCallChgLnk
private

flag for derived classes

Definition at line 216 of file crsrsh.hxx.

Referenced by SwCursorShell(), and SwCallLink::~SwCallLink().

bool SwCursorShell::m_bChgCallFlag
private

attribute change inside Start- and EndAction

Definition at line 212 of file crsrsh.hxx.

Referenced by SwCursorShell().

bool SwCursorShell::m_bGCAttr
private

Definition at line 223 of file crsrsh.hxx.

Referenced by SwCursorShell().

bool SwCursorShell::m_bHasFocus
private

Shell is "active" in a window.

Definition at line 210 of file crsrsh.hxx.

Referenced by MakeSelVisible(), and SwCursorShell().

bool SwCursorShell::m_bIgnoreReadonly
private

Definition at line 224 of file crsrsh.hxx.

Referenced by SwCursorShell().

bool SwCursorShell::m_bInCMvVisportChgd
private

Flag for CursorMoves.

Definition at line 221 of file crsrsh.hxx.

Referenced by SwCursorShell().

bool SwCursorShell::m_bMacroExecAllowed
private

Definition at line 232 of file crsrsh.hxx.

Referenced by SwCursorShell().

bool SwCursorShell::m_bOverwriteCursor
private

Definition at line 230 of file crsrsh.hxx.

Referenced by SwCursorShell().

bool SwCursorShell::m_bSelTableCells
private

Definition at line 226 of file crsrsh.hxx.

Referenced by SwCursorShell().

bool SwCursorShell::m_bSetCursorInReadOnly
private

Definition at line 229 of file crsrsh.hxx.

Referenced by SetReadOnlyAvailable(), and SwCursorShell().

bool SwCursorShell::m_bSVCursorVis
private

SV-Cursor visible/invisible.

Definition at line 211 of file crsrsh.hxx.

Referenced by SwCursorShell().

bool SwCursorShell::m_bVisPortChgd
private

in VisPortChg-Call

Definition at line 213 of file crsrsh.hxx.

Referenced by SwSelPaintRects::Invalidate(), and SwCursorShell().

CursorMoveState SwCursorShell::m_eMvState
private

Status for Cursor-Travelling - GetCursorOfst.

Definition at line 205 of file crsrsh.hxx.

sal_Int32 SwCursorShell::m_nCurrentContent
private

Definition at line 195 of file crsrsh.hxx.

SwNodeType SwCursorShell::m_nCurrentNdTyp
private

Definition at line 196 of file crsrsh.hxx.

sal_uLong SwCursorShell::m_nCurrentNode
private

Definition at line 194 of file crsrsh.hxx.

sal_uInt16 SwCursorShell::m_nCursorMove
private

Definition at line 204 of file crsrsh.hxx.

long SwCursorShell::m_nLeftFramePos
private

Definition at line 193 of file crsrsh.hxx.

int SwCursorShell::m_nMarkedListLevel
private

Definition at line 208 of file crsrsh.hxx.

long SwCursorShell::m_nUpDownX
private

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

Definition at line 191 of file crsrsh.hxx.

SwFrame* SwCursorShell::m_oldColFrame
private

Definition at line 234 of file crsrsh.hxx.

SwBlockCursor* SwCursorShell::m_pBlockCursor
private

interface of cursor for block (=rectangular) selection

Definition at line 183 of file crsrsh.hxx.

Referenced by getShellCursor(), and ~SwCursorShell().

SwNodeIndex* SwCursorShell::m_pBoxIdx
private

for recognizing of the changed

Definition at line 188 of file crsrsh.hxx.

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

SwTableBox* SwCursorShell::m_pBoxPtr
private

table row

Definition at line 189 of file crsrsh.hxx.

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

SwShellCursor* SwCursorShell::m_pCurrentCursor
private
SwShellCursor* SwCursorShell::m_pStackCursor
private

stack for the cursor

Definition at line 180 of file crsrsh.hxx.

Referenced by GetStackCursor(), ParkCursor(), and ~SwCursorShell().

SwShellTableCursor* SwCursorShell::m_pTableCursor
private
SwVisibleCursor* SwCursorShell::m_pVisibleCursor
private

the visible cursor

Definition at line 181 of file crsrsh.hxx.

Referenced by SwCursorShell(), UnSetVisibleCursor(), and ~SwCursorShell().

OUString SwCursorShell::m_sMarkedListId
private

Definition at line 207 of file crsrsh.hxx.


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