LibreOffice Module sw (master) 1
|
#include <crsrsh.hxx>
Public Types | |
enum | CursorFlag { UPDOWN = (1 << 0) , SCROLLWIN = (1 << 1) , CHKRANGE = (1 << 2) , READONLY = (1 << 3) } |
for calling UpdateCursor More... | |
enum class | PopMode { DeleteCurrent , DeleteStack } |
![]() | |
typedef std::add_const< SwViewShell >::type | const_value_type |
typedef RingContainer< SwViewShell > | ring_container |
typedef RingContainer< const_value_type > | const_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 SwCursor & | CreateNewShellCursor () override |
Create and return a new shell cursor. More... | |
virtual SwCursor & | GetCurrentShellCursor () override |
Return the current shell cursor. More... | |
SwPaM * | CreateCursor () |
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... | |
SwCursor * | GetCursor (bool bMakeTableCursor=true) const |
Return pointer to the current shell cursor. More... | |
SwShellCursor * | GetCursor_ () |
const SwShellCursor * | GetCursor_ () const |
void | SetSelection (const SwPaM &rCursor) |
void | ParkCursor (const SwNode &rIdx) |
Remove selections and additional cursors of all shells. More... | |
SwPaM * | GetStackCursor () const |
void | StartAction () |
void | EndAction (const bool bIdleEnd=false) |
tools::Long | GetUpDownX () const |
bool | Left (sal_uInt16 nCnt, SwCursorSkipMode nMode, bool bAllowVisual=false) |
bool | Right (sal_uInt16 nCnt, SwCursorSkipMode nMode, bool bAllowVisual=false) |
bool | Up (sal_uInt16 nCnt=1) |
bool | Down (sal_uInt16 nCnt=1) |
bool | LeftMargin () |
bool | RightMargin (bool bAPI=false) |
bool | SttEndDoc (bool bStt) |
bool | MovePage (SwWhichPage, SwPosPage) |
bool | MovePara (SwWhichPara, SwMoveFnCollection const &) |
bool | MoveSection (SwWhichSection, SwMoveFnCollection const &) |
bool | MoveTable (SwWhichTable, SwMoveFnCollection const &) |
void | MoveColumn (SwWhichColumn, SwPosColumn) |
bool | MoveRegion (SwWhichRegion, SwMoveFnCollection const &) |
sal_Int32 | Find_Text (const i18nutil::SearchOptions2 &rSearchOpt, bool bSearchInNotes, SwDocPositions eStart, SwDocPositions eEnd, bool &bCancel, FindRanges eRng, bool bReplace=false) |
sal_Int32 | FindFormat (const SwTextFormatColl &rFormatColl, SwDocPositions eStart, SwDocPositions eEnd, bool &bCancel, FindRanges eRng, const SwTextFormatColl *pReplFormat) |
sal_Int32 | FindAttrs (const SfxItemSet &rSet, bool bNoCollections, SwDocPositions eStart, SwDocPositions eEnd, bool &bCancel, FindRanges eRng, const i18nutil::SearchOptions2 *pSearchOpt, const SfxItemSet *rReplSet) |
int | SetCursor (const Point &rPt, bool bOnlyText=false, bool bBlock=true) |
virtual void | VisPortChgd (const SwRect &) override |
void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override |
void | SetMark () |
bool | HasMark () const |
void | ClearMark () |
void | NormalizePam (bool bPointFirst=true) |
Ensure point and mark of the current PaM are in a specific order. More... | |
void | SwapPam () |
bool | TestCurrPam (const Point &rPt, bool bTstHit=false) |
Search in the selected area for a Selection that covers the given point. More... | |
void | KillPams () |
void | Push () |
store a copy of the current cursor on the cursor stack More... | |
bool | Pop (PopMode, ::std::optional< SwCallLink > &roLink) |
bool | Pop (PopMode) |
delete cursor More... | |
void | Combine () |
Combine two cursors. More... | |
void | SttCursorMove () |
void | EndCursorMove (const bool bIdleEnd=false) |
bool | HasShellFocus () const |
void | ShellLoseFocus () |
void | ShellGetFocus () |
void | ShowCursor () |
void | HideCursor () |
void | ShowCursors (bool bCursorVis) |
void | HideCursors () |
bool | IsOverwriteCursor () const |
void | SetOverwriteCursor (bool bFlag) |
bool | IsSendAccessibleCursorEvents () const |
void | SetSendAccessibleCursorEvents (bool bEnable) |
SwContentFrame * | GetCurrFrame (const bool bCalcFrame=true) const |
Get current frame in which the cursor is positioned. More... | |
bool | IsCursorReadonly () const |
bool | HasReadonlySel (bool isReplace=false) const |
bool | IsReadOnlyAvailable () const |
void | SetReadOnlyAvailable (bool bFlag) |
is the cursor allowed to enter ReadOnly sections? More... | |
bool | IsOverReadOnlyPos (const Point &rPt) const |
void | SetFlyMacroLnk (const Link< const SwFlyFrameFormat *, void > &rLnk) |
const Link< const SwFlyFrameFormat *, void > & | GetFlyMacroLnk () const |
void | SetChgLnk (const Link< LinkParamNone *, void > &rLnk) |
const Link< LinkParamNone *, void > & | GetChgLnk () const |
void | SetGrfArrivedLnk (const Link< SwCursorShell &, void > &rLnk) |
const Link< SwCursorShell &, void > & | GetGrfArrivedLnk () const |
void | CallChgLnk () |
bool | HasSelection () const |
Does the current cursor create a selection? More... | |
bool | IsSelection () const |
bool | IsMultiSelection () const |
bool | IsSelFullPara () const |
bool | ShouldWait () const |
Should WaitPtr be switched on for the clipboard? More... | |
bool | IsSelOnePara () const |
const SwRect & | GetCharRect () const |
bool | IsCursorVisible () const |
void | GetCharRectAt (SwRect &rRect, const SwPosition *pPos) |
void | GetPageNum (sal_uInt16 &rnPhyNum, sal_uInt16 &rnVirtNum, bool bAtCursorPos=true, const bool bCalcFrame=true) |
sal_uInt16 | GetPageNumSeqNonEmpty () |
sal_uInt16 | GetNextPrevPageNum (bool bNext=true) |
bool | GotoPage (sal_uInt16 nPage) |
sal_uInt16 | GetPageCnt () |
bool | GoNextCursor () |
go to the next SSelection More... | |
bool | GoPrevCursor () |
go to the previous SSelection More... | |
void | GoNextPrevCursorSetSearchLabel (const bool bNext) |
::sw::mark::IMark * | SetBookmark (const vcl::KeyCode &, const OUString &rName, IDocumentMarkAccess::MarkType eMark=IDocumentMarkAccess::MarkType::BOOKMARK) |
::sw::mark::IMark * | SetBookmark2 (const vcl::KeyCode &, const OUString &rName, bool bHide, const OUString &rCondition) |
bool | GotoMark (const ::sw::mark::IMark *const pMark) |
bool | GotoMark (const ::sw::mark::IMark *const pMark, bool bAtStart) |
bool | GoNextBookmark () |
bool | GoPrevBookmark () |
bool | IsFormProtected () |
::sw::mark::IFieldmark * | GetCurrentFieldmark () |
sw::mark::IFieldmark * | GetFieldmarkAfter (bool bLoop) |
sw::mark::IFieldmark * | GetFieldmarkBefore (bool bLoop) |
bool | GotoFieldmark (const ::sw::mark::IFieldmark *const pMark) |
void | UpdateCursorPos () |
Set the cursor back into content. More... | |
OUString | GetSelText () const |
get selected text of a node at current cursor More... | |
const SwTableNode * | IsCursorInTable () const |
bool | IsCursorInFootnote () const |
Point & | GetCursorDocPos () const |
bool | IsCursorPtAtEnd () const |
const SwPaM * | GetTableCrs () const |
SwPaM * | GetTableCrs () |
bool | IsTableComplexForChart () |
OUString | GetBoxNms () const |
bool | GoNextCell (bool bAppendLine=true) |
set cursor into next/previous cell More... | |
bool | GoPrevCell () |
bool | GotoTable (const OUString &rName) |
bool | SelTableRow () |
bool | SelTableCol () |
bool | SelTableBox () |
bool | SelTable () |
void | GotoNextNum () |
go to next/previous point on the same level More... | |
void | GotoPrevNum () |
bool | GotoOutline (const OUString &rName) |
void | GotoOutline (SwOutlineNodes::size_type nIdx) |
SwOutlineNodes::size_type | GetOutlinePos (sal_uInt8 nLevel=UCHAR_MAX, SwPaM *pPaM=nullptr) |
search "outline position" before previous outline node at given level More... | |
void | MakeOutlineSel (SwOutlineNodes::size_type nSttPos, SwOutlineNodes::size_type nEndPos, bool bWithChildren, bool bKillPams=true) |
bool | GotoNextOutline () |
jump to next node with outline num. More... | |
bool | GotoPrevOutline () |
jump to previous node with outline num. More... | |
SwShellCursor * | getShellCursor (bool bBlock) |
Delivers the current shell cursor. More... | |
const SwShellCursor * | getShellCursor (bool bBlock) const |
bool | IsBlockMode () const |
bool | IsTableMode () const |
const SwShellTableCursor * | GetTableCursor () const |
SwShellTableCursor * | GetTableCursor () |
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 SwTOXMark & | GotoTOXMark (const SwTOXMark &rStart, SwTOXSearch eDir) |
traveling between marks More... | |
bool | GotoNxtPrvTableFormula (bool bNext=true, bool bOnlyErrors=false) |
Jump to next/previous table formula Optionally it is possible to also jump to broken formulas. More... | |
bool | SelectNxtPrvHyperlink (bool bNext) |
bool | GotoRefMark (const OUString &rRefMark, sal_uInt16 nSubType, sal_uInt16 nSeqNo) |
jump to reference marker More... | |
sal_Unicode | GetChar (bool bEnd=true, tools::Long nOffset=0) |
get the nth character of the current SSelection More... | |
bool | ExtendSelection (bool bEnd=true, sal_Int32 nCount=1) |
extend current SSelection by n characters More... | |
bool | SetVisibleCursor (const Point &rPt) |
Move visible cursor to given position in document. More... | |
void | UnSetVisibleCursor () |
SwVisibleCursor * | GetVisibleCursor () const |
bool | MoveFieldType (const SwFieldType *pFieldType, const bool bNext, const SwFieldIds nResType=SwFieldIds::Unknown, const bool bAddSetExpressionFieldsToInputFields=true) |
bool | GotoFormatField (const SwFormatField &rField) |
bool | GotoFormatContentControl (const SwFormatContentControl &rContentControl) |
SwField * | GetCurField (const bool bIncludeInputFieldAtStart=false) const |
bool | CursorInsideInputField () const |
SwTextContentControl * | CursorInsideContentControl () const |
bool | DocPtInsideInputField (const Point &rDocPt) const |
sal_uInt16 | GetCursorCnt (bool bAll=true) const |
Get the number of elements in the ring of cursors. More... | |
bool | GoStartWord () |
bool | GoEndWord () |
bool | GoNextWord () |
bool | GoPrevWord () |
bool | GoNextSentence () |
bool | GoStartSentence () |
bool | GoEndSentence () |
bool | SelectWord (const Point *pPt) |
void | ExpandToSentenceBorders () |
bool | IsStartWord (sal_Int16 nWordType=css::i18n::WordType::ANYWORD_IGNOREWHITESPACES) const |
bool | IsEndWord (sal_Int16 nWordType=css::i18n::WordType::ANYWORD_IGNOREWHITESPACES) const |
bool | IsInWord (sal_Int16 nWordType=css::i18n::WordType::ANYWORD_IGNOREWHITESPACES) const |
bool | IsStartSentence () const |
bool | IsEndSentence () const |
bool | IsSttPara () const |
bool | IsEndPara () const |
bool | IsEndOfTable () const |
at the very last SwPosition inside a table More... | |
bool | IsStartOfDoc () const |
bool | IsEndOfDoc () const |
bool | IsInFrontOfLabel () const |
bool | IsAtLeftMargin () const |
bool | IsAtRightMargin () const |
bool | ParkTableCursor () |
Invalidate cursors. More... | |
bool | IsGCAttr () const |
void | ClearGCAttr () |
void | UpdateAttr () |
bool | IsAllProtect () const |
bool | GotoRegion (std::u16string_view rName) |
virtual void | MakeSelVisible () |
show the current selected "object" More... | |
bool | FindValidContentNode (bool bOnlyText) |
search a valid content position (not protected/hidden) More... | |
bool | GetContentAtPos (const Point &rPt, SwContentAtPos &rContentAtPos, bool bSetCursor=false, SwRect *pFieldRect=nullptr) |
const SwPostItField * | GetPostItFieldAtCursor () 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 SwFormatINetFormat * | FindINetAttr (std::u16string_view rName) const |
bool | SelectTextModel (sal_Int32 nStart, sal_Int32 nEnd) |
bool | CheckTableBoxContent (const SwPosition *pPos=nullptr) |
void | SaveTableBoxContent (const SwPosition *pPos=nullptr) |
void | ClearTableBoxContent () |
bool | EndAllTableBoxEdit () |
void | SetSelTableCells (bool bFlag) |
bool | IsSelTableCells () const |
void | UnsetEnhancedTableSelection () |
SwTable::SearchType | GetEnhancedTableSelection () const |
bool | IsAutoUpdateCells () const |
void | SetAutoUpdateCells (bool bFlag) |
bool | GetShadowCursorPos (const Point &rPt, SwFillMode eFillMode, SwRect &rRect, sal_Int16 &rOrient) |
bool | SetShadowCursorPos (const Point &rPt, SwFillMode eFillMode) |
const SwRangeRedline * | SelNextRedline () |
const SwRangeRedline * | SelPrevRedline () |
const SwRangeRedline * | GotoRedline (SwRedlineTable::size_type nArrPos, bool bSelect) |
bool | GotoFootnoteAnchor (const SwTextFootnote &rTextFootnote) |
SAL_DLLPRIVATE SvxFrameDirection | GetTextDirection (const Point *pPt=nullptr) const |
bool | IsInVerticalText (const Point *pPt=nullptr) const |
bool | IsInRightToLeftText () const |
bool | bColumnChange () |
bool | 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 () const |
OUString | GetCursorDescr () const |
Returns textual description of the current selection. More... | |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
OUString | getPageRectangles () |
Implementation of lok::Document::getPartPageRectangles() for Writer. More... | |
void | NotifyCursor (SfxViewShell *pViewShell) const |
See SwView::NotifyCursor(). More... | |
![]() | |
SwViewShellImp * | Imp () |
const SwViewShellImp * | Imp () const |
const SwNodes & | GetNodes () 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 () const |
void | SetRestoreActions (sal_uInt16 nSet) |
sal_uInt16 | GetRestoreActions () const |
bool | HasInvalidRect () const |
void | ChgHyphenation () |
void | ChgNumberDigits () |
bool | AddPaintRect (const SwRect &rRect) |
void | InvalidateWindows (const SwRect &rRect) |
void | FlushPendingLOKInvalidateTiles () |
void | Reformat () |
Invalidates complete Layout (ApplyViewOption). More... | |
void | PrePaint () |
void | DLPrePaint2 (const vcl::Region &rRegion) |
void | DLPostPaint2 (bool bPaintFormLayer) |
const MapMode & | getPrePostMapMode () const |
virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) |
void | PaintTile (VirtualDevice &rDevice, int contextWidth, int contextHeight, int tilePosX, int tilePosY, tools::Long tileWidth, tools::Long tileHeight) |
Paint tile. More... | |
bool | IsPaintInProgress () const |
bool | IsDrawingLayerPaintInProgress () const |
virtual void | VisPortChgd (const SwRect &) |
bool | SmoothScroll (tools::Long lXDiff, tools::Long lYDiff, const tools::Rectangle *) |
void | EnableSmooth (bool b) |
const SwRect & | VisArea () const |
const tools::Rectangle & | getLOKVisibleArea () const |
The visible area in the client (set by setClientVisibleArea). More... | |
void | setLOKVisibleArea (const tools::Rectangle &rArea) |
void | MakeVisible (const SwRect &) |
void | SizeChgNotify () |
void | UISizeNotify () |
Point | GetPagePos (sal_uInt16 nPageNum) const |
sal_uInt16 | GetNumPages () const |
bool | IsDummyPage (sal_uInt16 nPageNum) const |
void | SetFirstVisPageInvalid () |
SwRootFrame * | GetLayout () const |
bool | IsNewLayout () const |
Size | GetDocSize () const |
virtual void | CalcLayout () |
sal_uInt16 | GetPageCount () const |
Size | GetPageSize (sal_uInt16 nPageNum, bool bSkipEmptyPages) const |
SwDoc * | GetDoc () const |
const IDocumentSettingAccess & | getIDocumentSettingAccess () const |
Provides access to the document setting interface. More... | |
IDocumentSettingAccess & | getIDocumentSettingAccess () |
const IDocumentDeviceAccess & | getIDocumentDeviceAccess () const |
Provides access to the document device interface. More... | |
IDocumentDeviceAccess & | getIDocumentDeviceAccess () |
const IDocumentMarkAccess * | getIDocumentMarkAccess () const |
Provides access to the document bookmark interface. More... | |
IDocumentMarkAccess * | getIDocumentMarkAccess () |
const IDocumentDrawModelAccess & | getIDocumentDrawModelAccess () const |
Provides access to the document draw model interface. More... | |
IDocumentDrawModelAccess & | getIDocumentDrawModelAccess () |
const IDocumentRedlineAccess & | getIDocumentRedlineAccess () const |
Provides access to the document redline interface. More... | |
IDocumentRedlineAccess & | getIDocumentRedlineAccess () |
const IDocumentLayoutAccess & | getIDocumentLayoutAccess () const |
Provides access to the document layout interface. More... | |
IDocumentLayoutAccess & | getIDocumentLayoutAccess () |
IDocumentContentOperations & | getIDocumentContentOperations () |
Provides access to the content operations interface. More... | |
IDocumentStylePoolAccess & | getIDocumentStylePoolAccess () |
Provides access to the document style pool interface. More... | |
const IDocumentStatistics & | getIDocumentStatistics () const |
Provides access to the document statistics interface. More... | |
IDocumentUndoRedo const & | GetIDocumentUndoRedo () const |
Provides access to the document undo/redo interface. More... | |
IDocumentUndoRedo & | GetIDocumentUndoRedo () |
const IDocumentListItems * | getIDocumentListItemsAccess () const |
const IDocumentOutlineNodes * | getIDocumentOutlineNodesAccess () const |
vcl::RenderContext & | GetRefDev () const |
vcl::Window * | GetWin () const |
vcl::RenderContext * | GetOut () const |
void | SetWin (vcl::Window *win) |
void | SetOut (vcl::RenderContext *pOut) |
void | ChgAllPageOrientation (Orientation eOri) |
void | ChgAllPageSize (Size const &rSz) |
bool | PrintOrPDFExport (OutputDevice *pOutDev, SwPrintData const &rPrintData, sal_Int32 nRenderer, bool bIsPDFExport) |
void | PrintProspect (OutputDevice *pOutDev, const SwPrintData &rPrintData, sal_Int32 nRenderer) |
print brochure More... | |
void | FillPrtDoc (SwDoc &rPrtDoc, const SfxPrinter *pPrt) |
void | CalcPagesForPrint (sal_uInt16 nMax) |
void | UpdateFields (bool bCloseDB=false) |
Forces update of each field. More... | |
bool | IsAnyFieldInDoc () const |
Check if the DocNodesArray contains fields. More... | |
void | UpdateOleObjectPreviews () |
Update the previews of all OLE objects. More... | |
void | UpdateAllCharts () |
update all charts for which any table exists More... | |
bool | HasCharts () const |
void | SetParaSpaceMax (bool bNew) |
void | SetParaSpaceMaxAtPages (bool bNew) |
void | SetTabCompat (bool bNew) |
void | SetAddExtLeading (bool bNew) |
void | SetAddParaSpacingToTableCells (bool _bAddParaSpacingToTableCells) |
Sets if paragraph and table spacing is added at bottom of table cells. More... | |
void | SetUseFormerLineSpacing (bool _bUseFormerLineSpacing) |
Sets if former formatting of text lines with proportional line spacing should used. More... | |
void | SetUseFormerObjectPositioning (bool _bUseFormerObjPos) |
Sets IDocumentSettingAccess if former object positioning should be used. More... | |
void | SetConsiderWrapOnObjPos (bool _bConsiderWrapOnObjPos) |
void | SetUseFormerTextWrapping (bool _bUseFormerTextWrapping) |
void | SetDoNotJustifyLinesWithManualBreak (bool _bDoNotJustifyLinesWithManualBreak) |
void | SetProtectForm (bool _bProtectForm) |
void | SetMsWordCompTrailingBlanks (bool _bMsWordCompTrailingBlanks) |
void | SetSubtractFlysAnchoredAtFlys (bool bSubtractFlysAnchoredAtFlys) |
void | SetEmptyDbFieldHidesPara (bool bEmptyDbFieldHidesPara) |
void | LayoutIdle () |
const SwViewOption * | GetViewOptions () 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 SwAccessibilityOptions * | GetAccessibilityOptions () const |
SfxViewShell * | GetSfxViewShell () const |
void | SetSfxViewShell (SfxViewShell *pNew) |
virtual void | DrawSelChanged () |
SwPagePreviewLayout * | PagePreviewLayout () |
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 |
SdrView * | GetDrawView () |
const SdrView * | GetDrawView () const |
SdrView * | GetDrawViewWithValidMarkList () |
const SfxItemPool & | GetAttrPool () const |
SfxItemPool & | GetAttrPool () |
bool | IsPreview () const |
bool | IsFrameView () const |
void | InvalidateLayout (bool bSizeChanged) |
const Size & | GetBrowseBorder () const |
sal_Int32 | GetBrowseWidth () const |
void | SetBrowseBorder (const Size &rNew) |
css::uno::Reference< css::accessibility::XAccessible > | CreateAccessible () |
css::uno::Reference< css::accessibility::XAccessible > | CreateAccessiblePreview () |
void | ShowPreviewSelection (sal_uInt16 nSelPage) |
void | InvalidateAccessibleFocus () |
void | ApplyAccessibilityOptions (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... | |
SwAccessibleMap * | GetAccessibleMap () |
SwViewShell (SwViewShell &, vcl::Window *pWin, OutputDevice *pOut=nullptr, tools::Long nFlags=0) | |
CTor for further Shells on a document. More... | |
SwViewShell (SwDoc &rDoc, vcl::Window *pWin, const SwViewOption *pOpt, OutputDevice *pOut=nullptr, tools::Long nFlags=0) | |
CTor for the first Shell. More... | |
virtual | ~SwViewShell () override |
sal_Int32 | GetPageNumAndSetOffsetForPDF (OutputDevice &rOut, const SwRect &rRect) const |
bool | IsInConstructor () const |
const BitmapEx & | GetReplacementBitmap (bool bIsErrorState) |
void | DeleteReplacementBitmaps () |
const SwPostItMgr * | GetPostItMgr () const |
SwPostItMgr * | GetPostItMgr () |
void | ToggleHeaderFooterEdit () |
Acts both for headers / footers, depending on the bShow(Header|Footer)Separator flags. More... | |
bool | IsHeaderFooterEdit () const |
Acts both for headers / footers, depending on the bShow(Header|Footer)Separator flags. More... | |
bool | IsShowHeaderFooterSeparator (FrameControlType eControl) |
virtual void | SetShowHeaderFooterSeparator (FrameControlType eControl, bool bShow) |
bool | IsSelectAll () const |
void | setOutputToWindow (bool bOutputToWindow) |
bool | isOutputToWindow () const |
void | OnGraphicArrived (const SwRect &) |
void | GetFirstLastVisPageNumbers (SwVisiblePageNumbers &rVisiblePageNumbers) |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
![]() | |
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 |
![]() | |
virtual | ~IShellCursorSupplier () |
virtual SwCursor & | CreateNewShellCursor ()=0 |
virtual SwCursor & | GetCurrentShellCursor ()=0 |
Static Public Member Functions | |
static SwTextField * | GetTextFieldAtPos (const SwPosition *pPos, ::sw::GetTextAttrMode eMode) |
static SwTextField * | GetTextFieldAtCursor (const SwPaM *pCursor, ::sw::GetTextAttrMode eMode) |
static SwField * | GetFieldAtCursor (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 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 ShellResource * | GetShellRes () |
static weld::Window * | CareChildWin (SwViewShell const &rVSh) |
static void | SetCareDialog (const std::shared_ptr< weld::Window > &rNew) |
static weld::Window * | GetCareDialog (SwViewShell const &rVSh) |
Protected Member Functions | |
SwMoveFnCollection const & | MakeFindRange (SwDocPositions, SwDocPositions, SwPaM *) const |
int | CompareCursorStackMkCurrPt () const |
bool | SelTableRowOrCol (bool bRow, bool bRowSimple=false) |
bool | SetInFrontOfLabel (bool bNew) |
void | RefreshBlockCursor () |
SAL_DLLPRIVATE void | UpdateMarkedListLevel () |
Updates the marked list level according to the cursor. More... | |
virtual void | SwClientNotify (const SwModify &, const SfxHint &) override |
forward all attribute/format changes at the current node to the Link More... | |
![]() | |
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... | |
SwViewShell * | GetNextInRing () |
const_value_type * | GetNextInRing () const |
SwViewShell * | GetPrevInRing () |
const_value_type * | GetPrevInRing () const |
bool | unique () const |
Private Types | |
typedef bool(SwCursor::* | FNCursor) () |
typedef bool(SwCursorShell::* | FNCursorShell) () |
Private Member Functions | |
SAL_DLLPRIVATE void | MoveCursorToNum () |
SAL_DLLPRIVATE void | ParkPams (SwPaM *pDelRg, SwShellCursor **ppDelRing) |
SAL_DLLPRIVATE void | MarkListLevel (const OUString &sListId, const int nLevel) |
Mark a certain list level of a certain list. More... | |
bool | LeftRight (bool, sal_uInt16, SwCursorSkipMode, bool) |
SAL_DLLPRIVATE bool | UpDown (bool, sal_uInt16) |
SAL_DLLPRIVATE bool | LRMargin (bool, bool bAPI=false) |
SAL_DLLPRIVATE bool | IsAtLRMargin (bool, bool bAPI=false) const |
SAL_DLLPRIVATE bool | isInHiddenTextFrame (SwShellCursor *pShellCursor) |
SAL_DLLPRIVATE bool | GoStartWordImpl () |
SAL_DLLPRIVATE bool | GoEndWordImpl () |
SAL_DLLPRIVATE bool | GoNextWordImpl () |
SAL_DLLPRIVATE bool | GoPrevWordImpl () |
SAL_DLLPRIVATE bool | GoNextSentenceImpl () |
SAL_DLLPRIVATE bool | GoEndSentenceImpl () |
SAL_DLLPRIVATE bool | GoStartSentenceImpl () |
SAL_DLLPRIVATE bool | CallCursorFN (FNCursor) |
SAL_DLLPRIVATE bool | CallCursorShellFN (FNCursorShell) |
SAL_DLLPRIVATE const SwRangeRedline * | GotoRedline_ (SwRedlineTable::size_type nArrPos, bool bSelect) |
SAL_DLLPRIVATE void | sendLOKCursorUpdates () |
Private Attributes | |
SwRect | m_aCharRect |
Char-SRectangle on which the cursor is located. More... | |
Point | m_aCursorHeight |
height & offset from visible Cursor More... | |
Point | m_aOldRBPos |
Right/Bottom of last VisArea. More... | |
Link< const SwFlyFrameFormat *, void > | m_aFlyMacroLnk |
Link will be called, if the Cursor is set into a fly. More... | |
Link< LinkParamNone *, void > | m_aChgLnk |
link will be called by every attribute/ format changes at cursor position. More... | |
Link< SwCursorShell &, void > | m_aGrfArrivedLnk |
Link calls to UI if a graphic is arrived. More... | |
SwShellCursor * | m_pCurrentCursor |
current cursor More... | |
SwShellCursor * | m_pStackCursor |
stack for the cursor More... | |
SwVisibleCursor * | m_pVisibleCursor |
the visible cursor More... | |
SwBlockCursor * | m_pBlockCursor |
interface of cursor for block (=rectangular) selection More... | |
SwShellTableCursor * | m_pTableCursor |
table Cursor; only in tables when the selection lays over 2 columns More... | |
SwNodeIndex * | m_pBoxIdx |
for recognizing of the changed More... | |
SwTableBox * | m_pBoxPtr |
table row More... | |
tools::Long | m_nUpDownX |
try to move the cursor on up/down always in the same column More... | |
tools::Long | m_nLeftFramePos |
SwNodeOffset | m_nCurrentNode |
sal_Int32 | m_nCurrentContent |
SwNodeType | m_nCurrentNdTyp |
sal_uInt16 | m_nCursorMove |
CursorMoveState | m_eMvState |
Status for Cursor-Travelling - GetModelPositionForViewPoint. More... | |
SwTable::SearchType | m_eEnhancedTableSel |
OUString | m_sMarkedListId |
table rows or columns selected by not cell by cell More... | |
int | m_nMarkedListLevel |
bool | m_bHasFocus: 1 |
Shell is "active" in a window. More... | |
bool | m_bSVCursorVis: 1 |
SV-Cursor visible/invisible. More... | |
bool | m_bChgCallFlag: 1 |
attribute change inside Start- and EndAction More... | |
bool | m_bVisPortChgd: 1 |
in VisPortChg-Call More... | |
bool | m_bCallChgLnk: 1 |
flag for derived classes More... | |
bool | m_bAllProtect: 1 |
Flag for areas. More... | |
bool | m_bInCMvVisportChgd: 1 |
Flag for CursorMoves. More... | |
bool | m_bGCAttr: 1 |
bool | m_bIgnoreReadonly: 1 |
bool | m_bSelTableCells: 1 |
bool | m_bAutoUpdateCells: 1 |
bool | m_bBasicHideCursor: 1 |
bool | m_bSetCursorInReadOnly: 1 |
bool | m_bOverwriteCursor: 1 |
bool | m_bSendAccessibleCursorEvents: 1 |
bool | m_bMacroExecAllowed: 1 |
SwFrame * | m_oldColFrame |
Friends | |
class | SwCallLink |
class | SwVisibleCursor |
class | SwSelPaintRects |
bool | GetAutoSumSel (const SwCursorShell &, SwCellFrames &) |
Additional Inherited Members | |
![]() | |
SwRect | maVisArea |
The modern version of VisArea. More... | |
tools::Rectangle | maLOKVisibleArea |
The visible area in the LibreOfficeKit client. More... | |
rtl::Reference< SwDoc > | mxDoc |
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::Region > | mPrePostPaintRegions |
VclPtr< OutputDevice > | mpPrePostOutDev |
MapMode | maPrePostMapMode |
![]() | |
static ShellResource * | spShellRes = nullptr |
Resources for the Shell. More... | |
static vcl::DeleteOnDeinit< std::shared_ptr< weld::Window > > | spCareDialog {} |
Avoid this window. More... | |
Definition at line 145 of file crsrsh.hxx.
|
private |
Definition at line 278 of file crsrsh.hxx.
|
private |
Definition at line 279 of file crsrsh.hxx.
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 160 of file crsrsh.hxx.
|
strong |
Enumerator | |
---|---|
DeleteCurrent | |
DeleteStack |
Definition at line 437 of file crsrsh.hxx.
SwCursorShell::SwCursorShell | ( | SwDoc & | rDoc, |
vcl::Window * | pWin, | ||
const SwViewOption * | pOpt | ||
) |
default constructor
Definition at line 2978 of file crsrsh.cxx.
References SwNodes::GetEndOfContent(), SwDoc::GetNodes(), SwNodes::GoNext(), m_bAllProtect, m_bAutoUpdateCells, m_bBasicHideCursor, m_bCallChgLnk, m_bChgCallFlag, m_bGCAttr, m_bHasFocus, m_bIgnoreReadonly, m_bInCMvVisportChgd, m_bMacroExecAllowed, m_bOverwriteCursor, m_bSelTableCells, m_bSendAccessibleCursorEvents, m_bSetCursorInReadOnly, m_bSVCursorVis, m_bVisPortChgd, m_pCurrentCursor, m_pVisibleCursor, SwNode::StartOfSectionNode(), and SwVisibleCursor.
SwCursorShell::SwCursorShell | ( | SwCursorShell & | rShell, |
vcl::Window * | pInitWin | ||
) |
Copy constructor.
Copy cursor position and add it to the ring. All views of a document are in the ring of the shell.
Definition at line 2942 of file crsrsh.cxx.
References SwPaM::GetPoint(), SwPaM::GetPointContentNode(), IsMacroExecAllowed(), m_bAllProtect, m_bAutoUpdateCells, m_bBasicHideCursor, m_bCallChgLnk, m_bChgCallFlag, m_bGCAttr, m_bHasFocus, m_bIgnoreReadonly, m_bInCMvVisportChgd, m_bMacroExecAllowed, m_bOverwriteCursor, m_bSelTableCells, m_bSendAccessibleCursorEvents, m_bSetCursorInReadOnly, m_bSVCursorVis, m_bVisPortChgd, m_pCurrentCursor, m_pVisibleCursor, and SwVisibleCursor.
|
overridevirtual |
Definition at line 3023 of file crsrsh.cxx.
References CheckTableBoxContent(), ClearTableBoxContent(), SwShellCursor::GetNext(), SwPaM::GetPoint(), m_pBlockCursor, m_pCurrentCursor, m_pStackCursor, m_pTableCursor, m_pVisibleCursor, and sw::Ring< SwViewShell >::unique().
bool SwCursorShell::bColumnChange | ( | ) |
Definition at line 468 of file crsrsh.cxx.
References SwFrame::FindColFrame(), GetCurrFrame(), SwFrame::GetUpper(), and m_oldColFrame.
Referenced by SwView::StateStatusLine().
void SwCursorShell::BlockCursorToCursor | ( | ) |
Definition at line 903 of file crsrsh.cxx.
References SwPaM::DeleteMark(), SwPaM::GetMark(), SwPaM::GetPoint(), SwBlockCursor::getShellCursor(), SwPaM::HasMark(), HasSelection(), m_pBlockCursor, m_pCurrentCursor, and SwShellCursor::SetMark().
Referenced by SwWrtShell::LeaveBlockMode().
void SwCursorShell::CallChgLnk | ( | ) |
Definition at line 2544 of file crsrsh.cxx.
References SwViewShell::ActionPend(), Link< typename Arg, typename Ret >::Call(), Link< typename Arg, typename Ret >::IsSet(), m_aChgLnk, m_bCallChgLnk, and m_bChgCallFlag.
Referenced by SwEditShell::DelNumRules(), SwEditShell::DelSectionFormat(), SwWrtShell::Do(), SwEditShell::DontExpandFormat(), SwEditShell::DoSpecialInsert(), SwFEShell::EndAllActionAndCall(), SwBaseShell::Execute(), SwFrameShell::Execute(), SwFEShell::GotoObj(), SwCallLink::ImplDestroy(), SwEditShell::NumUpDown(), SwTransferable::PasteFileContent(), SwWrtShell::PushCursor(), SwEditShell::ResetAttr(), SwFEShell::SelectObj(), SetCursor(), SwFEShell::SetFlyPos(), SwEditShell::SetFootnoteInfo(), SwFEShell::SetObjRect(), SwEditShell::SetSectionAttr_(), SwClientNotify(), UpdateCursor(), and SwEditShell::UpdateSection().
|
private |
Definition at line 48 of file trvlfnfl.cxx.
References CHKRANGE, getShellCursor(), READONLY, SCROLLWIN, and UpdateCursor().
Referenced by GotoFootnoteText(), GotoNextFootnoteAnchor(), and GotoPrevFootnoteAnchor().
|
private |
Definition at line 35 of file trvlfnfl.cxx.
References CHKRANGE, READONLY, SCROLLWIN, and UpdateCursor().
Referenced by GoEndSentence(), GoEndWord(), GoNextSentence(), GoNextWord(), GoPrevWord(), GoStartSentence(), and GoStartWord().
bool SwCursorShell::CheckTableBoxContent | ( | const SwPosition * | pPos = nullptr | ) |
Definition at line 804 of file trvltbl.cxx.
References ShellResource::aCalc_Error, SwDoc::ChkBoxNumFormat(), ClearTableBoxContent(), EndAction(), SwNode::EndOfSectionIndex(), SwNode::FindSttNodeByType(), SwNode::FindTableNode(), SwViewShell::GetDoc(), SwTableBox::GetFrameFormat(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwShellCursor::GetNext(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwViewShell::GetShellRes(), SwNode::GetStartNode(), SwStartNode::GetStartNodeType(), SwTableNode::GetTable(), SwTable::GetTableBox(), SwTextNode::GetText(), SwPaM::HasMark(), IsAutoUpdateCells(), IsSelTableCells(), m_pBoxIdx, m_pBoxPtr, m_pCurrentCursor, RES_BOXATR_FORMULA(), StartAction(), and SwTableBoxStartNode.
Referenced by SaveTableBoxContent(), UpdateCursor(), and ~SwCursorShell().
|
inline |
Definition at line 775 of file crsrsh.hxx.
Referenced by SwEditWin::MouseButtonDown(), SwWrtShell::MoveCursor(), and SwEditWin::SelectMenuPosition().
void SwCursorShell::ClearMark | ( | ) |
Definition at line 939 of file crsrsh.cxx.
References SwPaM::DeleteMark(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), sw::Ring< value_type >::GetRingContainer(), SwPaM::HasMark(), m_nCursorMove, m_pCurrentCursor, and m_pTableCursor.
Referenced by SwWrtShell::BwdPara_(), SwWrtShell::BwdSentence_(), SwHHCWrapper::ChangeText(), SwAccessibleTable::clearAccessibleSelection(), SwOneExampleFrame::ClearDocument(), SwWrtShell::CloseMark(), SwHTMLParser::Continue(), SwInsertDBColAutoPilot::DataToDoc(), SwInputWindow::DelBoxContent(), sw::annotation::SwAnnotationWin::Delete(), SwEditShell::DeleteGlobalDocContent(), SwWrtShell::DelLeft(), SwWrtShell::DelLine(), SwWrtShell::DelNxtWord(), SwWrtShell::DelPrvWord(), SwWrtShell::DelRight(), SwWrtShell::DelToEndOfSentence(), SwWrtShell::EndWrd(), SwWrtShell::EnterExtMode(), SwWrtShell::EnterStdMode(), SwContentTree::ExecCommand(), SwTextShell::ExecField(), SwBaseShell::Execute(), SwTextShell::Execute(), SwBreakDashedLine::execute(), SwContentTree::ExecuteContextMenuAction(), FindValidContentNode(), SwWrtShell::FwdPara_(), SwWrtShell::FwdSentence_(), SwFEShell::GotoFly(), SwEditShell::GotoGlobalDocContent(), sw::UndoManager::impl_DoUndoRedo(), SwFieldEditDlg::Init(), SwWrtShell::Insert(), SwWrtShell::InsertField2(), SwWrtShell::InsertFootnote(), SwEditShell::InsertGlobalDocContent(), SwTextShell::InsertSymbol(), SwEditShell::InsertURL(), SwWrtShell::IntelligentCut(), ItemSetToTableParam(), lcl_GrabCursor(), lcl_OutlineUpDownWithSubPoints(), lcl_SelectSameStrings(), lcl_TableParamToItemSet(), SwEditShell::MoveGlobalDocContent(), SwNavigationPI::MoveOutline(), SwWrtShell::NxtWrd_(), SwWrtShell::NxtWrdForDelete(), SwFEShell::ProtectCells(), SwWrtShell::PrvWrd_(), SwWrtShell::PrvWrdForDelete(), SwInputFieldList::PushCursor(), SwEditShell::Redo(), SwHHCWrapper::ReplaceUnit(), SwWrtShell::ResetSelect(), SwWrtShell::SearchAttr(), SwWrtShell::SearchPattern(), SwWrtShell::SearchTempl(), SwAccessibleContext::Select(), SwFEShell::SelectFlyFrame(), SwFEShell::SelectObj(), SwFEShell::SelFlyGrabCursor(), SwWrtShell::SelPara(), SwWrtShell::SelSentence(), SwWrtShell::SetCursor(), SetCursorInHdFt(), SwEditWin::SetCursorTwipPosition(), SetReadOnlyAvailable(), SwInsertDBColAutoPilot::SetTabSet(), SwWrtShell::SttLeaveSelect(), SwWrtShell::SttWrd(), sw_CharDialogResult(), SwDoc::TableToText(), SwEditShell::TableToText(), SwFEShell::ToggleHeaderFooterEdit(), SwEditShell::Undo(), SwAccessibleTable::unselectColumn(), SwAccessibleTable::unselectRow(), and SwDropCapsPict::UpdatePaintSettings().
void SwCursorShell::ClearTableBoxContent | ( | ) |
Definition at line 906 of file trvltbl.cxx.
References m_pBoxIdx, and m_pBoxPtr.
Referenced by SwEditShell::AppendTextNode(), CheckTableBoxContent(), SwBaseShell::Execute(), SwEditShell::Redo(), SwEditShell::SetTableBoxFormulaAttrs(), SwEditShell::SplitNode(), SwEditShell::Undo(), and ~SwCursorShell().
void SwCursorShell::ClearUpCursors | ( | ) |
Definition at line 3593 of file crsrsh.cxx.
References SwPaM::DeleteMark(), GetCursor(), SwViewShell::GetDoc(), SwNodes::GetEndOfContent(), SwPaM::GetMark(), SwPaM::GetNext(), SwPosition::GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwNodes::GoNext(), SwNodes::GoPrevious(), SwPaM::HasMark(), SwNode::IsTableNode(), lcl_CursorOk(), lcl_NodeContext(), m_pTableCursor, SwNode::StartOfSectionNode(), sw_PosOk(), and TableCursorToCursor().
Referenced by SwOneExampleFrame::ClearDocument(), CreateCursor(), and UpdateCursor().
void SwCursorShell::Combine | ( | ) |
Combine two cursors.
Delete topmost from stack and use its GetMark in the current.
Definition at line 2347 of file crsrsh.cxx.
References ChangePos, CheckNodesRange(), SwPaM::GetMark(), SwShellCursor::GetNext(), SwPosition::GetNode(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), SwPaM::HasMark(), SwCursor::IsInProtectTable(), SwCursor::IsSelOvr(), m_pCurrentCursor, m_pStackCursor, sw::Ring< value_type >::MoveTo(), Toggle, and UpdateCursor().
Referenced by SwWrtShell::BwdPara_(), SwWrtShell::BwdSentence_(), SwWrtShell::EndWrd(), SwWrtShell::ExtSelWrd(), SwWrtShell::FwdPara_(), SwWrtShell::FwdSentence_(), SwWrtShell::NxtWrd_(), SwWrtShell::NxtWrdForDelete(), SwWrtShell::PrvWrd_(), SwWrtShell::PrvWrdForDelete(), and SwWrtShell::SttWrd().
|
protected |
Definition at line 1054 of file crsrsh.cxx.
References GetCursor(), SwPaM::GetPoint(), and m_pStackCursor.
Referenced by SwWrtShell::ExtSelWrd().
SwPaM * SwCursorShell::CreateCursor | ( | ) |
delete the current cursor and make the following into the current
Add a copy of current cursor, append it after current, and collapse current cursor.
Definition at line 123 of file crsrsh.cxx.
References ClearUpCursors(), SwPaM::DeleteMark(), IsTableMode(), m_pCurrentCursor, SCROLLWIN, SwSelPaintRects::swapContent(), and UpdateCursor().
Referenced by SwWrtShell::AddLeaveSelect(), SwAccessibleParagraph::addSelection(), SwJavaEditDialog::CheckTravel(), CreateNewShellCursor(), SwWrtShell::EnterAddMode(), GotoRedline(), SwHandleAnchorNodeChg::ImplDestroy(), SwFieldEditDlg::Init(), SwTransferable::PrepareForCopy(), SetSelection(), and SwTextShell::StateInsert().
|
overridevirtual |
Create and return a new shell cursor.
Simply returns the current shell cursor if there is no selection (HasSelection()).
Implements sw::IShellCursorSupplier.
Definition at line 172 of file crsrsh.cxx.
References CreateCursor(), GetCursor(), and HasSelection().
SwTextContentControl * SwCursorShell::CursorInsideContentControl | ( | ) | const |
Definition at line 970 of file crstrvl.cxx.
References SwPosition::GetContentIndex(), GetCursor(), SwPosition::GetNode(), sw::Ring< SwViewShell >::GetRingContainer(), SwTextNode::GetTextAttrAt(), SwNode::GetTextNode(), nIndex, sw::Parent, and RES_TXTATR_CONTENTCONTROL().
Referenced by SwTextShell::ExecInsert(), SwTextShell::GetState(), SwWrtShell::Insert(), and SwEditWin::KeyInput().
bool SwCursorShell::CursorInsideInputField | ( | ) | const |
Definition at line 960 of file crstrvl.cxx.
References GetCursor(), sw::Ring< SwViewShell >::GetRingContainer(), GetTextFieldAtCursor(), and sw::Parent.
Referenced by SwEditShell::Delete(), SwFieldEditDlg::EnsureSelection(), SwBaseShell::ExecClpbrd(), SwTextShell::ExecInsert(), SwTextShell::Execute(), SwGrfShell::GetAttrState(), SwTextShell::GetIdxState(), SwBaseShell::GetState(), SwListShell::GetState(), SwTableShell::GetState(), SwTextShell::GetState(), IsCursorReadonly(), SwEditWin::KeyInput(), SwEditWin::MouseButtonDown(), SwBaseShell::StateClpbrd(), SwTextShell::StateField(), SwTextShell::StateInsert(), and SwEditWin::UpdatePointer().
void SwCursorShell::CursorToBlockCursor | ( | ) |
leave block mode, change block cursor into normal cursor
Definition at line 920 of file crsrsh.cxx.
References SwBlockCursor::clearPoints(), SwPaM::GetMark(), SwShellCursor::GetMkPos(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), SwBlockCursor::getShellCursor(), SwPaM::HasMark(), m_pBlockCursor, m_pCurrentCursor, RefreshBlockCursor(), 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.
Definition at line 151 of file crsrsh.cxx.
References SwShellCursor::GetNext(), SwPaM::IsMultiSelection(), IsTableMode(), m_pCurrentCursor, and UpdateCursor().
Referenced by SwJavaEditDialog::CheckTravel(), SwWrtShell::ExtSelLn(), SwWrtShell::ExtSelWrd(), SwHandleAnchorNodeChg::ImplDestroy(), SwFieldEditDlg::Init(), SwTransferable::PrivateDrop(), and SwTextShell::StateInsert().
bool SwCursorShell::DocPtInsideInputField | ( | const Point & | rDocPt | ) | const |
Definition at line 996 of file crstrvl.cxx.
References GetCursor(), SwViewShell::GetLayout(), Point, PosInsideInputField(), and Start.
Referenced by SwEditWin::GetDropDestination().
|
inline |
|
overridevirtual |
Reimplemented from SwViewShell.
Definition at line 3682 of file crsrsh.cxx.
References SwViewShell::dumpAsXml(), sw::Ring< value_type >::GetRingContainer(), and m_pCurrentCursor.
void SwCursorShell::EndAction | ( | const bool | bIdleEnd = false | ) |
Definition at line 243 of file crsrsh.cxx.
References SwViewShell::ActionPend(), Link< typename Arg, typename Ret >::Call(), CHKRANGE, SwViewShell::EndAction(), ExtendedSelectedAll(), SwViewShell::GetDoc(), SwShellCursor::Hide(), SwViewShell::Imp(), Link< typename Arg, typename Ret >::IsSet(), m_aChgLnk, m_bCallChgLnk, m_bChgCallFlag, m_bInCMvVisportChgd, m_bSVCursorVis, SwCallLink::m_nContent, m_nCurrentContent, m_nCurrentNdTyp, m_nCurrentNode, m_nCursorMove, m_nLeftFramePos, SwCallLink::m_nLeftFramePos, SwCallLink::m_nNode, SwCallLink::m_nNodeType, m_pCurrentCursor, m_pVisibleCursor, SwViewShell::mbSelectAll, SwViewShell::mnStartAction, SCROLLWIN, SwVisibleCursor::Show(), ShowCursors(), StartsWithTable(), UpdateCursor(), and SwDoc::UpdateNumRule().
Referenced by SwAccessibleParagraph::addSelection(), SwInsFootNoteDlg::Apply(), SwEditShell::ApplyChangedSentence(), SwEditShell::ApplyViewOptions(), SwWrtShell::AutoUpdateFrame(), SwWrtShell::AutoUpdatePara(), SwRedlineAcceptDlg::CallAcceptReject(), CheckTableBoxContent(), SwJavaEditDialog::CheckTravel(), SwAccessibleTable::clearAccessibleSelection(), SwFormatClipboard::Copy(), SwContentTree::DeleteOutlineSelections(), SwAccessibleTable::deselectAccessibleChild(), SwContentTree::EditEntry(), SwFEShell::EndAllActionAndCall(), EndCursorMove(), SwDrawShell::ExecDrawDlg(), SwTextShell::ExecField(), SwTextShell::ExecParaAttrArgs(), SwView::ExecTabWin(), SwSpellPopup::Execute(), SwBaseShell::Execute(), SwTableShell::Execute(), SwTextShell::Execute(), SwDrawBaseShell::Execute(), SwGlobalTree::ExecuteContextMenuAction(), SwBaseShell::ExecuteGallery(), SwView::ExecViewOptions(), SwFEShell::GetConnectableFrameFormats(), IMPL_LINK(), IMPL_LINK_NOARG(), SwFieldEditDlg::Init(), SwInsFootNoteDlg::Init(), SwWrtShell::InsertContentControl(), SwFieldMgr::InsertField(), SwView::InsertGraphic(), SwView::InsertGraphicDlg(), SwTextShell::InsertHyperlink(), SwBaseShell::InsertRegionDialog(), SwBaseShell::InsertURLButton(), IsTableComplexForChart(), lcl_SetAllTextToDefaultLanguage(), SwWrtShell::MakeAllFoldedOutlineContentVisible(), SwOutlineTabDialog::Ok(), SwFormatClipboard::Paste(), SwTransferable::PrivateDrop(), SwAccessibleTable::selectAccessibleChild(), SwWrtShell::SelectNextPrevHyperlink(), SwFEShell::SelectObj(), SetBookmark(), SetBookmark2(), SwWrtShell::SetInsMode(), SwLangHelper::SetLanguageStatus(), SetSelection(), SetShadowCursorPos(), SwEditShell::SpellContinue(), SwEditShell::SpellSentence(), SwTextShell::StateInsert(), sw_CharDialog(), sw_CharDialogResult(), sw_ParagraphDialogResult(), SwRootFrame::UnoRemoveAllActions(), SwAccessibleTable::unselectColumn(), SwAccessibleTable::unselectRow(), SwWordCountFloatDlg::UpdateCounts(), and SwActContext::~SwActContext().
bool SwCursorShell::EndAllTableBoxEdit | ( | ) |
Definition at line 913 of file trvltbl.cxx.
References sw::Ring< SwViewShell >::GetRingContainer().
Referenced by SwDocShell::ConvertTo(), SwBaseShell::Execute(), SwTextShell::Execute(), SwDocShell::Save(), SwDocShell::SaveAs(), and SwEditShell::UpdateTable().
void SwCursorShell::EndCursorMove | ( | const bool | bIdleEnd = false | ) |
Definition at line 310 of file crsrsh.cxx.
References EndAction(), m_bInCMvVisportChgd, and m_nCursorMove.
Referenced by SwEditWin::Command(), SwBaseShell::ExecDelete(), SwEditShell::GotoGlobalDocContent(), SwIndexMarkPane::InitControls(), SwWrtShell::SimpleMove(), SwLayIdle::SwLayIdle(), SwIndexMarkPane::UpdateDialog(), SwDropCapsPict::UpdatePaintSettings(), and SwMvContext::~SwMvContext().
|
static |
Definition at line 1015 of file crstrvl.cxx.
References sw::Default, SwTextAttr::End(), and GetTextFieldAtPos().
Referenced by SwDoc::ConvertFieldsToText(), and SwTextShell::ExecField().
void SwCursorShell::ExpandToSentenceBorders | ( | ) |
Definition at line 88 of file crstrvl1.cxx.
References SwCursor::ExpandToSentenceBorders(), SwViewShell::GetLayout(), and m_pCurrentCursor.
Referenced by SwSpellDialogChildWindow::GetNextWrongSentence().
void SwCursorShell::ExtendedSelectAll | ( | bool | bFootnotes = true | ) |
Definition at line 594 of file crsrsh.cxx.
References SwPosition::Assign(), SwPosition::AssignEndIndex(), SwViewShell::GetDoc(), SwNodes::GetEndOfAutotext(), SwNodes::GetEndOfContent(), SwNodes::GetEndOfPostIts(), SwPaM::GetMark(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwNodes::GoNext(), SwNodes::GoPrevious(), and m_pCurrentCursor.
Referenced by SwTextShell::Execute(), lcl_SetAllTextToDefaultLanguage(), SwWrtShell::SelAll(), and SwLangHelper::SetLanguageStatus().
bool SwCursorShell::ExtendedSelectedAll | ( | ) |
If ExtendedSelectAll() was called and selection didn't change since then.
Definition at line 607 of file crsrsh.cxx.
References SwPaM::End(), SwViewShell::GetDoc(), SwNodes::GetEndOfAutotext(), SwNodes::GetEndOfContent(), SwDoc::GetNodes(), getShellCursor(), SwNodes::GoNext(), SwNodes::GoPrevious(), SwContentNode::Len(), and SwPaM::Start().
Referenced by SwEditShell::CopySelToDoc(), SwEditShell::DeleteSel(), EndAction(), SwFEShell::InsertRow(), lcl_TableParamToItemSet(), sw::NotifyTableCollapsedParagraph(), Paint(), and ShellGetFocus().
bool SwCursorShell::ExtendSelection | ( | bool | bEnd = true , |
sal_Int32 | nCount = 1 |
||
) |
extend current SSelection by n characters
bEnd | Start counting from the end? From start otherwise. |
nCount | Number of characters. |
Definition at line 2641 of file crsrsh.cxx.
References SwPaM::End(), SwPosition::GetContentIndex(), SwPosition::GetNode(), SwTextNode::GetText(), SwNode::GetTextNode(), SwPaM::HasMark(), IsTableMode(), m_pCurrentCursor, nCount, nPos, SwPosition::SetContent(), SwPaM::Start(), and UpdateCursor().
Referenced by GetSmartTagRect(), SwEditShell::HandleCorrectionError(), SwTextShell::InsertSymbol(), SwEditShell::InsertURL(), SwEditWin::KeyInput(), SwTransferable::PrivateDrop(), and sw_CharDialogResult().
sal_Int32 SwCursorShell::Find_Text | ( | const i18nutil::SearchOptions2 & | rSearchOpt, |
bool | bSearchInNotes, | ||
SwDocPositions | eStart, | ||
SwDocPositions | eEnd, | ||
bool & | bCancel, | ||
FindRanges | eRng, | ||
bool | bReplace = false |
||
) |
Definition at line 3472 of file crsrsh.cxx.
References SwCursor::Find_Text(), GetCursor(), SwViewShell::GetLayout(), m_pCurrentCursor, m_pTableCursor, and UpdateCursor().
Referenced by SwEditShell::ApplyAutoMark(), lcl_SelectSameStrings(), and SwWrtShell::SearchPattern().
sal_Int32 SwCursorShell::FindAttrs | ( | const SfxItemSet & | rSet, |
bool | bNoCollections, | ||
SwDocPositions | eStart, | ||
SwDocPositions | eEnd, | ||
bool & | bCancel, | ||
FindRanges | eRng, | ||
const i18nutil::SearchOptions2 * | pSearchOpt, | ||
const SfxItemSet * | rReplSet | ||
) |
Definition at line 3509 of file crsrsh.cxx.
References SwCursor::FindAttrs(), GetCursor(), SwViewShell::GetLayout(), m_pCurrentCursor, m_pTableCursor, rSet, and UpdateCursor().
Referenced by SwWrtShell::SearchAttr().
sal_Int32 SwCursorShell::FindFormat | ( | const SwTextFormatColl & | rFormatColl, |
SwDocPositions | eStart, | ||
SwDocPositions | eEnd, | ||
bool & | bCancel, | ||
FindRanges | eRng, | ||
const SwTextFormatColl * | pReplFormat | ||
) |
Definition at line 3491 of file crsrsh.cxx.
References SwCursor::FindFormat(), GetCursor(), m_pCurrentCursor, m_pTableCursor, and UpdateCursor().
Referenced by SwWrtShell::SearchTempl().
const SwFormatINetFormat * SwCursorShell::FindINetAttr | ( | std::u16string_view | rName | ) | const |
Definition at line 2141 of file crstrvl.cxx.
References SwViewShell::mxDoc.
bool SwCursorShell::FindValidContentNode | ( | bool | bOnlyText | ) |
search a valid content position (not protected/hidden)
Definition at line 3125 of file crsrsh.cxx.
References SwPosition::Assign(), ClearMark(), SwNode::EndOfSectionNode(), SwNode::FindSectionNode(), SwNode::FindTableNode(), fnMoveBackward, fnMoveForward, SwNode::GetContentNode(), SwViewShell::GetDoc(), SwNodes::GetEndOfContent(), SwNodes::GetEndOfExtras(), SwNodes::GetEndOfPostIts(), SwNode::GetIndex(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetMark(), SwRootFrame::GetModelPositionForViewPoint(), SwPosition::GetNode(), GetNode(), SwPosition::GetNodeIndex(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwShellCursor::GetPtPos(), SwSectionNode::GetSection(), GoInContent(), SwNodes::GoNextSection(), SwNodes::GoPrevSection(), SwPaM::HasMark(), SwSection::IsHiddenFlag(), SwCursor::IsInProtectTable(), SwNode::IsNoTextNode(), SwNode::IsProtect(), SwFrame::IsProtected(), SwSection::IsProtectFlag(), IsReadOnlyAvailable(), SwContentNode::Len(), m_bAllProtect, SwCursorMoveState::m_bSetInReadOnly, SwCallLink::m_nNodeType, m_pCurrentCursor, m_pTableCursor, SwPaM::Move(), SwViewShell::mxDoc, NONE, SwPosition::SetContent(), SwPaM::SetMark(), and SwNode::StartOfSectionNode().
Referenced by SetCursor(), and UpdateCursor().
|
static |
Definition at line 446 of file crsrsh.cxx.
References SwViewShell::Imp().
Referenced by SwView::StateStatusLine().
|
static |
Definition at line 435 of file crsrsh.cxx.
References SwViewShell::Imp().
Referenced by SwView::StateStatusLine().
|
static |
Definition at line 457 of file crsrsh.cxx.
References SwViewShell::Imp().
Referenced by SwView::StateStatusLine().
OUString SwCursorShell::GetBoxNms | ( | ) | const |
Definition at line 743 of file trvltbl.cxx.
References SwPaM::End(), SwNode::GetContentNode(), GetCursor(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPosition::GetNode(), SwPaM::GetPoint(), SwFrame::GetUpper(), SwFrame::IsCellFrame(), IsCursorInTable(), IsTableMode(), m_pTableCursor, and SwPaM::Start().
Referenced by SwTextShell::ExecInsert(), IsTableComplexForChart(), SwInputWindow::ShowWin(), SwView::StateStatusLine(), and SwInsertChart::SwInsertChart().
sal_Unicode SwCursorShell::GetChar | ( | bool | bEnd = true , |
tools::Long | nOffset = 0 |
||
) |
get the nth character of the current SSelection
bEnd | Start counting from the end? From start otherwise. |
nOffset | position of the character |
Definition at line 2615 of file crsrsh.cxx.
References SwPaM::End(), SwPosition::GetContentIndex(), SwPosition::GetNode(), SwPaM::GetPoint(), SwTextNode::GetText(), SwNode::GetTextNode(), SwPaM::HasMark(), IsTableMode(), m_pCurrentCursor, nPos, and SwPaM::Start().
Referenced by SwWrtShell::DelLeft(), SwTextShell::Execute(), SwWrtShell::IntelligentCut(), and SwEditWin::KeyInput().
|
inline |
Definition at line 532 of file crsrsh.hxx.
Referenced by SwFEShell::CheckUnboundObjects(), SwEditWin::Command(), SwWrtShell::Do(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwFEShell::GetBestObject(), SwAccessibleParagraph::getNumberOfLineWithCaret(), SwView::GetPageScrollUpOffset(), SwXTextViewCursor::getPosition(), SwFEShell::GotoFly(), SwMailMergeLayoutPage::InsertGreeting(), SwBaseShell::InsertURLButton(), SwFEShell::Paste(), SwTransferable::PrivatePaste(), SwWrtShell::PushCursor(), SwWrtShell::SelectNextPrevHyperlink(), SwFEShell::SelFlyGrabCursor(), and QuickHelpData::Start().
void SwCursorShell::GetCharRectAt | ( | SwRect & | rRect, |
const SwPosition * | pPos | ||
) |
Definition at line 1203 of file crsrsh.cxx.
References SwFrame::GetCharRect(), and GetCurrFrame().
Referenced by SwEditWin::Command().
|
inline |
Definition at line 500 of file crsrsh.hxx.
Referenced by SwTransferable::PasteFileContent(), SwWrtShell::ResetSelect(), and sw::sidebar::WriterInspectorTextPanel::WriterInspectorTextPanel().
bool SwCursorShell::GetContentAtPos | ( | const Point & | rPt, |
SwContentAtPos & | rContentAtPos, | ||
bool | bSetCursor = false , |
||
SwRect * | pFieldRect = nullptr |
||
) |
Definition at line 1299 of file crstrvl.cxx.
References SwContentAtPos::aFnd, SwPosition::Assign(), aStr, SwRect::Bottom(), SwRangeRedline::CalcStartEnd(), CheckNodeSection, ClickField, COMPLETE_STRING, SwRect::Contains(), ContentCheck, ContentControl, Count, SfxItemSet::Count(), CurrAttrs, SwPaM::DeleteMark(), SfxItemSet::Differentiate(), SwTextAttr::DontExpand(), SwContentAtPos::eContentAtPos, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), End, SwTextAttr::End(), ExpandFootnote, Field, SwNode::FindTableBoxStartNode(), SwNode::FindTableNode(), FormControl, Ftn, SwpHints::Get(), SwTOXMark::GetAlternativeText(), SwTextAttr::GetAttr(), SwDoc::GetAttrPool(), SwViewShell::GetAttrPool(), SwFrame::GetCharRect(), SwContentNode::GetCondFormatColl(), SwPosition::GetContentIndex(), SfxItemIter::GetCurItem(), SwViewShell::GetDoc(), SwTextAttr::GetEnd(), SwTextNode::GetExpandText(), sw::GetExpandTextMerged(), SwFormatField::GetField(), IDocumentMarkAccess::getFieldmarkFor(), SwTextNode::GetFieldTextAttrAt(), SwContentNode::GetFormatColl(), SwTextAttr::GetFormatField(), SwFrameAreaDefinition::getFrameArea(), SwTableBox::GetFrameFormat(), SwFrameAreaDefinition::getFramePrintArea(), SwDoc::getIDocumentMarkAccess(), SwDoc::getIDocumentRedlineAccess(), SwNode::GetIndex(), SwTextAttr::GetINetFormat(), SwFormat::GetItemIfSet(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwRootFrame::GetModelPositionForViewPoint(), SwFormat::GetName(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwDoc::GetNodes(), SwNodes::GetOutLineNds(), sw::GetParaPropsNode(), SwPaM::GetPoint(), SfxItemPool::GetPresentation(), SwContentNode::GetpSwAttrSet(), SwTextNode::GetpSwpHints(), IDocumentRedlineAccess::GetRedline(), IDocumentRedlineAccess::GetRedlineTable(), SwTableLine::GetRedlineType(), SwTextNode::GetSmartTags(), SwTextAttr::GetStart(), GetStartNode(), SwContentNode::GetSwAttrSet(), SwTextNode::GetSwpHints(), SwTableNode::GetTable(), SwTable::GetTableBox(), SwTextNode::GetTextAttrAt(), SwTextNode::GetTextAttrForCharAt(), SwTextNode::GetTextAttrsAt(), SwNode::GetTextNode(), SwTextAttr::GetTOXMark(), SwTableBox::GetUpper(), SwFrame::GetUpper(), SwFormatINetFormat::GetValue(), SwViewShell::GetWin(), SwWrongList::GetWrongPos(), SwNodes::GoNextSection(), GotoFootnoteAnchor(), SwField::HasClickHdl(), SwContentNode::HasSwAttrSet(), i, index, InetAttr, SwWrongList::InWrongWord(), SwFrame::IsCellFrame(), SwTableFormula::IsIntrnlName(), IsInvalidItem(), IsReadOnlyAvailable(), SwCursor::IsSelOvr(), SwTextNode::IsSymbolAt(), IsTableMode(), JumpEdit, SwRect::Left(), SwTextNode::Len(), vcl::Window::LogicToPixel(), SwCursorMoveState::m_bContentCheck, SwCursorMoveState::m_bExactOnly, SwCursorMoveState::m_bFieldInfo, SwCursorMoveState::m_bFootnoteNoInfo, SwCursorMoveState::m_bInNumPortion, SwCursorMoveState::m_bPosCorr, SwCursorMoveState::m_bSetInReadOnly, SwCursorMoveState::m_nInNumPortionOffset, m_pCurrentCursor, SwCursorMoveState::m_pSpecialPos, n, SwSpecialPos::nCharOfst, SwContentAtPos::nDist, SfxItemIter::NextItem(), nIndex, NONE, nPos, SwRedlineTable::npos, NumLabel, Outline, sw::Parent, SwContentAtPos::pAttr, SwContentAtPos::pField, SwContentAtPos::pFieldmark, SwContentAtPos::pFndTextAttr, SwContentAtPos::pNode, Point, POOLATTR_BEGIN(), POOLATTR_END(), SwRect::Pos(), SwContentAtPos::pRedl, SwTableFormula::PtrToBoxNm(), Redline, RefMark, RES_BOXATR_FORMULA(), RES_BOXATR_VALUE(), RES_TXTATR_CONTENTCONTROL(), RES_TXTATR_FTN(), RES_TXTATR_INETFMT(), RES_TXTATR_REFMARK(), RES_TXTATR_TOXMARK(), SwRect::Right(), SwOutlineNodes::Seek_Entry(), SmartTag, SwContentAtPos::sStr, SwWrongList::SubList(), Table, TableBoxFml, TableBoxValue, TableRedline, Toggle, SwRect::Top(), ToxMark, SwRect::Union(), UpdateCursor(), SwTableLine::UpdateTextChangesOnly(), SwField::Which(), SwTextAttr::Which(), and Size::Width().
Referenced by SwEditWin::AcceptDrop(), SwTransferable::GetData(), SwFEShell::GetNumRuleNodeAtPos(), SwFEShell::IsNumLabel(), lcl_urlOverBackground(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwEditWin::MouseMove(), SwEditWin::RequestHelp(), sw::sidebarwindows::SidebarTextControl::RequestHelp(), SwTransferable::SetDataForDragAndDrop(), SwEditWin::StartDrag(), SwReadOnlyPopup::SwReadOnlyPopup(), SwEditWin::UpdatePointer(), and SwContentTree::UpdateTracking().
SwField * SwCursorShell::GetCurField | ( | const bool | bIncludeInputFieldAtStart = false | ) | const |
Definition at line 939 of file crstrvl.cxx.
References GetCursor(), GetFieldAtCursor(), SwTableNode::GetTable(), SwField::GetTyp(), IsCursorInTable(), SwPaM::IsMultiSelection(), Table, and SwFieldType::Which().
Referenced by SwTextShell::ExecField(), SwBaseShell::Execute(), SwTextShell::Execute(), SwFieldMgr::GetCurField(), SwTextShell::GetIdxState(), SwTextShell::GetState(), IMPL_LINK(), SwAuthorMarkPane::InitControls(), lcl_GetScrollToolTip(), SwEditWin::MouseButtonDown(), SwTextShell::StateField(), SwWrtShell::UpdateInputFields(), SwEditWin::UpdatePointer(), and SwContentTree::UpdateTracking().
sw::mark::IFieldmark * SwCursorShell::GetCurrentFieldmark | ( | ) |
Definition at line 286 of file crbm.cxx.
References GetCursor(), IDocumentMarkAccess::getFieldmarkFor(), SwViewShell::getIDocumentMarkAccess(), pos, and Start.
Referenced by SwEditWin::KeyInput().
|
overridevirtual |
Return the current shell cursor.
SwPaM
shell cursor Implements sw::IShellCursorSupplier.
Definition at line 185 of file crsrsh.cxx.
References GetCursor().
Referenced by SwXTextView::createTextRangeByPixelPosition(), SwWrtShell::DelRight(), SwContentTree::ExecuteContextMenuAction(), SwHandleAnchorNodeChg::ImplDestroy(), SwWrtShell::InsertField2(), SwWrtShell::InsertPostIt(), SwEditWin::IsOverHeaderFooterFly(), SwEditWin::MouseButtonDown(), and SwGrfShell::SwExternalToolEdit::Update().
SwContentFrame * SwCursorShell::GetCurrFrame | ( | const bool | bCalcFrame = true | ) | const |
Get current frame in which the cursor is positioned.
Definition at line 2469 of file crsrsh.cxx.
References SwViewShell::GetDocSize(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwShellCursor::GetPtPos(), m_pCurrentCursor, SwViewShell::mnStartAction, and SwViewShell::SizeChgNotify().
Referenced by bColumnChange(), SwFEShell::CalcBoundRect(), SwFEShell::CanUnProtectCells(), SwFEShell::CheckHeadline(), SwFEShell::ChgCurPageDesc(), SwFEShell::DeleteCol(), SwFEShell::DeleteRow(), SwFEShell::DeleteTableSel(), SwFEShell::FindAnchorPos(), SwFEShell::GetAnyCurRect(), SwEditShell::GetAnySection(), SwFEShell::GetAutoSum(), SwFEShell::GetBestObject(), GetCharRectAt(), SwFEShell::GetCurColNum(), SwFEShell::GetCurOutColNum(), SwFEShell::GetCurPageDesc(), SwFEShell::GetCurrFlyFrame(), SwFEShell::GetCurTabColNum(), SwAccessibleDocument::getExtendedAttributes(), SwFEShell::GetFrameType(), SwEditShell::GetGraphicAttr(), GetPageNum(), SwFEShell::GetPageNumber(), GetPageNumSeqNonEmpty(), SwFEShell::GetPageOffset(), SwFEShell::GetPhyPageNum(), SwFEShell::GetRowsToRepeat(), SwFEShell::GetSectionWidth(), GetSelText(), SwFEShell::GetTabBackground(), SwFEShell::GetTabCols(), SwFEShell::GetTableAttr(), SwEditShell::GetTableBoxFormulaAttrs(), SwEditShell::GetTableBoxText(), SwFEShell::GetTabRows(), SwFEShell::GetVirtPageNum(), GotoFlyAnchor(), GotoFooterText(), GotoHeaderText(), SwFEShell::InsertCol(), SwFEShell::InsertLabel(), SwFEShell::InsertRow(), SwFEShell::IsAdjustCellWidthAllowed(), SwFEShell::IsColRightToLeft(), IsCursorReadonly(), SwFEShell::IsDirectlyInSection(), IsSelOnePara(), SwEditShell::IsTableBoxTextFormat(), SwFEShell::IsTableRightToLeft(), SwFEShell::IsTableVertical(), lcl_SetAPageOffset(), SwWrtShell::MakeAllFoldedOutlineContentVisible(), SwFEShell::MakeSelVisible(), MoveColumn(), SelTable(), SelTableBox(), SelTableRowOrCol(), sendLOKCursorUpdates(), SwFEShell::SetColRowWidthHeight(), SetCursorInHdFt(), SwFEShell::SetNewPageOffset(), SwFEShell::SetPageOffset(), SwFEShell::SetRowsToRepeat(), SwFEShell::SetTabBackground(), SwFEShell::SetTabCols(), SwFEShell::SetTableAttr(), SwEditShell::SetTableBoxFormulaAttrs(), SwFEShell::SetTabRows(), SwFEShell::Sort(), SwFEShell::SplitTab(), and SwFEShell::UnProtectCells().
SwCursor * SwCursorShell::GetCursor | ( | bool | bMakeTableCursor = true | ) | const |
Return pointer to the current shell cursor.
SwCursor
shell cursor Definition at line 194 of file crsrsh.cxx.
References SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetMark(), SwPaM::GetMarkContentNode(), SwPosition::GetNodeIndex(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwTableCursor::IsChgd(), SwTableCursor::IsCursorMovedUpdate(), m_pCurrentCursor, m_pTableCursor, SwTableCursor::MakeBoxSels(), and SwRootFrame::MakeTableCursors().
Referenced by SwEditShell::AcceptRedlinesInSelection(), SwFieldDlg::Activate(), SwWrtShell::addCurrentPosition(), SwDoc::AppendDoc(), SwEditShell::AppendTextNode(), SwEditShell::AppendUndoForInsertFromDB(), SwEditShell::ApplyChangedSentence(), SwEditShell::ApplyParagraphClassification(), SwEditShell::AutoFormat(), SwEditShell::AutoFormatBySplitNode(), SwWrtShell::AutoUpdatePara(), SwAccessibleMap::BuildSelectedParas(), SwEditShell::Calculate(), SwEditShell::CanMergeTable(), SwEditShell::CanSpecialInsert(), SwHHCWrapper::ChangeText(), SwHHCWrapper::ChangeText_impl(), CheckSplitCells(), SwFEShell::ChgCurPageDesc(), SwEditShell::ClassifyDocPerHighestParagraphClass(), SwEditShell::ClearAutomaticContour(), ClearUpCursors(), SwXTextViewCursor::collapseToEnd(), SwXTextViewCursor::collapseToStart(), SwEditShell::CollectParagraphClassification(), SwEditWin::Command(), CompareCursorStackMkCurrPt(), SwHTMLParser::Continue(), SwHHCWrapper::Convert(), SwEditShell::Copy(), SwFEShell::Copy(), SwFormatClipboard::Copy(), SwFEShell::CopyDrawSel(), SwEditShell::CopySelToDoc(), SwEditShell::CountWords(), SwEditShell::CreateExtTextInput(), CreateNewShellCursor(), CursorInsideContentControl(), CursorInsideInputField(), SwEditShell::Delete(), SwEditShell::DeleteExtTextInput(), SwEditShell::DeleteGlobalDocContent(), SwFEShell::DeleteRow(), SwEditShell::DelFullPara(), SwEditShell::DelINetAttrWithText(), SwWrtShell::DelLeft(), SwEditShell::DelNumRules(), SwWrtShell::DelRight(), SwAccessibleTable::deselectAccessibleChild(), DocPtInsideInputField(), SwEditShell::DontExpandFormat(), SwEditShell::DoSpecialInsert(), SwFieldDlg::EnableInsert(), SwTextShell::ExecCharAttrArgs(), SwBaseShell::ExecDelete(), SwTextShell::ExecField(), SwView::ExecSpellPopup(), SwTableShell::Execute(), SwTextShell::Execute(), SwXTextDocument::executeContentControlEvent(), SwXTextDocument::executeFromFieldEvent(), SwEditShell::FieldToText(), SwEditShell::FillByEx(), Find_Text(), FindAttrs(), FindFormat(), SwEditWin::FlushInBuffer(), SwEditShell::GCAttr(), SwFEShell::GetAnyCurRect(), SwEditShell::GetAnySection(), GetBoxNms(), SwEditShell::GetCntType(), SwEditShell::GetCorrection(), SwEditShell::GetCurAttr(), GetCurField(), SwEditShell::GetCurFootnote(), SwEditShell::GetCurLang(), SwEditShell::GetCurParAttr(), GetCurrentFieldmark(), SwEditShell::GetCurrentOutlineLevels(), SwEditShell::GetCurrentParaOutlineLevel(), GetCurrentShellCursor(), SwEditShell::GetCurrRedline(), SwEditShell::GetCurrSection(), SwAccessibleFrameBase::GetCursor(), SwAccessibleParagraph::GetCursor(), GetCursorCnt(), GetCursorDescr(), SwEditShell::GetCurTextFormatColl(), SwEditShell::GetCurTOX(), SwEditShell::GetCurTOXMarks(), SwEditShell::GetCurWord(), SwXTextViewCursor::GetDoc(), SwEditShell::GetDropText(), SwXTextViewCursor::getEnd(), SwAccessibleDocument::getExtendedAttributes(), GetFieldmarkAfter(), GetFieldmarkBefore(), SwSpellDialogChildWindow::GetFocus(), SwFEShell::GetFormatFromAnyObj(), SwFEShell::GetFrameType(), SwEditShell::GetFullSelectedSectionCount(), SwEditShell::GetGrammarCorrection(), SwEditShell::GetGraphicPolygon(), SwEditShell::GetGrfNode_(), SwEditShell::GetGrfSize(), SwEditShell::GetIMapGraphic(), SwEditShell::GetIMapInventor(), SwEditShell::GetItemWithPaM(), SwEditShell::GetLineCount(), SwVisibleCursor::getLOKPayload(), SwHHCWrapper::GetNextPortion(), SwSpellDialogChildWindow::GetNextWrongSentence(), SwEditShell::GetNodeNumStart(), SwEditShell::GetNumLevel(), SwEditShell::GetNumRuleAtCurrCursorPos(), SwEditShell::GetNumRuleAtCurrentSelection(), SwEditShell::GetOLEObject(), SwXTextViewCursor::getPage(), SwXTextViewCursor::GetPaM(), SwXTextViewCursor::getPropertyDefault(), SwXTextViewCursor::getPropertyState(), SwXTextViewCursor::getPropertyStates(), SwXTextViewCursor::getPropertyValue(), SwXTextView::getRubyList(), SwEditShell::GetScalingOfSelectedText(), SwEditShell::GetScriptType(), SwFEShell::GetSelectedPageDescs(), SwEditShell::GetSelectedText(), SwXTextView::getSelection(), SwWrtShell::GetSelectionType(), GetSmartTagRect(), GetSmartTagTerm(), SwXTextViewCursor::getStart(), SwXTextViewCursor::getString(), SwEditWin::GetSurroundingTextSelection(), SwFEShell::GetTableAutoFormat(), GetTableSel(), SwXTextViewCursor::getText(), SwLangHelper::GetTextForLanguageGuessing(), SwNavigationMgr::goBack(), GoNextBookmark(), GoPrevBookmark(), SwWrtShell::GotoDrawingObject(), SwInputFieldList::GotoFieldPos(), SwFEShell::GotoFly(), SwWrtShell::GotoFly(), SwWrtShell::GotoFootnoteAnchor(), SwWrtShell::GotoFormatField(), SwEditShell::GotoGlobalDocContent(), SwWrtShell::GotoINetAttr(), sw::AccessibilityIssue::gotoIssue(), SwWrtShell::GotoMark(), SwWrtShell::GotoNextTOXBase(), SwWrtShell::GotoOutline(), SwXTextViewCursor::gotoRange(), SwWrtShell::GotoRedline(), SwWrtShell::GotoRefMark(), SwWrtShell::GotoRegion(), SwNavigationMgr::GotoSwPosition(), SwWrtShell::GotoTable(), GotoTOXMark(), SwEditShell::HandleCorrectionError(), SwEditShell::HandleUndoRedoContext(), SwFEShell::HasBoxSelection(), SwEditShell::HasBullet(), SwWrtShell::HasFoldedOutlineContentSelected(), SwEditShell::HasNumber(), SwFEShell::HasTableAnyProtection(), SwSelPaintRects::HighlightContentControl(), IMPL_LINK(), sw::sidebar::IMPL_LINK(), SwCallLink::ImplDestroy(), SwWrtShell::Insert(), SwFEShell::Insert(), SwEditShell::Insert(), SwEditShell::InsertDDETable(), SwEditShell::InsertField(), SwFieldMgr::InsertField(), SwWrtShell::InsertFootnote(), SwEditShell::InsertGlobalDocContent(), SwEditShell::InsertGlossary(), SwTextShell::InsertHyperlink(), SwFEShell::InsertObject(), SwWrtShell::InsertPageBreak(), SwBaseShell::InsertRegionDialog(), SwEditShell::InsertSection(), SwEditShell::InsertTable(), SwEditShell::InsertTableOf(), SwEditShell::InsertURL(), SwAccessibleMap::InvalidateShapeInParaSelection(), SwTransferable::isComplex(), SwEditShell::IsCursorInParagraphMetadataField(), SwEditShell::IsFirstOfNumRuleAtCursorPos(), SwEditShell::IsInsRegionAvailable(), SwEditShell::IsMoveLeftMargin(), SwEditShell::IsNoNum(), SwEditShell::IsNumRuleStart(), SwOleClient::IsProtected(), SwEditShell::IsProtectedOutlinePara(), SwEditShell::IsTextToTableAvailable(), SwEditWin::KeyInput(), lcl_BoxesInDeletedRows(), lcl_CollectDeletedRedlines(), lcl_CursorInDeletedTable(), lcl_CutRedlines(), lcl_emitSearchResultCallbacks(), lcl_FoldedOutlineNodeEndOfParaSplit(), lcl_GetPrintUIOptions(), lcl_IsAllowed(), lcl_SetAPageOffset(), lcl_TableParamToItemSet(), SwDocShell::LoadStylesFromFile(), SwSpellDialogChildWindow::LoseFocus(), SwEditShell::MergeTable(), SwEditShell::MoveGlobalDocContent(), SwEditShell::MoveLeftMargin(), SwEditShell::MoveNumParas(), SwEditShell::MoveOutlinePara(), SwEditShell::MoveParagraph(), SwFEShell::NewFlyFrame(), SwEditShell::NoNum(), sw::mark::MarkManager::NotifyCursorUpdate(), numfunc::NumDownChangesIndent(), SwWrtShell::NumOrBulletOff(), SwWrtShell::NumOrBulletOn(), SwEditShell::NumOrNoNum(), SwEditShell::NumUpDown(), SwEditShell::OutlineUpDown(), SwEditShell::Overwrite(), ParkCursor(), SwFEShell::ParkCursorInTab(), SwFEShell::Paste(), SwTransferable::Paste(), SwTransferable::PasteFileContent(), SwTransferable::PasteOLE(), SwFEShell::PastePages(), PrepareBoxInfo(), SwTransferable::PrivateDrop(), SwFieldDlg::ReInitDlg(), SwEditShell::RejectRedlinesInSelection(), SwPasteContext::remember(), SwEditShell::RemoveParagraphMetadataFieldAtCursor(), SwEditShell::Repeat(), SwEditShell::Replace(), SwEditShell::ReplaceDropText(), SwEditShell::ReplaceNumRule(), SwFEShell::ReplaceSdrObj(), SwHHCWrapper::ReplaceUnit(), SwEditShell::ReRead(), SwEditShell::ResetAttr(), SwEditShell::SaveGlossaryDoc(), SwEditShell::SearchNumRule(), SwAccessibleTable::selectAccessibleChild(), SwEditShell::SelectionHasBullet(), SwEditShell::SelectionHasNumber(), SwHHCWrapper::SelectNewUnit_impl(), SwContentTree::SelectOutlinesWithSelection(), SwFEShell::SelFlyGrabCursor(), SwEditShell::SetAttrItem(), SwEditShell::SetAttrSet(), SetBookmark(), SetBookmark2(), SwEditShell::SetChartName(), SwEditShell::SetCurFootnote(), SwEditShell::SetCurNumRule(), SwEditShell::SetExtTextInputData(), SwEditShell::SetGraphicPolygon(), SwEditShell::SetLinguRange(), SwEditShell::SetNodeNumStart(), SwEditShell::SetNumberingRestart(), SwEditShell::SetNumRuleStart(), SwXTextViewCursor::setPropertyToDefault(), SwXTextViewCursor::setPropertyValue(), SwEditShell::SetRedlineComment(), SwXTextView::setRubyList(), SwEditShell::SetSectionAttr(), SetSelection(), SwXTextViewCursor::setString(), SwEditShell::SetTextFormatColl(), ShouldWait(), SwEditShell::SignParagraph(), SwFEShell::Sort(), SwEditShell::SpellStart(), SwEditShell::SplitNode(), SwEditShell::SplitTable(), SwDocShell::StartConvertFrom(), SwXMLImport::startDocument(), SwTextShell::StateField(), SwAutoFormat::SwAutoFormat(), SwCallLink::SwCallLink(), SwContentControlDlg::SwContentControlDlg(), SwEditShell::TableToText(), SwEditShell::TextToTable(), SwTranslateHelper::TranslateDocumentCancellable(), SwEditShell::TransliterateText(), SwFEShell::UnProtectTables(), SwEditShell::UpdateOneField(), SwEditShell::UpdateTableOf(), SwContentTree::UpdateTracking(), sw::sidebar::UpdateTree(), SwEditShell::ValidateCurrentParagraphSignatures(), SwFEShell::WizardGetFly(), SwWriter::Write(), sw::sidebar::WriterInspectorTextPanel::WriterInspectorTextPanel(), and SwPasteContext::~SwPasteContext().
|
inline |
Definition at line 340 of file crsrsh.hxx.
Referenced by SwEditShell::CopySelToDoc(), SwAutoFormat::DeleteSelImpl(), SwWrtShell::EndSelect(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwViewShell::FillPrtDoc(), SwWrtShell::getLOKPayload(), GetPostItFieldAtCursor(), SwFEShell::GetRowSelectionFromTop(), GotoFootnoteText(), IMPL_LINK(), SwEditShell::Insert2(), SwEditWin::KeyInput(), LRMargin(), PaMCorrAbs(), PaMCorrRel(), SwWrtShell::SelectNextPrevHyperlink(), SwFEShell::SelTableRowCol(), SelTableRowOrCol(), SwVisibleCursor::SetPosAndShow(), and UpdateMarkedListLevel().
|
inline |
Definition at line 341 of file crsrsh.hxx.
sal_uInt16 SwCursorShell::GetCursorCnt | ( | bool | bAll = true | ) | const |
Get the number of elements in the ring of cursors.
bAll | If <false> get only spanned ones (= with selections) (Basic). |
Definition at line 2752 of file crsrsh.cxx.
References GetCursor(), SwPaM::GetMark(), SwPaM::GetNext(), SwCursor::GetNext(), SwPaM::GetPoint(), SwPaM::HasMark(), m_pCurrentCursor, and n.
Referenced by SwIndexMarkPane::Activate(), SwFieldMgr::CanInsertRefMark(), SwEditShell::GetPaMAttr(), SwView::GetState(), SwIndexMarkPane::InitControls(), lcl_TableParamToItemSet(), SwIndexMarkPane::ModifyHdl(), PrepareBoxInfo(), and ShouldWait().
OUString SwCursorShell::GetCursorDescr | ( | ) | const |
Returns textual description of the current selection.
Definition at line 3670 of file crsrsh.cxx.
References GetCursor(), SwDoc::GetPaMDescr(), IsMultiSelection(), and SwResId().
Referenced by SwSpellPopup::Execute(), SwTextShell::Execute(), SwWrtShell::GetSelDescr(), SwWrtShell::GotoContentControl(), and SwWrtShell::Insert().
|
inline |
Definition at line 919 of file crsrsh.hxx.
References SwShellCursor::GetPtPos(), m_pCurrentCursor, and Point.
Referenced by SwFEShell::Copy(), SwContentTree::GotoContent(), SwFEShell::GotoFly(), SwFEShell::Insert(), SwFEShell::InsertLabel(), SwFEShell::InsertObject(), SwFEShell::NewFlyFrame(), SwTransferable::PasteTargetURL(), SwFEShell::SelFlyGrabCursor(), and SwContentTree::UpdateTracking().
|
inline |
Definition at line 826 of file crsrsh.hxx.
Referenced by SwWrtShell::GetSelectionType(), and SwWrtShell::ResetSelect().
|
static |
Definition at line 928 of file crstrvl.cxx.
References sw::Default, sw::Expand, SwFormatField::GetField(), SwTextAttr::GetFormatField(), and GetTextFieldAtCursor().
Referenced by GetCurField().
sw::mark::IFieldmark * SwCursorShell::GetFieldmarkAfter | ( | bool | bLoop | ) |
Definition at line 293 of file crbm.cxx.
References GetCursor(), IDocumentMarkAccess::getFieldmarkAfter(), SwViewShell::getIDocumentMarkAccess(), and pos.
Referenced by SwEditWin::KeyInput(), and SwWrtShell::SwWrtShell().
sw::mark::IFieldmark * SwCursorShell::GetFieldmarkBefore | ( | bool | bLoop | ) |
Definition at line 299 of file crbm.cxx.
References GetCursor(), IDocumentMarkAccess::getFieldmarkBefore(), SwViewShell::getIDocumentMarkAccess(), and pos.
Referenced by SwEditWin::KeyInput().
|
inline |
Definition at line 496 of file crsrsh.hxx.
Referenced by SwCallLink::ImplDestroy(), and lcl_GrabCursor().
|
inline |
Definition at line 504 of file crsrsh.hxx.
Referenced by SwBaseShell::~SwBaseShell().
sal_uInt16 SwCursorShell::GetNextPrevPageNum | ( | bool | bNext = true | ) |
Definition at line 1253 of file crsrsh.cxx.
References SwViewShellImp::GetFirstVisPage(), SwFrameAreaDefinition::getFrameArea(), SwFrame::GetNext(), SwViewShell::GetOut(), SwPageFrame::GetPhyPageNum(), SwFrame::GetPrev(), SwViewShell::Imp(), SwPageFrame::IsEmptyPage(), and SwRect::Top().
SwOutlineNodes::size_type SwCursorShell::GetOutlinePos | ( | sal_uInt8 | nLevel = UCHAR_MAX , |
SwPaM * | pPaM = nullptr |
||
) |
search "outline position" before previous outline node at given level
Definition at line 1185 of file crstrvl.cxx.
References SwTextNode::GetAttrOutlineLevel(), SwViewShell::GetDoc(), SwNodes::GetEndOfExtras(), SwNode::GetIndex(), SwViewShell::GetLayout(), SwDoc::GetNodes(), SwNodes::GetOutLineNds(), SwPaM::GetPointNode(), getShellCursor(), SwNode::GetTextNode(), sw::IsParaPropsNode(), nPos, SwOutlineNodes::npos, and SwOutlineNodes::Seek_Entry().
Referenced by SwContentTree::ExecCommand(), SwView::Execute(), lcl_OutlineUpDownWithSubPoints(), SwWrtShell::MakeAllFoldedOutlineContentVisible(), SwNavigationPI::MoveOutline(), SwContentTree::SelectOutlinesWithSelection(), SwOutlineSettingsTabPage::SetWrtShell(), and SwContentTree::UpdateTracking().
sal_uInt16 SwCursorShell::GetPageCnt | ( | ) |
Definition at line 1291 of file crsrsh.cxx.
References SwViewShell::GetLayout(), and SwRootFrame::GetPageNum().
Referenced by SwEditWinUIObject::get_state(), SwAccessibleDocument::getExtendedAttributes(), SwGotoPageDlg::GetPageInfo(), SwView::GetPageStr(), SwXTextDocument::getParts(), IMPL_LINK(), SwDBManager::MergeMailFiles(), SwNavigationPI::NotifyItemUpdate(), SwView::StateStatusLine(), SwTitlePageDlg::SwTitlePageDlg(), and SwNavigationPI::UsePage().
void SwCursorShell::GetPageNum | ( | sal_uInt16 & | rnPhyNum, |
sal_uInt16 & | rnVirtNum, | ||
bool | bAtCursorPos = true , |
||
const bool | bCalcFrame = true |
||
) |
Definition at line 1209 of file crsrsh.cxx.
References SwFrame::FindPageFrame(), GetCurrFrame(), SwViewShellImp::GetFirstVisPage(), SwFrame::GetNext(), SwViewShell::GetOut(), SwPageFrame::GetPhyPageNum(), SwFrame::GetVirtPageNum(), SwViewShell::Imp(), and SwPageFrame::IsEmptyPage().
Referenced by SwEditWinUIObject::get_state(), SwGotoPageDlg::GetPageInfo(), lcl_InsertBCText(), lcl_InsertLabText(), SwFlyFrameAttrMgr::SetAnchor(), SwView::SwapPageMargin(), and SwNavigationPI::UsePage().
sal_uInt16 SwCursorShell::GetPageNumSeqNonEmpty | ( | ) |
Definition at line 1229 of file crsrsh.cxx.
References SwFrame::FindPageFrame(), GetCurrFrame(), SwViewShellImp::GetFirstVisPage(), SwFrame::GetNext(), SwViewShell::GetOut(), SwFrame::GetPrev(), SwViewShell::Imp(), and SwPageFrame::IsEmptyPage().
OUString SwCursorShell::getPageRectangles | ( | ) |
Implementation of lok::Document::getPartPageRectangles() for Writer.
Definition at line 1298 of file crsrsh.cxx.
References aBuf, SwViewShell::GetLayout(), SwFrame::GetLower(), and SwFrame::GetNext().
Referenced by SwXTextDocument::getPartPageRectangles().
const SwPostItField * SwCursorShell::GetPostItFieldAtCursor | ( | ) | const |
Definition at line 1946 of file crstrvl.cxx.
References SwPosition::GetContentIndex(), GetCursor_(), SwFormatField::GetField(), SwTextNode::GetFieldTextAttrAt(), SwTextAttr::GetFormatField(), SwPosition::GetNode(), SwPaM::GetPoint(), SwNode::GetTextNode(), IsTableMode(), Postit, and SwField::Which().
Referenced by IMPL_LINK().
OUString SwCursorShell::GetSelText | ( | ) | const |
get selected text of a node at current cursor
Definition at line 2559 of file crsrsh.cxx.
References SwPaM::End(), SwNode::EndOfSectionIndex(), sw::FrameContainsNode(), SwPosition::GetContentIndex(), GetCurrFrame(), SwTextNode::GetExpandText(), SwViewShell::GetLayout(), SwPaM::GetMark(), SwPosition::GetNodeIndex(), SwPosition::GetNodes(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwNode::GetTextNode(), HideDeletions, i, SwNode::IsEndNode(), SwNode::IsStartNode(), SwNode::IsTextNode(), SwTextNode::Len(), m_pCurrentCursor, and SwPaM::Start().
Referenced by SwWrtShell::AutoCorrect(), SwWrtShell::DelLeft(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwView::ExecSpellPopup(), SwTextShell::Execute(), SwGlossaryHdl::ExpandGlossary(), SwVisibleCursor::getLOKPayload(), SwEditShell::GetSelectedText(), SwTextShell::GetState(), IMPL_LINK_NOARG(), SwEditShell::InsertURL(), lcl_SelectSameStrings(), SwHHCWrapper::ReplaceUnit(), SwTextShell::StateInsert(), SwFieldRefPage::SubTypeHdl(), and sw_CharDialog().
bool SwCursorShell::GetShadowCursorPos | ( | const Point & | rPt, |
SwFillMode | eFillMode, | ||
SwRect & | rRect, | ||
sal_Int16 & | rOrient | ||
) |
Definition at line 2146 of file crstrvl.cxx.
References SwFillCursorPos::aCursor, SwFillCursorPos::eOrient, SwViewShell::GetDoc(), SwViewShell::GetIDocumentUndoRedo(), SwViewShell::GetLayout(), SwPosition::GetNode(), SwPaM::GetPoint(), HasSelection(), SwNode::IsProtect(), IsTableMode(), m_pCurrentCursor, and Point.
Referenced by SwEditWin::MouseMove().
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.
bBlock | [bool] if the block cursor is of interest or not |
Definition at line 3053 of file crsrsh.cxx.
References SwBlockCursor::getShellCursor(), m_pBlockCursor, m_pCurrentCursor, and m_pTableCursor.
Referenced by SwFEShell::AdjustCellWidth(), SwEditShell::AutoCorrect(), SwFEShell::BalanceRowHeight(), CallCursorFN(), CheckSplitCells(), SwFEShell::DeleteCol(), SwFEShell::DeleteRow(), SwFieldEditDlg::EnsureSelection(), ExtendedSelectedAll(), SwShellCursor::FillStartEnd(), SwFEShell::GetBoxAlign(), SwFEShell::GetBoxBackground(), SwFEShell::GetBoxDirection(), SwEditShell::GetChunkForAutoText(), GetOutlinePos(), SwEditShell::GetPrevAutoCorrWord(), SwFEShell::GetRowBackground(), SwFEShell::GetRowHeight(), SwFEShell::GetRowSplit(), SwFEShell::GetTabBorders(), GoEndSentenceImpl(), GoEndWordImpl(), GoNextSentenceImpl(), GoNextWordImpl(), GoPrevWordImpl(), GoStartSentenceImpl(), GoStartWordImpl(), GotoFooterText(), GotoFootnoteAnchor(), GotoFormatField(), GotoHeaderText(), GotoINetAttr(), GotoNextOutline(), GotoOutline(), GotoPrevOutline(), HasSelection(), SwEditShell::Insert2(), SwWrtShell::InsertContentControl(), SwFEShell::InsertRow(), IsAtLRMargin(), LeftRight(), LRMargin(), MoveFieldType(), MovePara(), MoveSection(), SwFEShell::ProtectCells(), SwWrtShell::SelAll(), SwFEShell::SetBoxAlign(), SwFEShell::SetBoxBackground(), SwFEShell::SetBoxDirection(), SetCursor(), SwEditWin::SetCursorTwipPosition(), SwFEShell::SetRowBackground(), SwFEShell::SetRowHeight(), SwFEShell::SetRowSplit(), SwFEShell::SetTabBorders(), SwFEShell::SetTabLineStyle(), SwTableAutoFormat::StoreTableProperties(), SwWrtShell::SttSelect(), UpdateCursor(), UpdateCursorPos(), and UpDown().
|
inline |
Definition at line 653 of file crsrsh.hxx.
Definition at line 3776 of file crsrsh.cxx.
References CH_TXTATR_INWORD, DeleteCurrent, SwPaM::DeleteMark(), ExtendSelection(), SwFrame::GetCharRect(), SwPosition::GetContentIndex(), GetCursor(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPosition::GetNode(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwTextNode::GetSmartTags(), SwTextNode::GetText(), SwNode::GetTextNode(), SwWrongList::InWrongWord(), SwNode::IsInProtectSect(), SwTextNode::IsSymbolAt(), LeftMargin(), SwCursorMoveState::m_bRealWidth, SwCursorMoveState::m_pSpecialPos, min(), pChar, Point, Pop(), Push(), RightMargin(), SwPosition::SetContent(), SwPaM::SetMark(), SetOnlyText, and SwRect::Union().
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 |
Definition at line 3739 of file crsrsh.cxx.
References SwSmartTagMgr::Get(), SwPosition::GetContentIndex(), GetCursor(), SwPosition::GetNode(), SwPaM::GetPoint(), SwTextNode::GetSmartTags(), SwNode::GetTextNode(), SwWrongList::GetWrongPos(), SwWrongList::InWrongWord(), SwNode::IsInProtectSect(), SwTextNode::IsSymbolAt(), lcl_FillRecognizerData(), lcl_FillTextRange(), nIndex, and SwWrongList::SubList().
Referenced by SwTextShell::GetState().
|
inline |
Definition at line 893 of file crsrsh.hxx.
References m_pStackCursor.
Referenced by PaMCorrAbs(), and PaMCorrRel().
|
inline |
Definition at line 929 of file crsrsh.hxx.
References m_pTableCursor.
|
inline |
Definition at line 924 of file crsrsh.hxx.
References m_pTableCursor.
Referenced by SwAccessibleTable::deselectAccessibleChild(), SwTableShell::Execute(), SwCallLink::ImplDestroy(), SwWrtShell::InsertField2(), PaMCorrAbs(), PaMCorrRel(), SwAccessibleTable::selectAccessibleChild(), and SwCallLink::SwCallLink().
|
inline |
Definition at line 662 of file crsrsh.hxx.
|
inline |
Definition at line 661 of file crsrsh.hxx.
Referenced by SwEditShell::AcceptRedlinesInSelection(), SwFEShell::DeleteRow(), SwViewShell::FillPrtDoc(), SwFEShell::GetRowSelectionFromTop(), SwAccessibleTable::GetSelBoxes(), SwXTextView::getSelection(), GetTableSelCrs(), SwEditWin::KeyInput(), SwFEShell::MergeTab(), SwTransferable::PrivateDrop(), and SwEditShell::RejectRedlinesInSelection().
SvxFrameDirection SwCursorShell::GetTextDirection | ( | const Point * | pPt = nullptr | ) | const |
Definition at line 3412 of file crsrsh.cxx.
References SwViewShell::GetLayout(), SwRootFrame::GetModelPositionForViewPoint(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), IsReadOnlyAvailable(), SwCursorMoveState::m_bSetInReadOnly, m_pCurrentCursor, SwViewShell::mxDoc, NONE, and Point.
Referenced by IsInRightToLeftText(), IsInVerticalText(), and SwEditWin::KeyInput().
|
static |
Definition at line 906 of file crstrvl.cxx.
References eMode, SwPaM::End(), SwTextAttr::End(), SwPosition::GetContentIndex(), SwPosition::GetNode(), SwTextAttr::GetStart(), GetTextFieldAtPos(), and SwPaM::Start().
Referenced by CursorInsideInputField(), SwTextShell::ExecField(), and GetFieldAtCursor().
|
static |
Definition at line 891 of file crstrvl.cxx.
References eMode, SwPosition::GetContentIndex(), SwTextNode::GetFieldTextAttrAt(), SwPosition::GetNode(), and SwNode::GetTextNode().
Referenced by EndOfInputFieldAtPos(), GetTextFieldAtCursor(), SwSelPaintRects::HighlightInputField(), PosInsideInputField(), StartOfInputFieldAtPos(), and SwEditShell::UpdateOneField().
|
inline |
Definition at line 359 of file crsrsh.hxx.
Referenced by MoveCursorToNum(), and RefreshBlockCursor().
SwVisibleCursor * SwCursorShell::GetVisibleCursor | ( | ) | const |
Definition at line 2734 of file crsrsh.cxx.
References m_pVisibleCursor.
Referenced by SwWrtShell::getLOKPayload().
bool SwCursorShell::GoEndSentence | ( | ) |
Definition at line 73 of file crstrvl1.cxx.
References CallCursorShellFN(), and GoEndSentenceImpl().
Referenced by SwWrtShell::ExtSelLn(), SwEditWin::GetSurroundingText(), and SwWrtShell::SelSentence().
|
private |
Definition at line 117 of file crstrvl1.cxx.
References SwCursor::END_SENT, SwViewShell::GetLayout(), getShellCursor(), and SwCursor::GoSentence().
Referenced by GoEndSentence().
bool SwCursorShell::GoEndWord | ( | ) |
Definition at line 54 of file crstrvl1.cxx.
References CallCursorShellFN(), and GoEndWordImpl().
Referenced by SwWrtShell::EndWrd().
|
private |
Definition at line 98 of file crstrvl1.cxx.
References SwViewShell::GetLayout(), getShellCursor(), and SwCursor::GoEndWordWT().
Referenced by GoEndWord().
bool SwCursorShell::GoNextBookmark | ( | ) |
Definition at line 203 of file crbm.cxx.
References CHKRANGE, IDocumentMarkAccess::findFirstBookmarkStartsAfter(), IDocumentMarkAccess::getBookmarksEnd(), GetCursor(), SwViewShell::getIDocumentMarkAccess(), SwViewShell::GetLayout(), sw::IsMarkHidden(), READONLY, SCROLLWIN, SttEndDoc(), and UpdateCursor().
Referenced by SwWrtShell::MoveBookMark().
bool SwCursorShell::GoNextCell | ( | bool | bAppendLine = true | ) |
set cursor into next/previous cell
Definition at line 39 of file trvltbl.cxx.
References SwNode::EndOfSectionNode(), SwTableBox::FindEndOfRowSpan(), SwNode::FindTableBoxStartNode(), SwCursor::GetCursorRowSpanOffset(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwTableBox::getRowSpan(), SwTableBox::GetSttNd(), SwTableNode::GetTable(), SwNode::GetTableBox(), SwTable::GetTableBox(), SwCursor::GoNextCell(), SwPaM::HasMark(), IsCursorInTable(), SwNode::IsStartNode(), IsTableMode(), m_pCurrentCursor, m_pTableCursor, SwViewShell::mxDoc, SwTable::SelLineFromBox(), and UpdateCursor().
Referenced by SwInsertDBColAutoPilot::DataToDoc(), SwTableShell::Execute(), SwEditWin::KeyInput(), and LeftRight().
bool SwCursorShell::GoNextCursor | ( | ) |
go to the next SSelection
Definition at line 1357 of file crsrsh.cxx.
References SwViewShell::ActionPend(), SwShellCursor::GetNext(), SwPaM::IsMultiSelection(), m_pCurrentCursor, SwShellCursor::Show(), and UpdateCursor().
Referenced by SwWrtShell::ExtSelLn(), SwWrtShell::ExtSelWrd(), GoNextPrevCursorSetSearchLabel(), SwEditShell::HandleUndoRedoContext(), ParkPams(), and SwTransferable::PrivateDrop().
void SwCursorShell::GoNextPrevCursorSetSearchLabel | ( | const bool | bNext | ) |
Definition at line 1394 of file crsrsh.cxx.
References GoNextCursor(), GoPrevCursor(), SwPaM::HasMark(), SwPaM::IsMultiSelection(), m_pCurrentCursor, and 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_().
|
private |
Definition at line 113 of file crstrvl1.cxx.
References SwViewShell::GetLayout(), getShellCursor(), SwCursor::GoSentence(), and SwCursor::NEXT_SENT.
Referenced by GoNextSentence().
bool SwCursorShell::GoNextWord | ( | ) |
Definition at line 59 of file crstrvl1.cxx.
References CallCursorShellFN(), and GoNextWordImpl().
Referenced by SwWrtShell::NxtWrd_(), and SwWrtShell::NxtWrdForDelete().
|
private |
Definition at line 103 of file crstrvl1.cxx.
References SwViewShell::GetLayout(), getShellCursor(), and SwCursor::GoNextWordWT().
Referenced by GoNextWord().
bool SwCursorShell::GoPrevBookmark | ( | ) |
Definition at line 236 of file crbm.cxx.
References CHKRANGE, IDocumentMarkAccess::findFirstBookmarkStartsAfter(), IDocumentMarkAccess::getBookmarksBegin(), GetCursor(), SwViewShell::getIDocumentMarkAccess(), SwViewShell::GetLayout(), sw::IsMarkHidden(), READONLY, SCROLLWIN, SttEndDoc(), and UpdateCursor().
Referenced by SwWrtShell::MoveBookMark().
bool SwCursorShell::GoPrevCell | ( | ) |
Definition at line 101 of file trvltbl.cxx.
References SwCursor::GoPrevCell(), IsCursorInTable(), IsTableMode(), m_pCurrentCursor, m_pTableCursor, and UpdateCursor().
Referenced by SwTableShell::Execute(), SwEditWin::KeyInput(), and LeftRight().
bool SwCursorShell::GoPrevCursor | ( | ) |
go to the previous SSelection
Definition at line 1376 of file crsrsh.cxx.
References SwViewShell::ActionPend(), SwShellCursor::GetPrev(), SwPaM::IsMultiSelection(), m_pCurrentCursor, SwShellCursor::Show(), and UpdateCursor().
Referenced by SwEditWin::Command(), SwWrtShell::ExtSelLn(), SwWrtShell::ExtSelWrd(), GoNextPrevCursorSetSearchLabel(), 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().
|
private |
Definition at line 108 of file crstrvl1.cxx.
References SwViewShell::GetLayout(), getShellCursor(), and SwCursor::GoPrevWordWT().
Referenced by GoPrevWord().
bool SwCursorShell::GoStartSentence | ( | ) |
Definition at line 78 of file crstrvl1.cxx.
References CallCursorShellFN(), and GoStartSentenceImpl().
Referenced by SwEditShell::ApplyChangedSentence(), SwWrtShell::BwdSentence_(), SwEditWin::Command(), SwEditWin::DeleteSurroundingText(), SwWrtShell::ExtSelLn(), SwSpellDialogChildWindow::GetNextWrongSentence(), SwEditWin::GetSurroundingText(), SwEditWin::GetSurroundingTextSelection(), and SwWrtShell::SelSentence().
|
private |
Definition at line 121 of file crstrvl1.cxx.
References SwViewShell::GetLayout(), getShellCursor(), SwCursor::GoSentence(), and SwCursor::START_SENT.
Referenced by GoStartSentence().
bool SwCursorShell::GoStartWord | ( | ) |
Definition at line 50 of file crstrvl1.cxx.
References CallCursorShellFN(), and GoStartWordImpl().
Referenced by SwWrtShell::SttWrd().
|
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 305 of file crbm.cxx.
References CHKRANGE, READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwWrtShell::GotoFieldmark().
void SwCursorShell::GotoFlyAnchor | ( | ) |
jump from the frame to the anchor
jump from border to anchor
Definition at line 350 of file trvlfnfl.cxx.
References SwRect::Bottom(), CHKRANGE, SwRect::Contains(), SwFrame::FindPageFrame(), SwLayoutFrame::GetContentPos(), GetCurrFrame(), SwFrameAreaDefinition::getFrameArea(), SwFrame::GetModelPositionForViewPoint(), SwPaM::GetPoint(), SwFrame::GetUpper(), SwFrame::IsFlyFrame(), SwCursor::IsInProtectTable(), SwCursor::IsSelOvr(), SwRect::Left(), m_aCharRect, m_pCurrentCursor, Point, READONLY, SwRect::Right(), SCROLLWIN, SwRect::SSize(), SwRect::Top(), and UpdateCursor().
Referenced by SwBaseShell::Execute(), and SwFrameShell::Execute().
bool SwCursorShell::GotoFooterText | ( | ) |
jump from the content to the footer
jump from content to footer
Definition at line 160 of file crstrvl.cxx.
References SwFrame::Calc(), SwFrame::FindPageFrame(), GetCurrFrame(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwLayoutFrame::GetLastLower(), SwFrame::GetLower(), SwFrame::GetModelPositionForViewPoint(), SwViewShell::GetOut(), SwPaM::GetPoint(), getShellCursor(), SwFrame::IsContentFrame(), SwFrame::IsFooterFrame(), SwCursor::IsSelOvr(), Point, SwRect::Pos(), and UpdateCursor().
Referenced by SwTextShell::ExecField(), SwTextShell::ExecMoveMisc(), and IMPL_LINK().
bool SwCursorShell::GotoFootnoteAnchor | ( | ) |
jump from footnote to anchor
Definition at line 167 of file trvlfnfl.cxx.
References CHKRANGE, SwShellCursor::GetPtPos(), SwCursor::GotoFootnoteAnchor(), m_pCurrentCursor, Point, READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwEnhancedPDFExportHelper::EnhancedPDFExport(), GetContentAtPos(), and SwWrtShell::GotoFootnoteAnchor().
bool SwCursorShell::GotoFootnoteAnchor | ( | const SwTextFootnote & | rTextFootnote | ) |
Definition at line 809 of file crstrvl.cxx.
References SwPosition::Assign(), CHKRANGE, SwPaM::GetPoint(), getShellCursor(), SwTextAttr::GetStart(), SwTextFootnote::GetTextNode(), SwCursor::IsSelOvr(), READONLY, SCROLLWIN, and UpdateCursor().
bool SwCursorShell::GotoFootnoteText | ( | ) |
jump from content to footnote
Definition at line 89 of file trvlfnfl.cxx.
References CallCursorFN(), CHKRANGE, SwFrame::FindFootnoteBossFrame(), SwFootnoteBossFrame::FindFootnoteCont(), GetCursor_(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwFrame::GetNext(), SwPosition::GetNode(), SwTextFrame::GetOffset(), SwPaM::GetPoint(), SwNode::GetTextNode(), SwFrame::GetUpper(), SwCursor::GotoFootnoteText(), SwFrame::IsInFootnote(), SwFrame::IsPageFrame(), SwTextFrame::MapViewToModelPos(), READONLY, SCROLLWIN, Start, and UpdateCursor().
Referenced by SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwTextShell::ExecMoveMisc(), SwTextShell::Execute(), IMPL_LINK(), and SwWrtShell::InsertFootnote().
bool SwCursorShell::GotoFormatContentControl | ( | const SwFormatContentControl & | rContentControl | ) |
Definition at line 829 of file crstrvl.cxx.
References SwFormatContentControl::GetContentControl().
Referenced by SwWrtShell::GotoContentControl().
bool SwCursorShell::GotoFormatField | ( | const SwFormatField & | rField | ) |
Definition at line 867 of file crstrvl.cxx.
References SwPosition::Assign(), CHKRANGE, SwViewShell::GetDoc(), SwViewShell::getIDocumentRedlineAccess(), SwViewShell::GetLayout(), SwPaM::GetPoint(), SwTextField::GetpTextNode(), getShellCursor(), SwTextAttr::GetStart(), SwFormatField::GetTextField(), sw::IsFieldDeletedInModel(), SwCursor::IsSelOvr(), READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwWrtShell::GotoField(), and SwWrtShell::GotoFormatField().
bool SwCursorShell::GotoHeaderText | ( | ) |
jump from the content to the header
jump from content to header
Definition at line 132 of file crstrvl.cxx.
References SwFrame::Calc(), SwFrame::FindPageFrame(), GetCurrFrame(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwFrame::GetLower(), SwFrame::GetModelPositionForViewPoint(), SwViewShell::GetOut(), SwPaM::GetPoint(), getShellCursor(), SwFrame::IsContentFrame(), SwFrame::IsHeaderFrame(), SwCursor::IsSelOvr(), Point, SwRect::Pos(), and UpdateCursor().
Referenced by SwTextShell::ExecField(), SwTextShell::ExecMoveMisc(), and IMPL_LINK().
bool SwCursorShell::GotoINetAttr | ( | const SwTextINetFormat & | rAttr | ) |
Definition at line 2124 of file crstrvl.cxx.
References SwPosition::Assign(), CHKRANGE, SwPaM::GetPoint(), SwTextINetFormat::GetpTextNode(), getShellCursor(), SwTextAttr::GetStart(), SwCursor::IsSelOvr(), READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwEnhancedPDFExportHelper::EnhancedPDFExport(), and SwWrtShell::GotoINetAttr().
bool SwCursorShell::GotoMark | ( | const ::sw::mark::IMark *const | pMark | ) |
Definition at line 187 of file crbm.cxx.
References CHKRANGE, SwViewShell::GetLayout(), sw::IsMarkHidden(), READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwWrtShell::GotoMark(), and SwWrtShell::MoveBookMark().
bool SwCursorShell::GotoMark | ( | const ::sw::mark::IMark *const | pMark, |
bool | bAtStart | ||
) |
Definition at line 168 of file crbm.cxx.
References CHKRANGE, SwViewShell::GetLayout(), sw::IsMarkHidden(), READONLY, SCROLLWIN, and UpdateCursor().
bool SwCursorShell::GotoNextFootnoteAnchor | ( | ) |
Definition at line 339 of file trvlfnfl.cxx.
References CallCursorFN(), and SwCursor::GotoNextFootnoteAnchor().
Referenced by SwTextShell::ExecMoveMisc(), IMPL_LINK(), and SwInsFootNoteDlg::Init().
void SwCursorShell::GotoNextNum | ( | ) |
go to next/previous point on the same level
Definition at line 117 of file crstrvl.cxx.
References SwViewShell::GetLayout(), SwPaM::GetPoint(), SwDoc::GotoNextNum(), m_pCurrentCursor, and MoveCursorToNum().
Referenced by SwListShell::Execute().
bool SwCursorShell::GotoNextOutline | ( | ) |
jump to next node with outline num.
Definition at line 1058 of file crstrvl.cxx.
References SwPosition::Assign(), CHKRANGE, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), SwDoc::GetNodes(), SwNodes::GetOutLineNds(), SwPaM::GetPoint(), SwPaM::GetPointNode(), getShellCursor(), SwNode::GetTextNode(), sw::IsParaPropsNode(), SwCursor::IsSelOvr(), nPos, READONLY, SCROLLWIN, SwOutlineNodes::Seek_Entry(), SvxSearchDialogWrapper::SetSearchLabel(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), and UpdateCursor().
Referenced by IMPL_LINK().
bool SwCursorShell::GotoNextTOXBase | ( | const OUString * | pName = nullptr | ) |
jump to the next index
Definition at line 263 of file crstrvl.cxx.
References SwPosition::Assign(), CHKRANGE, SwNode::EndOfSectionIndex(), SwNode::GetContentNode(), SwViewShell::GetDoc(), SwSection::GetFormat(), SwNode::GetIndex(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwSectionFormat::GetSectionNode(), SwDoc::GetSections(), SwTOXBase::GetTOXName(), SwSection::GetType(), SwNodes::GoNext(), SwFrame::IsProtected(), IsReadOnlyAvailable(), SwCursor::IsSelOvr(), m_pCurrentCursor, n, pName, READONLY, SCROLLWIN, SwVectorModifyBase< Value >::size(), ToxContent, and UpdateCursor().
Referenced by SwWrtShell::GotoNextTOXBase().
bool SwCursorShell::GotoNxtPrvTableFormula | ( | bool | bNext = true , |
bool | bOnlyErrors = false |
||
) |
Jump to next/previous table formula Optionally it is possible to also jump to broken formulas.
Definition at line 378 of file crstrvl.cxx.
References SwPosition::Assign(), CHKRANGE, SwPaM::DeleteMark(), SwNode::FindTableBoxStartNode(), SwNode::FindTableNode(), SwDoc::GetAttrPool(), SwViewShell::GetAttrPool(), SwNode::GetContentNode(), SwViewShell::GetDoc(), SwNode::GetIndex(), SfxItemPool::GetItemCount2(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPosition::GetNode(), SwDoc::GetNodes(), SwNode::GetNodes(), SwViewShell::GetNodes(), SwPaM::GetPoint(), SwTableBox::GetSttNd(), SwTableNode::GetTable(), SwNodes::GoNext(), SwNodes::IsDocNodes(), SwFrame::IsProtected(), IsReadOnlyAvailable(), SwCursor::IsSelOvr(), IsTableMode(), m_pCurrentCursor, Point, READONLY, RES_BOXATR_FORMULA(), SCROLLWIN, SetGetExpField::SetBodyPos(), SvxSearchDialogWrapper::SetSearchLabel(), and UpdateCursor().
Referenced by SwTextShell::ExecMoveMisc(), and IMPL_LINK().
bool SwCursorShell::GotoNxtPrvTOXMark | ( | bool | bNext = true | ) |
jump to next/previous index marker
Definition at line 493 of file crstrvl.cxx.
References SwPosition::Assign(), CHKRANGE, SwDoc::GetAttrPool(), SwViewShell::GetAttrPool(), GetContentNode(), SwViewShell::GetDoc(), SfxItemPool::GetItemCount2(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwNode::GetNodes(), SwViewShell::GetNodes(), SwPaM::GetPoint(), SwTextTOXMark::GetTextNode(), SwNodes::IsDocNodes(), SwFrame::IsProtected(), IsReadOnlyAvailable(), SwCursor::IsSelOvr(), IsTableMode(), m_pCurrentCursor, Point, READONLY, RES_TXTATR_TOXMARK(), SCROLLWIN, SetGetExpField::SetBodyPos(), SvxSearchDialogWrapper::SetSearchLabel(), and UpdateCursor().
Referenced by SwTextShell::ExecMoveMisc(), and IMPL_LINK().
bool SwCursorShell::GotoOutline | ( | const OUString & | rName | ) |
Definition at line 1039 of file crstrvl.cxx.
References CHKRANGE, SwViewShell::GetLayout(), SwPaM::GetPoint(), getShellCursor(), SwCursor::IsSelOvr(), SwViewShell::mxDoc, READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwEnhancedPDFExportHelper::EnhancedPDFExport(), and SwWrtShell::GotoOutline().
void SwCursorShell::GotoOutline | ( | SwOutlineNodes::size_type | nIdx | ) |
Definition at line 1023 of file crstrvl.cxx.
References SwPosition::Assign(), CHKRANGE, SwViewShell::GetDoc(), SwDoc::GetNodes(), SwNodes::GetOutLineNds(), SwPaM::GetPoint(), getShellCursor(), SwCursor::IsSelOvr(), READONLY, SCROLLWIN, and UpdateCursor().
bool SwCursorShell::GotoPage | ( | sal_uInt16 | nPage | ) |
Definition at line 1188 of file crsrsh.cxx.
References ChangePos, CHKRANGE, SwViewShell::GetLayout(), SwCursor::IsSelOvr(), m_pCurrentCursor, READONLY, SCROLLWIN, SwRootFrame::SetCurrPage(), Toggle, and UpdateCursor().
Referenced by SwWrtShell::GotoPage(), and SwFEShell::PastePages().
bool SwCursorShell::GotoPrevFootnoteAnchor | ( | ) |
Definition at line 344 of file trvlfnfl.cxx.
References CallCursorFN(), and SwCursor::GotoPrevFootnoteAnchor().
Referenced by SwTextShell::ExecMoveMisc(), IMPL_LINK(), and SwInsFootNoteDlg::Init().
void SwCursorShell::GotoPrevNum | ( | ) |
Definition at line 124 of file crstrvl.cxx.
References SwViewShell::GetLayout(), SwPaM::GetPoint(), SwDoc::GotoPrevNum(), m_pCurrentCursor, and MoveCursorToNum().
Referenced by SwListShell::Execute().
bool SwCursorShell::GotoPrevOutline | ( | ) |
jump to previous node with outline num.
Definition at line 1123 of file crstrvl.cxx.
References SwPosition::Assign(), CHKRANGE, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), SwDoc::GetNodes(), SwNodes::GetOutLineNds(), SwPaM::GetPoint(), SwPaM::GetPointNode(), getShellCursor(), SwNode::GetTextNode(), sw::IsParaPropsNode(), SwCursor::IsSelOvr(), nPos, READONLY, SCROLLWIN, SwOutlineNodes::Seek_Entry(), SvxSearchDialogWrapper::SetSearchLabel(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), and UpdateCursor().
Referenced by IMPL_LINK().
bool SwCursorShell::GotoPrevTOXBase | ( | const OUString * | pName = nullptr | ) |
jump to previous index
Definition at line 310 of file crstrvl.cxx.
References SwPosition::Assign(), CHKRANGE, SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), SwNode::GetContentNode(), SwViewShell::GetDoc(), SwSection::GetFormat(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwSectionFormat::GetSectionNode(), SwDoc::GetSections(), SwTOXBase::GetTOXName(), SwSection::GetType(), SwNodes::GoNext(), SwFrame::IsProtected(), IsReadOnlyAvailable(), SwCursor::IsSelOvr(), m_pCurrentCursor, n, pName, READONLY, SCROLLWIN, SwVectorModifyBase< Value >::size(), ToxContent, and UpdateCursor().
Referenced by SwContentTree::GotoContent(), and SwGlobalTree::GotoContent().
const SwRangeRedline * SwCursorShell::GotoRedline | ( | SwRedlineTable::size_type | nArrPos, |
bool | bSelect | ||
) |
Definition at line 2440 of file crstrvl.cxx.
References ComparePosition(), CreateCursor(), Equal, SwRedlineTable::FindNextOfSeqNo(), SwRedlineTable::FindPrevOfSeqNo(), SwViewShell::GetDoc(), SwDoc::getIDocumentRedlineAccess(), SwPaM::GetMark(), SwPaM::GetNext(), SwPaM::GetPrev(), IDocumentRedlineAccess::GetRedlineTable(), SwRangeRedline::GetSeqNo(), GotoRedline_(), SwPaM::HasMark(), Inside, IsTableMode(), m_pCurrentCursor, SwRedlineTable::npos, Outside, OverlapBefore, OverlapBehind, SwPaM::SetMark(), and SwPaM::StartEnd().
Referenced by SwWrtShell::GotoRedline().
|
private |
Definition at line 2367 of file crstrvl.cxx.
References SwPosition::Assign(), CHKRANGE, SwPaM::DeleteMark(), SwPaM::End(), SwNode::GetContentNode(), SwViewShell::GetDoc(), SwDoc::getIDocumentRedlineAccess(), SwPaM::GetMark(), SwPosition::GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), IDocumentRedlineAccess::GetRedlineTable(), SwRangeRedline::GetType(), SwNodes::GoNextSection(), SwNodes::GoPrevSection(), SwNode::IsContentNode(), SwCursor::IsInProtectTable(), IsReadOnlyAvailable(), SwCursor::IsSelOvr(), SwContentNode::Len(), m_pCurrentCursor, READONLY, SwCursor::RestoreSavePos(), SCROLLWIN, SwPosition::SetContent(), SwShellCursor::SetMark(), SwPaM::Start(), and UpdateCursor().
Referenced by GotoRedline().
bool SwCursorShell::GotoRefMark | ( | const OUString & | rRefMark, |
sal_uInt16 | nSubType, | ||
sal_uInt16 | nSeqNo | ||
) |
jump to reference marker
Definition at line 1270 of file crstrvl.cxx.
References SwPosition::Assign(), CHKRANGE, SwGetRefFieldType::FindAnchor(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), SwNode::GetNodes(), SwPaM::GetPoint(), SwNodes::IsDocNodes(), SwCursor::IsSelOvr(), m_pCurrentCursor, nPos, READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwWrtShell::ClickToField(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), and SwWrtShell::GotoRefMark().
bool SwCursorShell::GotoRegion | ( | std::u16string_view | rName | ) |
Definition at line 270 of file trvlreg.cxx.
References CHKRANGE, SwCursor::GotoRegion(), m_pCurrentCursor, m_pTableCursor, READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwWrtShell::GotoRegion().
bool SwCursorShell::GotoTable | ( | const OUString & | rName | ) |
Definition at line 791 of file trvltbl.cxx.
References CHKRANGE, SwShellCursor::GetPtPos(), SwCursor::GotoTable(), m_pCurrentCursor, m_pTableCursor, Point, READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwWrtShell::GotoTable().
const SwTOXMark & SwCursorShell::GotoTOXMark | ( | const SwTOXMark & | rStart, |
SwTOXSearch | eDir | ||
) |
traveling between marks
Definition at line 583 of file crstrvl.cxx.
References SwPosition::Assign(), CHKRANGE, GetCursor(), SwViewShell::GetDoc(), SwPaM::GetPoint(), SwTextAttr::GetStart(), SwTextTOXMark::GetTextNode(), SwTOXMark::GetTextTOXMark(), SwDoc::GotoTOXMark(), IsReadOnlyAvailable(), SwCursor::IsSelOvr(), m_pCurrentCursor, READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwTOXMgr::DeleteTOXMark(), SwIndexMarkPane::InitControls(), SwTOXMgr::NextTOXMark(), SwTOXMgr::PrevTOXMark(), and SwIndexMarkPane::UpdateDialog().
void SwCursorShell::GotoTOXMarkBase | ( | ) |
jump to index of TOXMark
Definition at line 359 of file crstrvl.cxx.
References CHKRANGE, SwTOXType::FindContentFrame(), SwDoc::GetCurTOXMark(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), SwPaM::GetPoint(), SwCursor::IsInProtectTable(), SwCursor::IsSelOvr(), m_pCurrentCursor, READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwTextShell::ExecIdx().
|
inline |
Definition at line 897 of file crsrsh.hxx.
References SwPaM::HasMark(), and m_pCurrentCursor.
Referenced by SwFEShell::ChgCurPageDesc(), SwBaseShell::Execute(), SwWrtShell::ExtSelLn(), SwWrtShell::ExtSelWrd(), SwTransferable::GetData(), SwEditShell::GetOLEObject(), SwEditWin::KeyInput(), LRMargin(), SwLangHelper::SelectCurrentPara(), SwEditWin::SetCursorTwipPosition(), SwTransferable::SetDataForDragAndDrop(), SwTextShell::StateInsert(), and SwWrtShell::SttSelect().
bool SwCursorShell::HasReadonlySel | ( | bool | isReplace = false | ) | const |
Definition at line 3359 of file crsrsh.cxx.
References sw::proofreadingiterator::get(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), sw::Ring< value_type >::GetRingContainer(), SwViewShell::GetViewOptions(), SwDocShell::GetWrtShell(), SwWrtShell::HasFoldedOutlineContentSelected(), SwTableCursor::HasReadOnlyBoxSel(), SwPaM::HasReadonlySel(), SwViewOption::IsIgnoreProtectedArea(), IsReadOnlyAvailable(), m_pCurrentCursor, m_pTableCursor, and PROTECT_FORM.
Referenced by SwAuthorMarkPane::Activate(), SwFieldDlg::Activate(), SwEditWin::Command(), SwTbxAutoTextCtrl::CreatePopupWindow(), SwEditShell::Delete(), SwEditShell::DelFullPara(), SwFieldEditDlg::EnableInsert(), SwFieldDlg::EnableInsert(), SwTextShell::ExecCharAttr(), SwTextShell::ExecField(), SwTextShell::Execute(), SwTextShell::GetIdxState(), SwBaseShell::GetState(), SwTextShell::GetState(), SwFieldEditDlg::Init(), SwIndexMarkPane::InsertUpdate(), SwEditWin::KeyInput(), SwIndexMarkPane::ModifyHdl(), SwEditWin::MouseButtonUp(), SwFieldDlg::ReInitDlg(), SwEditShell::Replace(), SwTransferable::StartDrag(), SwTextShell::StateField(), SwView::StateStatusLine(), SwGlossaryDlg::SwGlossaryDlg(), SwIndexMarkPane::UpdateDialog(), and SwJavaEditDialog::UpdateFromRadioButtons().
bool SwCursorShell::HasSelection | ( | ) | const |
Does the current cursor create a selection?
This means checking if GetMark is set and if SPoint and GetMark differ.
Definition at line 2535 of file crsrsh.cxx.
References SwPaM::End(), SwViewShell::GetDoc(), SwPaM::GetMark(), SwPaM::GetPoint(), getShellCursor(), SwPaM::HasMark(), IsFlySelectedByCursor(), IsTableMode(), and SwPaM::Start().
Referenced by SwWrtShell::AddLeaveSelect(), BlockCursorToCursor(), CreateNewShellCursor(), SwWrtShell::EnterAddMode(), GetShadowCursorPos(), SwWrtShell::HasSelection(), SwEditShell::InsertURL(), SwEditShell::IsNoNum(), SwEditShell::NumOrNoNum(), SwEditShell::SetAttrItem(), SwEditShell::SetAttrSet(), SwWrtShell::SetPageStyle(), SetShadowCursorPos(), SwFEShell::Sort(), SwWrtShell::SttLeaveSelect(), and UpdateCursor().
|
inline |
Definition at line 461 of file crsrsh.hxx.
Referenced by SwFEShell::Copy().
void SwCursorShell::HideCursor | ( | ) |
Definition at line 2429 of file crsrsh.cxx.
References SwViewShell::GetSfxViewShell(), SwVisibleCursor::Hide(), comphelper::LibreOfficeKit::isActive(), SfxViewShell::libreOfficeKitViewCallback(), m_bBasicHideCursor, m_bSVCursorVis, m_pCurrentCursor, m_pVisibleCursor, SfxLokHelper::notifyOtherViews(), SwSelPaintRects::SetShowContentControlOverlay(), and SwSelPaintRects::SetShowTextInputFieldOverlay().
Referenced by SwEditWin::DeleteSurroundingText(), SwTransferable::DragFinished(), SwWrtShell::EnterSelFrameMode(), SwTextShell::ExecMoveMisc(), SwBaseShell::Execute(), SwEditWin::GetSurroundingText(), SwEditWin::GetSurroundingTextSelection(), SwContentTree::GotoContent(), SwWrtShell::GotoDrawingObject(), IMPL_LINK(), SwEditWin::KeyInput(), SwEditWin::MouseButtonDown(), SwWrtShell::NoEdit(), SwWrtShell::PopCursor(), SwTransferable::PrivateDrop(), SwXTextView::select(), SwEditWin::SelectMenuPosition(), SwEditShell::SetExtTextInputData(), and SwTransferable::SetSelInShell().
void SwCursorShell::HideCursors | ( | ) |
Definition at line 2381 of file crsrsh.cxx.
References SwVisibleCursor::Hide(), SwShellCursor::Hide(), SwVisibleCursor::IsVisible(), m_bBasicHideCursor, m_bHasFocus, m_pCurrentCursor, m_pTableCursor, and m_pVisibleCursor.
Referenced by ShellLoseFocus().
|
inline |
Definition at line 779 of file crsrsh.hxx.
Referenced by SwNavigationPI::~SwNavigationPI().
|
inline |
Definition at line 764 of file crsrsh.hxx.
Referenced by SwXTextViewCursor::isAtStartOfLine().
|
private |
Definition at line 567 of file crsrsh.cxx.
References SwViewShell::GetLayout(), getShellCursor(), and SwCursor::IsAtLeftRightMargin().
|
inline |
Definition at line 765 of file crsrsh.hxx.
Referenced by SwXTextViewCursor::isAtEndOfLine().
|
inline |
Definition at line 828 of file crsrsh.hxx.
Referenced by CheckTableBoxContent(), SwInsertDBColAutoPilot::DataToDoc(), and SaveTableBoxContent().
|
inline |
Definition at line 656 of file crsrsh.hxx.
Referenced by SwEditShell::Copy(), and IsEndOfTable().
bool SwCursorShell::IsCursorInFootnote | ( | ) | const |
Definition at line 1151 of file crsrsh.cxx.
References SwPaM::GetPointNode(), SwStartNode::GetStartNodeType(), m_pCurrentCursor, SwNode::StartOfSectionNode(), and SwFootnoteStartNode.
Referenced by SwTextShell::GetState(), and SwTextShell::StateField().
|
inline |
Definition at line 909 of file crsrsh.hxx.
References SwNode::FindTableNode(), SwPaM::GetPointNode(), and m_pCurrentCursor.
Referenced by SwFEShell::CanUnProtectCells(), SwWrtShell::DelLeft(), SwWrtShell::DelRight(), AutoFormatPreview::DetectRTL(), SwBaseShell::Execute(), SwTextShell::Execute(), SwView::ExecuteStatusLine(), GetBoxNms(), GetCurField(), SwWrtShell::GetSelectionType(), SwFEShell::GetTableAutoFormat(), SwEditShell::GetTableChgMode(), SwEditShell::GetTableFormat(), SwWrtShell::GoEnd(), GoNextCell(), GoPrevCell(), SwWrtShell::GoStart(), SwFEShell::HasBoxSelection(), SwFEShell::HasWholeTabSelection(), SwTableFUNC::InsertChart(), SwWrtShell::InsertColumnBreak(), SwModule::InsertEnv(), SwWrtShell::InsertPageBreak(), InsertTableImpl(), IsEndOfTable(), lcl_GetSelTable(), SwTransferable::PrivateDrop(), SwWrtShell::SelAll(), SwAccessibleTable::selectAccessibleChild(), SwEditShell::SetTableChgMode(), SwFEShell::SetTableStyle(), SwInputWindow::ShowWin(), SwBaseShell::StateClpbrd(), SwView::StateStatusLine(), SwDocShell::StateStyleSheet(), SwInsertChart::SwInsertChart(), SwEditShell::UpdateTable(), SwFEShell::UpdateTableStyleFormatting(), and SwContentTree::UpdateTracking().
|
inline |
Definition at line 914 of file crsrsh.hxx.
References SwPaM::End(), SwPaM::GetPoint(), and m_pCurrentCursor.
Referenced by SwWrtShell::BeginDrag(), SwTextShell::ExecField(), SwBaseShell::Execute(), SwWrtShell::ExtSelLn(), IMPL_LINK(), SwWrtShell::InsertFootnote(), SwTextShell::InsertSymbol(), SwEditShell::InsertURL(), SwWrtShell::IntelligentCut(), SwNavigationPI::MoveOutline(), SwWrtShell::SelAll(), and SwTextShell::StateInsert().
bool SwCursorShell::IsCursorReadonly | ( | ) | const |
Definition at line 3306 of file crsrsh.cxx.
References CursorInsideInputField(), SwFrame::FindFlyFrame(), SwFrame::FindSctFrame(), GetCurrFrame(), SwViewShell::GetDrawView(), SwSectionFrame::GetSection(), SwViewShell::GetViewOptions(), SwSection::IsEditInReadonlyFlag(), SwFrame::IsInFly(), SwFrame::IsInSct(), IsMultiSelection(), SwFrame::IsNoTextFrame(), and SwLayoutFrame::Lower().
Referenced by SwEditWin::Command(), SwWrtShell::Down(), sw::DropDownFieldDialog::DropDownFieldDialog(), SwEditWin::KeyInput(), SwWrtShell::Left(), SwWrtShell::LeftMargin(), SwFEShell::ProtectCells(), SwWrtShell::Right(), SwWrtShell::RightMargin(), SwVisibleCursor::SetPosAndShow(), SwFieldInputDlg::SwFieldInputDlg(), SwWrtShell::Up(), UpdateCursor(), and SwEditWin::UpdatePointer().
|
inline |
Definition at line 536 of file crsrsh.hxx.
References SwRect::Overlaps(), and SwViewShell::VisArea().
Referenced by SwContentTree::GotoContent(), and SwWrtShell::PushCursor().
bool SwCursorShell::IsEndOfDoc | ( | ) | const |
Definition at line 2779 of file crsrsh.cxx.
References SwPosition::GetContentIndex(), SwNode::GetContentNode(), SwViewShell::GetDoc(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwViewShell::GetNodes(), SwPaM::GetPoint(), SwNodes::GoPrevious(), SwContentNode::Len(), and m_pCurrentCursor.
Referenced by SwWrtShell::DelNxtWord(), SwWrtShell::DelToEndOfSentence(), SwEditWinUIObject::get_state(), IMPL_LINK_NOARG(), and SwSearchOptions::SwSearchOptions().
bool SwCursorShell::IsEndOfTable | ( | ) | const |
at the very last SwPosition inside a table
Definition at line 1133 of file crsrsh.cxx.
References SwNode::EndOfSectionNode(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPaM::GetPoint(), SwNode::GetTextNode(), IsBlockMode(), IsCursorInTable(), IsEndPara(), IsTableMode(), m_pCurrentCursor, and SAL_WARN_IF.
Referenced by SwWrtShell::DelToEndOfSentence().
bool SwCursorShell::IsEndPara | ( | ) | const |
Definition at line 1114 of file crsrsh.cxx.
References SwPosition::GetContentIndex(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPosition::GetNode(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwTextFrame::GetText(), SwNode::GetTextNode(), SwContentNode::Len(), m_pCurrentCursor, and SwTextFrame::MapModelToViewPos().
Referenced by SwFormatClipboard::Copy(), SwInsertDBColAutoPilot::DataToDoc(), SwWrtShell::DelNxtWord(), SwWrtShell::DelRight(), SwWrtShell::DelToEndOfSentence(), SwTextShell::ExecCharAttr(), SwBaseShell::ExecDelete(), SwView::ExecSpellPopup(), SwWrtShell::ExtSelLn(), SwWrtShell::FwdSentence_(), SwEditWinUIObject::get_state(), SwMailMergeLayoutPage::InsertGreeting(), SwWrtShell::IsEndOfPara(), IsEndOfTable(), SwWrtShell::IsEndWrd(), SwEditWin::KeyInput(), lcl_IsAllowed(), SwWrtShell::NxtWrd_(), SwWrtShell::NxtWrdForDelete(), SwWrtShell::PrvWrd_(), SwLangHelper::SelectCurrentPara(), and SwWrtShell::SplitNode().
bool SwCursorShell::IsEndSentence | ( | ) | const |
Definition at line 45 of file crstrvl1.cxx.
References SwViewShell::GetLayout(), SwCursor::IsStartEndSentence(), and m_pCurrentCursor.
Referenced by SwWrtShell::ExtSelLn(), and SwEditWinUIObject::get_state().
bool SwCursorShell::IsEndWord | ( | sal_Int16 | nWordType = css::i18n::WordType::ANYWORD_IGNOREWHITESPACES | ) | const |
Definition at line 31 of file crstrvl1.cxx.
References SwViewShell::GetLayout(), SwCursor::IsEndWordWT(), and m_pCurrentCursor.
Referenced by SwEditWinUIObject::get_state(), SwTextShell::GetState(), and SwWrtShell::IsEndWrd().
bool SwCursorShell::IsFormProtected | ( | ) |
Definition at line 281 of file crbm.cxx.
References IDocumentSettingAccess::get(), SwViewShell::getIDocumentSettingAccess(), and PROTECT_FORM.
Referenced by SwEditWin::KeyInput(), and SwWrtShell::SwWrtShell().
|
inline |
Definition at line 774 of file crsrsh.hxx.
Referenced by SwEditWin::MouseButtonDown(), SwWrtShell::MoveCursor(), and SwEditWin::SelectMenuPosition().
bool SwCursorShell::IsInFrontOfLabel | ( | ) | const |
Definition at line 1157 of file crsrsh.cxx.
References SwPaM::IsInFrontOfLabel(), and m_pCurrentCursor.
Referenced by SwEditWin::KeyInput(), SwEditShell::NumUpDown(), SetCursor(), and SetInFrontOfLabel().
bool SwCursorShell::IsInHeaderFooter | ( | bool * | pbInHeader = nullptr | ) | const |
Definition at line 752 of file crsrsh.cxx.
References SwPosition::GetNode(), SwPaM::GetPoint(), SwFrame::IsHeaderFrame(), lcl_IsInHeaderFooter(), m_pCurrentCursor, and Point.
Referenced by SwTextShell::ExecMoveMisc(), and SwTextShell::StateField().
|
private |
Definition at line 660 of file crsrsh.cxx.
References SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwShellCursor::GetPtPos(), and SwFrame::IsTextFrame().
Referenced by MovePara(), and UpdateCursorPos().
bool SwCursorShell::IsInRightToLeftText | ( | ) | const |
Definition at line 3434 of file crsrsh.cxx.
References GetTextDirection().
Referenced by SwAutoFormat::BuildEnum(), SwFormatClipboard::Copy(), SwTextShell::ExecEnterNum(), SwTextShell::GetAttrState(), SwEditWin::KeyInput(), SwWrtShell::NumOrBulletOn(), and SwView::StateTabWin().
bool SwCursorShell::IsInVerticalText | ( | const Point * | pPt = nullptr | ) | const |
Definition at line 3427 of file crsrsh.cxx.
References GetTextDirection().
Referenced by SwEditWin::Command(), SwView::ExecTabWin(), SwBaseShell::GetTextFontCtrlState(), SwEditWin::KeyInput(), SwView::StateTabWin(), and SwEditWin::UpdatePointer().
bool SwCursorShell::IsInWord | ( | sal_Int16 | nWordType = css::i18n::WordType::ANYWORD_IGNOREWHITESPACES | ) | const |
Definition at line 36 of file crstrvl1.cxx.
References SwViewShell::GetLayout(), SwCursor::IsInWordWT(), and m_pCurrentCursor.
Referenced by SwGlossaryHdl::ExpandGlossary(), SwTextShell::GetState(), SwTransferable::PrivateDrop(), SwTransferable::PrivatePaste(), SwWrtShell::SelNearestWrd(), and sw_CharDialog().
|
inline |
Definition at line 862 of file crsrsh.hxx.
Referenced by SwWrtShell::ExecMacro(), and SwCursorShell().
|
inline |
Definition at line 904 of file crsrsh.hxx.
References SwShellCursor::GetNext(), and m_pCurrentCursor.
Referenced by SwEditWin::Command(), SwTextShell::ExecField(), SwTextShell::Execute(), GetCursorDescr(), SwEditShell::GetDropText(), SwTextShell::GetState(), SwEditWin::GetSurroundingText(), SwWrtShell::HasSelection(), IsCursorReadonly(), SwEditShell::IsNoNum(), SwEditWin::KeyInput(), SwEditShell::NumOrNoNum(), SwEditShell::SetCurNumRule(), and SwEditShell::SetIndent().
bool SwCursorShell::IsOverReadOnlyPos | ( | const Point & | rPt | ) | const |
Definition at line 2739 of file crsrsh.cxx.
References SwViewShell::GetLayout(), SwRootFrame::GetModelPositionForViewPoint(), SwPaM::GetPoint(), SwViewShell::GetViewOptions(), SwPaM::HasReadonlySel(), m_pCurrentCursor, and Point.
Referenced by SwEditWin::GetDropDestination(), and SwEditWin::UpdatePointer().
|
inline |
Definition at line 472 of file crsrsh.hxx.
Referenced by SwEditShell::CreateExtTextInput(), SwEditShell::DeleteExtTextInput(), LeftRight(), SwVisibleCursor::SetPosAndShow(), and UpdateCursor().
bool SwCursorShell::IsPageAtPos | ( | const Point & | rPt | ) | const |
Definition at line 1292 of file crstrvl.cxx.
References SwViewShell::GetLayout(), and SwRootFrame::GetPageAtPos().
Referenced by SwEditWin::UpdatePointer().
|
inline |
Definition at line 490 of file crsrsh.hxx.
Referenced by SwFieldDlg::Activate(), SwFieldEditDlg::EnableInsert(), SwFieldDlg::EnableInsert(), SwContentTree::ExecuteContextMenuAction(), FindValidContentNode(), GetContentAtPos(), GetTextDirection(), GotoNextTOXBase(), GotoNxtPrvTableFormula(), GotoNxtPrvTOXMark(), GotoPrevTOXBase(), GotoRedline_(), GotoTOXMark(), HasReadonlySel(), SwFieldEditDlg::Init(), SwShellCursor::IsReadOnlyAvailable(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), MoveFieldType(), SwFieldDlg::ReInitDlg(), SwFEShell::SelectObj(), SelTableRowOrCol(), SetCursor(), SetVisibleCursor(), SwTextShell::StateField(), TestCurrPam(), UpdateCursor(), UpdateCursorPos(), and SwJavaEditDialog::UpdateFromRadioButtons().
|
inline |
Definition at line 899 of file crsrsh.hxx.
References SwShellCursor::GetNext(), SwPaM::HasMark(), IsTableMode(), and m_pCurrentCursor.
Referenced by SwWrtShell::DelLeft(), SwWrtShell::DelRight(), SwWrtShell::Do(), SwTextShell::Execute(), SwView::ExecutePrint(), SwGlossaryHdl::Expand(), SwGlossaryHdl::ExpandGlossary(), SwVisibleCursor::getLOKPayload(), SwEditShell::GetSelectedText(), SwTextShell::GetState(), SwWrtShell::GotoContentControl(), SwWrtShell::GotoField(), SwWrtShell::GotoFieldmark(), SwWrtShell::InsertOleObject(), SwBaseShell::InsertTable(), SwEditWin::MouseButtonUp(), SwWrtShell::MoveBookMark(), SwWrtShell::Pop(), SwTransferable::PrepareForCopy(), SwWrtShell::SelAll(), SwWrtShell::SelectNextPrevHyperlink(), SwTransferable::SetDataForDragAndDrop(), SwVisibleCursor::SetPosAndShow(), and SwShellCursor::UpDown().
bool SwCursorShell::IsSelFullPara | ( | ) | const |
Definition at line 3395 of file crsrsh.cxx.
References SwPosition::GetContentIndex(), SwPaM::GetMark(), SwPosition::GetNodeIndex(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwPaM::IsMultiSelection(), SwContentNode::Len(), and m_pCurrentCursor.
Referenced by SwTextShell::ExecCharAttrArgs(), SwBaseShell::ExecTextCtrl(), SwEditShell::GetSelectedText(), and sw_CharDialogResult().
bool SwCursorShell::IsSelOnePara | ( | ) | const |
Definition at line 1076 of file crsrsh.cxx.
References sw::FrameContainsNode(), GetCurrFrame(), SwViewShell::GetLayout(), SwPaM::GetMark(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwPaM::GetPoint(), SwPaM::IsMultiSelection(), m_pCurrentCursor, and n.
Referenced by SwEditShell::GetSelectedText(), SwTextShell::GetState(), and SwEditWin::GetSurroundingText().
|
inline |
Definition at line 823 of file crsrsh.hxx.
Referenced by CheckTableBoxContent(), SwWrtShell::DefaultDrag(), SwWrtShell::DefaultEndDrag(), SaveTableBoxContent(), and SwWrtShell::SttLeaveSelect().
|
inline |
Definition at line 475 of file crsrsh.hxx.
Referenced by SwEditWin::DeleteSurroundingText(), SwEditWin::GetSurroundingText(), and SwEditWin::GetSurroundingTextSelection().
bool SwCursorShell::IsStartOfDoc | ( | ) | const |
Definition at line 2767 of file crsrsh.cxx.
References SwPosition::GetContentIndex(), SwViewShell::GetDoc(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwDoc::GetNodes(), SwViewShell::GetNodes(), SwPaM::GetPoint(), SwNodes::GoNext(), SwNode::IsContentNode(), and m_pCurrentCursor.
Referenced by SwWrtShell::DelPrvWord(), SwWrtShell::DelToStartOfSentence(), SwEditWinUIObject::get_state(), SwSpellDialogChildWindow::GetNextWrongSentence(), IMPL_LINK_NOARG(), and SwSearchOptions::SwSearchOptions().
bool SwCursorShell::IsStartSentence | ( | ) | const |
Definition at line 41 of file crstrvl1.cxx.
References SwViewShell::GetLayout(), SwCursor::IsStartEndSentence(), and m_pCurrentCursor.
Referenced by SwWrtShell::ExtSelLn(), and SwEditWinUIObject::get_state().
bool SwCursorShell::IsStartWord | ( | sal_Int16 | nWordType = css::i18n::WordType::ANYWORD_IGNOREWHITESPACES | ) | const |
Definition at line 27 of file crstrvl1.cxx.
References SwViewShell::GetLayout(), SwCursor::IsStartWordWT(), and m_pCurrentCursor.
Referenced by SwWrtShell::DelNxtWord(), SwWrtShell::DelPrvWord(), SwEditWinUIObject::get_state(), SwTextShell::GetState(), SwWrtShell::NxtWrd_(), SwTransferable::PrivateDrop(), SwTransferable::PrivatePaste(), SwWrtShell::PrvWrd_(), and SwWrtShell::SelNearestWrd().
bool SwCursorShell::IsSttPara | ( | ) | const |
Definition at line 1095 of file crsrsh.cxx.
References SwPosition::GetContentIndex(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPosition::GetNode(), SwPaM::GetPoint(), SwNode::GetTextNode(), m_pCurrentCursor, and SwTextFrame::MapModelToViewPos().
Referenced by SwWrtShell::BwdSentence_(), SwContentTree::CopyOutlineSelections(), SwInsertDBColAutoPilot::DataToDoc(), SwContentTree::DeleteOutlineSelections(), SwWrtShell::DelLeft(), SwWrtShell::DelPrvWord(), SwWrtShell::DelRight(), SwBaseShell::ExecDelete(), SwView::ExecSpellPopup(), SwEditWinUIObject::get_state(), SwWrtShell::IsEndWrd(), SwEditShell::IsNoNum(), SwWrtShell::IsSttOfPara(), SwEditWin::KeyInput(), SwEditShell::NumOrNoNum(), SwTransferable::PrivateDrop(), SwWrtShell::PrvWrd_(), SwWrtShell::PrvWrdForDelete(), SwLangHelper::SelectCurrentPara(), and SwWrtShell::SttWrd().
bool SwCursorShell::IsTableComplexForChart | ( | ) |
Definition at line 723 of file trvltbl.cxx.
References EndAction(), SwNode::FindTableNode(), GetBoxNms(), SwPosition::GetNode(), SwPaM::GetPoint(), SwTableNode::GetTable(), SwTable::IsTableComplexForChart(), m_pCurrentCursor, m_pTableCursor, and StartAction().
Referenced by SwBaseShell::Execute(), SwTableShell::GetState(), and SwInsertChart::SwInsertChart().
|
inline |
Definition at line 659 of file crsrsh.hxx.
Referenced by SwEditShell::AcceptRedlinesInSelection(), SwWrtShell::AddLeaveSelect(), SwSortDlg::Apply(), SwFEShell::CanUnProtectCells(), SwEditWin::changeMousePointer(), SwFEShell::CheckHeadline(), CheckSplitCells(), SwFEShell::Copy(), SwEditShell::CopySelToDoc(), CreateCursor(), SwEditShell::DeleteGlobalDocContent(), SwEditShell::DelFullPara(), DestroyCursor(), SwEditShell::DontExpandFormat(), SwTransferable::DragFinished(), SwWrtShell::EnterAddMode(), SwTextShell::ExecCharAttrArgs(), SwTextShell::ExecDelete(), SwBaseShell::ExecDlg(), SwView::ExecSpellPopup(), SwView::Execute(), SwBaseShell::Execute(), SwTableShell::Execute(), ExtendSelection(), SwWrtShell::ExtSelLn(), SwWrtShell::ExtSelWrd(), SwViewShell::FillPrtDoc(), SwBaseShell::GetBorderState(), GetBoxNms(), GetChar(), SwEditShell::GetCntType(), GetContentAtPos(), SwEditShell::GetCorrection(), SwEditShell::GetCurrSection(), SwAccessibleFrameBase::GetCursor(), SwAccessibleParagraph::GetCursor(), SwEditShell::GetGrammarCorrection(), GetPostItFieldAtCursor(), SwFEShell::GetRowSelectionFromTop(), SwAccessibleTable::GetSelBoxes(), SwWrtShell::GetSelectionType(), GetShadowCursorPos(), SwBaseShell::GetState(), SwTableShell::GetState(), SwTextShell::GetState(), SwFEShell::GetTableAutoFormat(), SwEditShell::GetTableBoxFormulaAttrs(), SwEditShell::GetTableBoxText(), GetTableSel(), GetTableSelCrs(), GoNextCell(), GoPrevCell(), SwEditShell::GotoGlobalDocContent(), GotoNxtPrvTableFormula(), GotoNxtPrvTOXMark(), GotoRedline(), SwFEShell::HasBoxSelection(), HasSelection(), SwFEShell::HasWholeTabSelection(), IMPL_LINK(), SwCallLink::ImplDestroy(), SwWrtShell::InsertField2(), SwEditShell::InsertGlobalDocContent(), SwWrtShell::InsertPostIt(), SwEditShell::InsertSection(), SwBaseShell::InsertTable(), IsEndOfTable(), SwEditShell::IsInsRegionAvailable(), SwOleClient::IsProtected(), IsSelection(), SwEditShell::IsTableBoxTextFormat(), ItemSetToTableParam(), SwEditWin::KeyInput(), lcl_TableParamToItemSet(), LeftRight(), LRMargin(), SwFEShell::MergeTab(), SwEditWin::MouseButtonDown(), SwEditShell::MoveGlobalDocContent(), SwFEShell::NewFlyFrame(), sw::NotifyTableCollapsedParagraph(), PaMCorrAbs(), PaMCorrRel(), SwFEShell::Paste(), SwTransferable::PasteData(), PrepareBoxInfo(), SwTransferable::PrivateDrop(), SwFEShell::ProtectCells(), SwEditShell::RejectRedlinesInSelection(), SwWrtShell::SelAll(), SelectTextAttr(), SelNextRedline(), SelPrevRedline(), SwFEShell::SelTableRowCol(), SwEditShell::SetAttrItem(), SwEditShell::SetAttrSet(), SetCursor(), SetShadowCursorPos(), SwEditShell::SetTableBoxFormulaAttrs(), ShouldWait(), SwFEShell::Sort(), SwTextShell::StateInsert(), SwCallLink::SwCallLink(), SwInsertChart::SwInsertChart(), SwDoc::TableToText(), SwEditShell::TableToText(), SwFEShell::UnProtectCells(), SwFEShell::UpdateTableStyleFormatting(), UpDown(), and SwWriter::Write().
void SwCursorShell::KillPams | ( | ) |
Definition at line 1022 of file crsrsh.cxx.
References SwBlockCursor::clearPoints(), SwPaM::DeleteMark(), SwShellCursor::GetNext(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), SwBlockCursor::getShellCursor(), SwPaM::IsMultiSelection(), m_pBlockCursor, m_pCurrentCursor, m_pTableCursor, SCROLLWIN, SwCursor::SetColumnSelection(), and UpdateCursor().
Referenced by SwEditShell::ApplyAutoMark(), SwOneExampleFrame::ClearDocument(), SwFormatClipboard::Copy(), SwFEShell::DeleteRow(), SwWrtShell::EnterExtMode(), SwWrtShell::EnterStdMode(), SwContentTree::ExecuteContextMenuAction(), SwFEShell::ImpEndCreate(), sw::UndoManager::impl_DoUndoRedo(), SwWrtShell::InsertField2(), SwWrtShell::InsertPostIt(), lcl_GrabCursor(), MakeOutlineSel(), SwFEShell::MergeTab(), SwFEShell::NewFlyFrame(), SwWrtShell::OpenMark(), SwFEShell::ParkCursorInTab(), SwTransferable::PrivateDrop(), SwTransferable::PrivatePaste(), SwEditShell::Redo(), SwWrtShell::ResetSelect(), SwEditShell::SaveGlossaryDoc(), SwAccessibleContext::Select(), SwFEShell::SelectFlyFrame(), SwFEShell::SelectObj(), SwFEShell::SelFlyGrabCursor(), and SwEditShell::Undo().
|
inline |
Definition at line 361 of file crsrsh.hxx.
Referenced by SwWrtShell::BwdSentence_(), SwWrtShell::DelLeft(), SwWrtShell::DelRight(), SwWrtShell::InsertPostIt(), SwWrtShell::IntelligentCut(), SwWrtShell::Left(), SwWrtShell::PrvWrd_(), SwWrtShell::PrvWrdForDelete(), and SwEditShell::SetExtTextInputData().
|
inline |
Definition at line 367 of file crsrsh.hxx.
Referenced by SwWrtShell::DelLine(), SwWrtShell::DelToStartOfLine(), GetSmartTagRect(), SwEditShell::HandleCorrectionError(), and SwWrtShell::LeftMargin().
|
private |
Definition at line 323 of file crsrsh.cxx.
References SwBlockCursor::clearPoints(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPosition::GetNode(), sw::GetParaPropsNode(), SwPaM::GetPoint(), getShellCursor(), SwNode::GetTextNode(), SwViewShell::GetViewOptions(), GoNextCell(), GoPrevCell(), SwPaM::HasMark(), SwTextNode::HasVisibleNumberingOrBullet(), SwPaM::IsInFrontOfLabel(), IsOverwriteCursor(), SwViewOption::IsShowHiddenChar(), IsTableMode(), SwNode::IsTextNode(), SwCursor::LeftRight(), m_pBlockCursor, SetInFrontOfLabel(), and UpdateCursor().
|
private |
Definition at line 532 of file crsrsh.cxx.
References SwBlockCursor::clearPoints(), GetCursor_(), SwViewShell::GetLayout(), GetNode(), sw::GetParaPropsNode(), SwPaM::GetPointNode(), getShellCursor(), SwNode::GetTextNode(), HasMark(), SwTextNode::HasVisibleNumberingOrBullet(), SwCursor::IsAtLeftRightMargin(), IsTableMode(), LeftMargin, SwCursor::LeftRightMargin(), m_eMvState, m_pBlockCursor, and SetInFrontOfLabel().
|
inlineprotected |
Definition at line 887 of file crsrsh.hxx.
References m_pCurrentCursor, and SwCursor::MakeFindRange().
Referenced by SwEditShell::SetLinguRange(), and SwEditShell::SetNumberingRestart().
void SwCursorShell::MakeOutlineSel | ( | SwOutlineNodes::size_type | nSttPos, |
SwOutlineNodes::size_type | nEndPos, | ||
bool | bWithChildren, | ||
bool | bKillPams = true |
||
) |
Definition at line 1214 of file crstrvl.cxx.
References SwPosition::Assign(), CHKRANGE, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), fnMoveBackward, SwTextNode::GetAttrOutlineLevel(), SwViewShell::GetDoc(), SwNodes::GetEndOfContent(), SwDoc::GetNodes(), SwNodes::GetOutLineNds(), SwPaM::GetPoint(), SwNode::GetTextNode(), GoInNode(), SwCursor::IsSelOvr(), KillPams(), m_pCurrentCursor, SwPaM::Move(), READONLY, SCROLLWIN, SwShellCursor::SetMark(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), and UpdateCursor().
Referenced by SwContentTree::CopyOutlineSelections(), SwContentTree::DeleteOutlineSelections(), SwContentTree::ExecCommand(), SwContentTree::ExecuteContextMenuAction(), lcl_OutlineUpDownWithSubPoints(), and SwNavigationPI::MoveOutline().
|
virtual |
show the current selected "object"
Reimplemented in SwFEShell.
Definition at line 3089 of file crsrsh.cxx.
References SwRect::AddHeight(), SwRect::AddWidth(), SwRect::HasArea(), Height, SwRect::Height(), m_aCharRect, m_aCursorHeight, m_bHasFocus, SwViewShell::MakeVisible(), SwRect::Top(), and SwViewShell::VisArea().
Referenced by SwFEShell::MakeSelVisible(), SelectNxtPrvHyperlink(), and UpdateCursor().
|
private |
Mark a certain list level of a certain list.
levels of a certain lists are marked now
sListId | list Id of the list whose level is marked |
nLevel | to be marked list level |
An empty sListId denotes that no level of a list is marked.
Definition at line 388 of file crsrsh.cxx.
References m_nMarkedListLevel, m_sMarkedListId, and SwViewShell::mxDoc.
Referenced by UpdateMarkedListLevel().
void SwCursorShell::MoveColumn | ( | SwWhichColumn | fnWhichCol, |
SwPosColumn | fnPosCol | ||
) |
Definition at line 66 of file trvlcol.cxx.
References SwFrame::Calc(), GetColumnEnd(), GetCurrFrame(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwFrame::GetModelPositionForViewPoint(), SwViewShell::GetOut(), SwPaM::GetPoint(), SwFrame::GetUpper(), SwRect::Height(), SwCursor::IsInProtectTable(), SwCursor::IsSelOvr(), m_pCurrentCursor, m_pTableCursor, Point, SwRect::Pos(), UpdateCursor(), and SwRect::Width().
Referenced by SwWrtShell::EndOfColumn(), SwWrtShell::EndOfNextColumn(), SwWrtShell::EndOfPrevColumn(), SwWrtShell::StartOfColumn(), SwWrtShell::StartOfNextColumn(), and SwWrtShell::StartOfPrevColumn().
|
private |
Definition at line 81 of file crstrvl.cxx.
References SwViewShell::ActionPend(), SwFrame::Calc(), SwRect::Center(), ChangePos, CHKRANGE, SwFrame::GetCharRect(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwFrame::GetModelPositionForViewPoint(), SwViewShell::GetOut(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwShellCursor::GetPtPos(), GetUpDownX(), SwCursor::IsSelOvr(), SwFrame::IsVertical(), SwRect::Left(), m_aCharRect, m_pCurrentCursor, Point, READONLY, SCROLLWIN, Toggle, SwRect::Top(), UpdateCursor(), and UPDOWN.
Referenced by GotoNextNum(), and GotoPrevNum().
bool SwCursorShell::MoveFieldType | ( | const SwFieldType * | pFieldType, |
const bool | bNext, | ||
const SwFieldIds | nResType = SwFieldIds::Unknown , |
||
const bool | bAddSetExpressionFieldsToInputFields = true |
||
) |
Definition at line 669 of file crstrvl.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::begin(), CheckNodeSection, SwTextField::ChgTextNode(), CHKRANGE, DateTime, sw::Default, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::end(), SwTextAttr::GetAttr(), SwPosition::GetContentIndex(), SwTextNode::GetFieldTextAttrAt(), SwViewShell::GetLayout(), SwPosition::GetNode(), SwPaM::GetPoint(), SetGetExpField::GetPosOfContent(), getShellCursor(), SwTextAttr::GetStart(), SwNode::GetTextNode(), i, Input, IsReadOnlyAvailable(), SwCursor::IsSelOvr(), lcl_FindField(), lcl_MakeFieldLst(), m_pCurrentCursor, SwViewShell::mxDoc, READONLY, RES_TXTATR_INPUTFIELD(), SCROLLWIN, SetExp, Toggle, Unknown, UpdateCursor(), SwFieldType::Which(), and SwTextAttr::Which().
Referenced by SwTextShell::ExecField(), SwBaseShell::Execute(), SwFieldMgr::GoNextPrev(), IMPL_LINK(), and SwEditWin::KeyInput().
bool SwCursorShell::MovePage | ( | SwWhichPage | fnWhichPage, |
SwPosPage | fnPosPage | ||
) |
Definition at line 634 of file crsrsh.cxx.
References ChangePos, GetFrameInPage(), SwViewShell::GetLayout(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwShellCursor::GetPtPos(), SwPaM::HasMark(), SwCursor::IsNoContent(), SwCursor::IsSelOvr(), m_pCurrentCursor, Point, Toggle, and UpdateCursor().
Referenced by SwWrtShell::EndNxtPg(), SwWrtShell::EndPg(), SwWrtShell::EndPrvPg(), SwFEShell::PastePages(), SwWrtShell::SttNxtPg(), SwWrtShell::SttPg(), and SwWrtShell::SttPrvPg().
bool SwCursorShell::MovePara | ( | SwWhichPara | fnWhichPara, |
SwMoveFnCollection const & | fnPosPara | ||
) |
Definition at line 696 of file crsrsh.cxx.
References getShellCursor(), IsAtStartOrEndOfFrame(), isInHiddenTextFrame(), SwCursor::MovePara(), and UpdateCursor().
Referenced by SwWrtShell::BwdPara_(), SwWrtShell::BwdSentence_(), SwHTMLParser::Continue(), SwWrtShell::DelToEndOfPara(), SwWrtShell::DelToEndOfSentence(), SwWrtShell::DelToStartOfPara(), SwWrtShell::EndPara(), SwWrtShell::EndWrd(), SwView::ExecSpellPopup(), SwWrtShell::FwdPara_(), SwWrtShell::FwdSentence_(), SwMailMergeLayoutPage::InsertGreeting(), SwWrtShell::NxtWrd_(), SwWrtShell::NxtWrdForDelete(), SwWrtShell::PrvWrd_(), SwWrtShell::PrvWrdForDelete(), SwLangHelper::SelectCurrentPara(), SwWrtShell::SelPara(), SwWrtShell::SttPara(), SwWrtShell::SttWrd(), and SwDropCapsPict::UpdatePaintSettings().
bool SwCursorShell::MoveRegion | ( | SwWhichRegion | fnWhichRegion, |
SwMoveFnCollection const & | fnPosRegion | ||
) |
Definition at line 236 of file trvlreg.cxx.
References m_pCurrentCursor, m_pTableCursor, SwCursor::MoveRegion(), and UpdateCursor().
Referenced by SwTextShell::ExecMoveMisc(), SwWrtShell::GoEnd(), SwWrtShell::GoStart(), and IMPL_LINK().
bool SwCursorShell::MoveSection | ( | SwWhichSection | fnWhichSect, |
SwMoveFnCollection const & | fnPosSect | ||
) |
Definition at line 720 of file crsrsh.cxx.
References getShellCursor(), SwCursor::MoveSection(), and UpdateCursor().
Referenced by SwInputWindow::DelBoxContent(), SwWrtShell::GoEnd(), SwWrtShell::GoStart(), SwEditWin::KeyInput(), SwWrtShell::SelAll(), and SwInputWindow::ShowWin().
bool SwCursorShell::MoveTable | ( | SwWhichTable | fnWhichTable, |
SwMoveFnCollection const & | fnPosTable | ||
) |
Definition at line 679 of file trvltbl.cxx.
References CHKRANGE, SwPaM::DeleteMark(), SwPosition::GetContentIndex(), SwPosition::GetNodeIndex(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), SwPaM::HasMark(), m_pCurrentCursor, m_pTableCursor, SwCursor::MoveTable(), Point, READONLY, SCROLLWIN, SwShellTableCursor::SetMark(), and UpdateCursor().
Referenced by SwInsertDBColAutoPilot::DataToDoc(), SwAccessibleTable::deselectAccessibleChild(), SwTextShell::ExecMoveMisc(), SwTableShell::Execute(), SwWrtShell::GoEnd(), SwWrtShell::GoStart(), IMPL_LINK(), SwTableFUNC::InsertChart(), InsertTableImpl(), SwUndoInsTable::RedoImpl(), SwAccessibleTable::selectAccessibleChild(), and SwInsertDBColAutoPilot::SetTabSet().
void SwCursorShell::NormalizePam | ( | bool | bPointFirst = true | ) |
Ensure point and mark of the current PaM are in a specific order.
bPointFirst | true: 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 970 of file crsrsh.cxx.
References m_pCurrentCursor, and SwPaM::Normalize().
Referenced by SwWrtShell::ClickToField(), SwWrtShell::DelLeft(), SwWrtShell::DelRight(), SwFieldEditDlg::EnsureSelection(), SwEditWin::FlushInBuffer(), SwWrtShell::Insert(), SwWrtShell::InsertField2(), SelNextRedline(), and SelPrevRedline().
void SwCursorShell::NotifyCursor | ( | SfxViewShell * | pViewShell | ) | const |
Definition at line 1319 of file crsrsh.cxx.
References EditView::DrawSelectionXOR(), SwViewShell::GetDrawView(), SwViewShell::GetSfxViewShell(), m_bSVCursorVis, m_pCurrentCursor, m_pVisibleCursor, SfxLokHelper::notifyOtherView(), EditView::RegisterOtherShell(), SwVisibleCursor::SetPosAndShow(), SwShellCursor::Show(), and EditView::ShowCursor().
|
overridevirtual |
Reimplemented from SwViewShell.
Definition at line 1411 of file crsrsh.cxx.
References SwViewShell::ActionPend(), ExtendedSelectedAll(), SwViewShell::GetPostItMgr(), SwVisibleCursor::Hide(), SwShellCursor::Invalidate(), SwVisibleCursor::IsVisible(), m_aCharRect, m_bBasicHideCursor, m_bHasFocus, m_bSVCursorVis, m_pCurrentCursor, m_pTableCursor, m_pVisibleCursor, SwViewShell::mbSelectAll, SwRect::Overlaps(), SwViewShell::Paint(), SwVisibleCursor::Show(), SwShellCursor::Show(), StartsWithTable(), and SwViewShell::VisArea().
Referenced by SwEditWin::Paint().
void SwCursorShell::ParkCursor | ( | const SwNode & | rIdx | ) |
Remove selections and additional cursors of all shells.
The remaining cursor of the shell is parked.
rIdx | ??? |
Definition at line 2885 of file crsrsh.cxx.
References SwPosition::Assign(), SwPaM::DeleteMark(), SwNode::EndOfSectionNode(), SwNode::FindTableNode(), GetCursor(), SwPosition::GetNode(), SwPaM::GetPoint(), sw::Ring< SwViewShell >::GetRingContainer(), SwNode::GetStartNode(), SwNode::IsTableNode(), SwPaM::SetMark(), and SwNode::StartOfSectionNode().
Referenced by SwDoc::ChgPageDesc(), SwFEShell::DeleteTableSel(), lcl_DelHFFormat(), and SwFEShell::NewFlyFrame().
|
private |
Definition at line 2814 of file crsrsh.cxx.
References SwPosition::Assign(), SwPaM::DeleteMark(), SwShellCursor::GetNext(), SwPaM::GetPoint(), GoNextCursor(), m_pCurrentCursor, and SwPaM::StartEnd().
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 2797 of file crsrsh.cxx.
References SwPaM::DeleteMark(), SwShellCursor::GetNext(), SwPaM::GetPoint(), m_pCurrentCursor, m_pTableCursor, and SwTableCursor::ParkCursor().
Referenced by SwFEShell::Copy(), and SwFEShell::Paste().
bool SwCursorShell::Pop | ( | PopMode | eDelete | ) |
delete cursor
eDelete | delete from stack, or delete current and assign the one from stack as the new current cursor. |
Definition at line 2273 of file crsrsh.cxx.
References Pop().
bool SwCursorShell::Pop | ( | PopMode | , |
::std::optional< SwCallLink > & | roLink | ||
) |
Referenced by SwEditShell::ApplyAutoMark(), SwEditShell::ApplyChangedSentence(), SwEditShell::AutoFormatBySplitNode(), SwWrtShell::DelLeft(), SwWrtShell::DelRight(), SwView::ExecSpellPopup(), SwWrtShell::ExtSelWrd(), SwEditShell::FieldToText(), GetSmartTagRect(), SwEditShell::HandleCorrectionError(), SwFEShell::PastePages(), Pop(), SwWrtShell::Pop(), SwInputFieldList::PopCursor(), SwEditShell::Redo(), SwEditShell::SetNumberingRestart(), SwAutoFormat::SwAutoFormat(), SwEditShell::Undo(), and SwWriter::Write().
|
static |
Definition at line 991 of file crstrvl.cxx.
References GetTextFieldAtPos(), and sw::Parent.
Referenced by SwFieldDlg::Activate(), DocPtInsideInputField(), SwFieldDlg::EnableInsert(), SwFEShell::FindAnchorPos(), lcl_FindAnchorPos(), and SwFieldDlg::ReInitDlg().
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 2251 of file crsrsh.cxx.
References SwPaM::GetMark(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), SwPaM::HasMark(), m_pCurrentCursor, m_pStackCursor, m_pTableCursor, and SwShellCursor::SetMark().
Referenced by SwMailMergeLayoutPage::Activate(), SwEditShell::ApplyAutoMark(), SwEditShell::ApplyChangedSentence(), SwEditShell::AutoFormatBySplitNode(), SwWrtShell::BwdPara_(), SwWrtShell::BwdSentence_(), SwDocShell::ConvertTo(), SwFormatClipboard::Copy(), SwInputWindow::DelBoxContent(), SwEditWin::DeleteSurroundingText(), SwWrtShell::DelLeft(), SwWrtShell::DelLine(), SwWrtShell::DelRight(), SwWrtShell::DelToEndOfPara(), SwWrtShell::DelToEndOfSentence(), SwWrtShell::DelToStartOfPara(), SwWrtShell::EndWrd(), SwContentTree::ExecCommand(), SwTextShell::ExecField(), SwView::ExecSpellPopup(), SwView::ExecTabWin(), SwTextShell::Execute(), SwBreakDashedLine::execute(), SwWrtShell::ExtSelWrd(), SwEditShell::FieldToText(), SwEditWin::FlushInBuffer(), SwWrtShell::FwdPara_(), SwWrtShell::FwdSentence_(), GetSmartTagRect(), SwEditWin::GetSurroundingText(), SwEditWin::GetSurroundingTextSelection(), SwEditShell::HandleCorrectionError(), IMPL_LINK(), SwHandleAnchorNodeChg::ImplDestroy(), SwWrtShell::Insert(), BookmarkTable::InsertBookmark(), SwFieldMgr::InsertField(), SwMailMergeLayoutPage::InsertGreeting(), SwModule::InsertLab(), SwWrtShell::InsertPostIt(), SwWrtShell::IntelligentCut(), SwTextContentControl::Invalidate(), ItemSetToTableParam(), SwEditWin::KeyInput(), lcl_OutlineUpDownWithSubPoints(), lcl_SelectSameStrings(), lcl_SetAllTextToDefaultLanguage(), lcl_TableParamToItemSet(), SwWrtShell::NxtWrd_(), SwWrtShell::NxtWrdForDelete(), SwFEShell::PastePages(), SwTransferable::PrivateDrop(), SwWrtShell::PrvWrd_(), SwWrtShell::PrvWrdForDelete(), SwInputFieldList::PushCursor(), SwEditShell::Redo(), SwWrtShell::SelAll(), SwLangHelper::SetLanguageStatus(), SwEditShell::SetNumberingRestart(), SwInputWindow::ShowWin(), SwTextShell::StateInsert(), SwWrtShell::SttWrd(), sw_CharDialog(), SwAutoFormat::SwAutoFormat(), SwEditShell::Undo(), SwGrfShell::SwExternalToolEdit::Update(), SwDropCapsPict::UpdatePaintSettings(), and SwWriter::Write().
|
protected |
Definition at line 2137 of file crsrsh.cxx.
References SwPaM::DeleteMark(), SwSelectionList::getEnd(), SwBlockCursor::getEndPoint(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetMark(), SwShellCursor::GetMkPos(), SwShellCursor::GetNext(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwShellCursor::GetPtPos(), SwBlockCursor::getShellCursor(), SwSelectionList::getStart(), SwBlockCursor::getStartPoint(), GetUpDownX(), SwFrame::IsVertical(), SwRect::Justify(), SwRect::Left(), m_pBlockCursor, m_pCurrentCursor, Point, SwCursor::SetColumnSelection(), SwShellCursor::SetMark(), and SwRect::Top().
Referenced by CursorToBlockCursor(), SttEndDoc(), and UpdateCursor().
|
inline |
Definition at line 363 of file crsrsh.hxx.
Referenced by SwWrtShell::DelLeft(), SwWrtShell::DelRight(), SwWrtShell::DelToEndOfSentence(), SwWrtShell::ExtSelLn(), SwWrtShell::FwdSentence_(), IMPL_LINK(), SwWrtShell::IntelligentCut(), SwWrtShell::NxtWrd_(), SwWrtShell::NxtWrdForDelete(), SwWrtShell::Right(), SwEditShell::SetExtTextInputData(), and VisPortChgd().
|
inline |
Definition at line 368 of file crsrsh.hxx.
Referenced by SwWrtShell::DelLine(), SwWrtShell::DelToEndOfLine(), GetSmartTagRect(), SwEditShell::HandleCorrectionError(), and SwWrtShell::RightMargin().
void SwCursorShell::SaveTableBoxContent | ( | const SwPosition * | pPos = nullptr | ) |
Definition at line 867 of file trvltbl.cxx.
References CheckTableBoxContent(), SwNode::FindSttNodeByType(), SwNode::FindTableNode(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPaM::GetPoint(), SwTableNode::GetTable(), SwTable::GetTableBox(), IsAutoUpdateCells(), IsSelTableCells(), m_pBoxIdx, m_pBoxPtr, m_pCurrentCursor, and SwTableBoxStartNode.
Referenced by SwEditShell::AutoCorrect(), SwEditShell::DeleteSel(), SwBaseShell::Execute(), SwEditShell::Insert(), SwEditShell::Insert2(), SwDoc::InsertGlossary(), SwEditShell::Overwrite(), SwFEShell::Paste(), SwTransferable::PasteFileContent(), SwEditShell::Redo(), SwEditShell::Replace(), and SwEditShell::Undo().
bool SwCursorShell::SelectHiddenRange | ( | ) |
If the current cursor position is inside a hidden range, the hidden range is selected.
Definition at line 3444 of file crsrsh.cxx.
References COMPLETE_STRING, SwScriptInfo::GetBoundsOfHiddenRange(), SwPosition::GetContentIndex(), SwPaM::GetMark(), SwPosition::GetNode(), SwPaM::GetPoint(), SwNode::GetTextNode(), SwViewShell::GetViewOptions(), SwPaM::HasMark(), m_pCurrentCursor, nPos, SwPosition::SetContent(), and SwShellCursor::SetMark().
Referenced by SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwWrtShell::Insert(), and SwTextShell::StateInsert().
bool SwCursorShell::SelectNxtPrvHyperlink | ( | bool | bNext | ) |
Definition at line 2549 of file crstrvl.cxx.
References tools::Rectangle::Center(), CHKRANGE, SwPaM::DeleteMark(), SwPaM::End(), SwTextAttr::End(), SwFrameFormat::FindSdrObject(), SwIterator< TElementType, TSource, eMode >::First(), GetBodyTextNode(), SwDoc::GetCharFormats(), SwNode::GetContentNode(), SdrObject::GetCurrentBoundRect(), SwViewShell::GetDoc(), SwTextAttrEnd::GetEnd(), SwNodes::GetEndOfContent(), SwTextNode::GetExpandText(), SetGetExpField::GetFlyFormat(), SwFlyFrameFormat::GetFrame(), SwNode::GetIndex(), SetGetExpField::GetINetFormat(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwFrame::GetLower(), SwFormatURL::GetMap(), SetGetExpField::GetNode(), SetGetExpField::GetNodeFromContent(), SwDoc::GetNodes(), SwNode::GetNodes(), SwPaM::GetPoint(), SetGetExpField::GetPosOfContent(), SwDoc::GetSpzFrameFormats(), SwTextAttr::GetStart(), SwFormatURL::GetURL(), SwFormat::GetURL(), SwNodes::IsDocNodes(), SwCursor::IsInProtectTable(), SwCursor::IsSelOvr(), m_pCurrentCursor, MakeSelVisible(), n, SwIterator< TElementType, TSource, eMode >::Next(), Point, READONLY, RES_DRAWFRMFMT(), SCROLLWIN, SetGetExpField::SetBodyPos(), SwPosition::SetContent(), SwShellCursor::SetMark(), SwCharFormats::size(), SwFrameFormats::size(), SwPaM::Start(), SwNode::StartOfSectionNode(), comphelper::string::strip(), UpdateCursor(), and SwFormat::Which().
Referenced by SwWrtShell::SelectNextPrevHyperlink().
bool SwCursorShell::SelectTextAttr | ( | sal_uInt16 | nWhich, |
bool | bExpand, | ||
const SwTextAttr * | pAttr = nullptr |
||
) |
Definition at line 2097 of file crstrvl.cxx.
References sw::Default, SwTextAttr::End(), sw::Expand, SwPosition::GetContentIndex(), SwPosition::GetNode(), SwPaM::GetPoint(), SwTextAttr::GetStart(), SwTextNode::GetTextAttrAt(), SwNode::GetTextNode(), IsTableMode(), m_pCurrentCursor, and SelectTextModel().
Referenced by SwEditShell::DelINetAttrWithText(), and SwWrtShell::SelectTextAttr().
bool SwCursorShell::SelectTextModel | ( | sal_Int32 | nStart, |
sal_Int32 | nEnd | ||
) |
Definition at line 2036 of file crstrvl.cxx.
References SwPaM::DeleteMark(), SwPaM::GetPoint(), SwCursor::IsSelOvr(), m_pCurrentCursor, SwPosition::SetContent(), SwShellCursor::SetMark(), and UpdateCursor().
Referenced by SwTextShell::ExecField(), SwEditWin::MouseButtonDown(), and SelectTextAttr().
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 | ( | ) |
Definition at line 2313 of file crstrvl.cxx.
References CHKRANGE, SwViewShell::GetDoc(), SwDoc::GetDocShell(), SwDoc::getIDocumentRedlineAccess(), SwDocShell::GetWrtShell(), SwCursor::IsInProtectTable(), SwCursor::IsSelOvr(), IsTableMode(), m_pCurrentCursor, NormalizePam(), READONLY, SCROLLWIN, IDocumentRedlineAccess::SelNextRedline(), SwWrtShell::StartOfSection(), and UpdateCursor().
Referenced by SwTextShell::ExecField(), IMPL_LINK(), and SwRedlineAcceptDlg::InsertParents().
const SwRangeRedline * SwCursorShell::SelPrevRedline | ( | ) |
Definition at line 2340 of file crstrvl.cxx.
References CHKRANGE, SwWrtShell::EndOfSection(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SwDoc::getIDocumentRedlineAccess(), SwDocShell::GetWrtShell(), SwCursor::IsInProtectTable(), SwCursor::IsSelOvr(), IsTableMode(), m_pCurrentCursor, NormalizePam(), READONLY, SCROLLWIN, IDocumentRedlineAccess::SelPrevRedline(), and UpdateCursor().
Referenced by SwTextShell::ExecField(), IMPL_LINK(), and SwRedlineAcceptDlg::InsertParents().
bool SwCursorShell::SelTable | ( | ) |
Definition at line 253 of file trvltbl.cxx.
References SwPosition::Assign(), SwPaM::DeleteMark(), SwNode::EndOfSectionNode(), SwTabFrame::FindMaster(), fnMoveBackward, fnMoveForward, GetCurrFrame(), SwFrameAreaDefinition::getFrameArea(), SwShellCursor::GetMkPos(), SwPaM::GetPoint(), SwTabFrame::GetTable(), SwTable::GetTableNode(), GoInContent(), SwFrame::ImplFindTabFrame(), SwFrame::IsInTab(), SwFrame::IsVertical(), m_pCurrentCursor, m_pTableCursor, SwPaM::Move(), SwShellTableCursor::SetMark(), SwRect::TopLeft(), SwRect::TopRight(), and UpdateCursor().
Referenced by SwFEShell::SelTableRowCol().
bool SwCursorShell::SelTableBox | ( | ) |
Definition at line 286 of file trvltbl.cxx.
References SwPosition::Assign(), SwPaM::DeleteMark(), SwNode::EndOfSectionNode(), SwPaM::Exchange(), SwNode::FindTableBoxStartNode(), fnMoveBackward, fnMoveForward, GetCurrFrame(), SwPosition::GetNode(), SwPaM::GetPoint(), GoInNode(), SwFrame::IsInTab(), m_pCurrentCursor, m_pTableCursor, SwPaM::Move(), SwShellTableCursor::SetMark(), and UpdateCursor().
Referenced by SwTableShell::Execute(), SwEditWin::MouseButtonDown(), and SwWrtShell::SelectTableCell().
|
inline |
Definition at line 617 of file crsrsh.hxx.
Referenced by SwWrtShell::SelectTableCol().
|
inline |
Definition at line 616 of file crsrsh.hxx.
Referenced by SwWrtShell::SelectTableRow().
|
protected |
Definition at line 127 of file trvltbl.cxx.
References SwPosition::Assign(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::back(), Col, SwTable::CreateSelection(), SwPaM::DeleteMark(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwNode::EndOfSectionNode(), eType, SwTabFrame::FindMaster(), SwFrame::FindTabFrame(), fnMoveBackward, GetCurrFrame(), GetCursor_(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetMark(), SwPaM::GetMarkContentNode(), SwShellCursor::GetMkPos(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), SwTableBox::GetSttNd(), SwTabFrame::GetTable(), GetTableSel(), GoInContent(), SwFrame::ImplFindTabFrame(), SwFrame::IsInTab(), SwTable::IsNewModel(), IsReadOnlyAvailable(), SwFrame::IsVertical(), lcl_FindMostUpperCellFrame(), m_eEnhancedTableSel, m_pCurrentCursor, m_pTableCursor, SwPaM::Move(), Protect, Row, SwTable::SEARCH_COL, SwTable::SEARCH_ROW, SwShellTableCursor::SetMark(), SwRect::TopLeft(), SwRect::TopRight(), and UpdateCursor().
Referenced by SwFEShell::SelTableRowCol().
|
private |
Definition at line 2064 of file crsrsh.cxx.
References SwTabCols::Count(), eType, tools::JsonWriter::extractData(), SwFEShell::GetAnyCurRect(), GetCurrFrame(), SwTabCols::GetEntry(), SwTabCols::GetLeft(), SwTabCols::GetLeftMin(), SwTabCols::GetRight(), SwWrtShell::GetSelectionType(), SwViewShell::GetSfxViewShell(), SwFEShell::GetTabCols(), SwFEShell::GetTabRows(), SwView::GetWrtShell(), SwView::GetWrtShellPtr(), i, SwFrame::IsInTab(), SwRect::Left(), SfxViewShell::libreOfficeKitViewCallback(), Page, pChar, tools::JsonWriter::put(), tools::JsonWriter::startArray(), tools::JsonWriter::startNode(), tools::JsonWriter::startStruct(), Table, and SwRect::Top().
Referenced by UpdateCursor().
|
inline |
Definition at line 829 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 |
||
) |
Definition at line 78 of file crbm.cxx.
References EndAction(), GetCursor(), SwViewShell::getIDocumentMarkAccess(), IDocumentMarkAccess::makeMark(), sw::mark::New, sw::mark::IBookmark::SetKeyCode(), sw::mark::IBookmark::SetShortName(), and StartAction().
Referenced by SwInsertDBColAutoPilot::DataToDoc(), SwTextShell::Execute(), SwTransferable::Paste(), and SwTransferable::PrivateDrop().
sw::mark::IMark * SwCursorShell::SetBookmark2 | ( | const vcl::KeyCode & | rCode, |
const OUString & | rName, | ||
bool | bHide, | ||
const OUString & | rCondition | ||
) |
Definition at line 100 of file crbm.cxx.
References IDocumentMarkAccess::BOOKMARK, EndAction(), GetCursor(), SwViewShell::getIDocumentMarkAccess(), sw::mark::IBookmark::Hide(), IDocumentMarkAccess::makeMark(), sw::mark::New, sw::mark::IBookmark::SetHideCondition(), sw::mark::IBookmark::SetKeyCode(), sw::mark::IBookmark::SetShortName(), and StartAction().
|
inline |
Definition at line 499 of file crsrsh.hxx.
Referenced by SwTransferable::PasteFileContent(), sw::sidebar::WriterInspectorTextPanel::WriterInspectorTextPanel(), and sw::sidebar::WriterInspectorTextPanel::~WriterInspectorTextPanel().
Definition at line 761 of file crsrsh.cxx.
References CallChgLnk(), ChangePos, CheckNodesRange(), CHKRANGE, SwRect::Contains(), CRSR_POSCHG, CRSR_POSOLD, FindValidContentNode(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::GetLayout(), SwPaM::GetMark(), SwShellCursor::GetMkPos(), SwRootFrame::GetModelPositionForViewPoint(), SwPosition::GetNode(), sw::GetParaPropsNode(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), getShellCursor(), SwBlockCursor::getStartPoint(), SwPaM::HasMark(), SwTextNode::HasVisibleNumberingOrBullet(), SwVisibleCursor::Hide(), SwNode::IsContentNode(), IsInFrontOfLabel(), IsReadOnlyAvailable(), SwCursor::IsSelOvr(), IsTableMode(), lcl_IsInHeaderFooter(), m_aCharRect, m_bAllProtect, SwCursorMoveState::m_bInFrontOfLabel, SwCursorMoveState::m_bSetInReadOnly, m_eMvState, SwCursorMoveState::m_eState, SwCursorMoveState::m_nCursorBidiLevel, m_pBlockCursor, m_pCurrentCursor, m_pVisibleCursor, NONE, Point, SwRect::Pos(), RightMargin, SCROLLWIN, SwCursor::SetCursorBidiLevel(), SwBlockCursor::setEndPoint(), SetInFrontOfLabel(), SwPaM::SetInFrontOfLabel_(), SetOnlyText, SfxObjectShell::SetReadOnlyUI(), SwBlockCursor::setStartPoint(), SwNode::StartOfSectionNode(), TableSel, and UpdateCursor().
Referenced by SwWrtShell::ExtSelLn(), SwWrtShell::ExtSelWrd(), lcl_GrabCursor(), SwView::SearchAndWrap(), SwFEShell::SelectObj(), SwWrtShell::SetCursor(), SwWrtShell::SetCursorKillSel(), and SwEditWin::SetCursorTwipPosition().
bool SwCursorShell::SetCursorInHdFt | ( | size_t | nDescNo, |
bool | bInHeader | ||
) |
Definition at line 192 of file crstrvl.cxx.
References SwPosition::Assign(), CHKRANGE, ClearMark(), SwDoc::ContainsPageDesc(), SwFrame::FindPageFrame(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwNode::GetContentNode(), GetCurrFrame(), SwViewShell::GetDoc(), SwFormat::GetFooter(), SwFormatFooter::GetFooterFormat(), SwFormat::GetHeader(), SwFormatHeader::GetHeaderFormat(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPageDesc::GetMaster(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SwPageFrame::GetPageDesc(), SwDoc::GetPageDesc(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), SwNodes::GoNext(), SwCursor::IsSelOvr(), m_pCurrentCursor, Point, READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwWrtShell::ChangeHeaderOrFooter().
|
inline |
Definition at line 495 of file crsrsh.hxx.
Referenced by SwWrtShell::SwWrtShell().
|
inline |
Definition at line 503 of file crsrsh.hxx.
Referenced by SwBaseShell::SwBaseShell(), and SwBaseShell::~SwBaseShell().
|
protected |
Definition at line 1162 of file crsrsh.cxx.
References IsInFrontOfLabel(), m_pCurrentCursor, SwPaM::SetInFrontOfLabel_(), and UpdateMarkedListLevel().
Referenced by SwEditShell::DelNumRules(), SwWrtShell::GotoPage(), LeftRight(), LRMargin(), SwWrtShell::NumOrBulletOff(), SetCursor(), SetVisibleCursor(), and UpDown().
|
inline |
Definition at line 858 of file crsrsh.hxx.
|
inline |
Definition at line 895 of file crsrsh.hxx.
References m_pCurrentCursor, and SwShellCursor::SetMark().
Referenced by SwEditWin::Command(), SwHTMLParser::Continue(), SwInsertDBColAutoPilot::DataToDoc(), SwInputWindow::DelBoxContent(), SwWrtShell::DelLine(), SwWrtShell::DelNxtWord(), SwWrtShell::DelPrvWord(), SwWrtShell::DelToEndOfPara(), SwWrtShell::DelToEndOfSentence(), SwWrtShell::DelToStartOfPara(), SwAccessibleTable::deselectAccessibleChild(), SwView::ExecSpellPopup(), SwEditWin::GetSurroundingText(), sw::UndoManager::impl_DoUndoRedo(), SwModule::InsertLab(), SwTextShell::InsertSymbol(), SwEditShell::InsertURL(), SwWrtShell::IntelligentCut(), SwWrtShell::OpenMark(), SwEditShell::Redo(), SwHHCWrapper::ReplaceUnit(), SwAccessibleTable::selectAccessibleChild(), SwLangHelper::SelectCurrentPara(), SwInsertDBColAutoPilot::SetTabSet(), SwInputWindow::ShowWin(), SwWrtShell::SttSelect(), sw_CharDialogResult(), SwEditShell::Undo(), and SwWriter::Write().
|
inline |
Definition at line 473 of file crsrsh.hxx.
Referenced by SwEditShell::DeleteExtTextInput(), SwEditShell::SetExtTextInputData(), and SwWrtShell::SetInsMode().
void SwCursorShell::SetReadOnlyAvailable | ( | bool | bFlag | ) |
is the cursor allowed to enter ReadOnly sections?
Definition at line 3341 of file crsrsh.cxx.
References ClearMark(), SwViewShell::GetDoc(), m_bSetCursorInReadOnly, and UpdateCursor().
void SwCursorShell::SetSelection | ( | const SwPaM & | rCursor | ) |
Definition at line 3529 of file crsrsh.cxx.
References CreateCursor(), EndAction(), GetCursor(), SwPaM::GetMark(), SwPaM::GetNext(), SwPaM::GetPoint(), SwPaM::HasMark(), SwPaM::SetMark(), and StartAction().
Referenced by SwXTextViewCursor::collapseToEnd(), SwXTextViewCursor::collapseToStart(), SwTableShell::Execute(), SwBreakDashedLine::execute(), SwSpellDialogChildWindow::GetNextWrongSentence(), SwXTextViewCursor::gotoRange(), SwTranslateHelper::PasteHTMLToPaM(), SwFEShell::PastePages(), SwXTextView::select(), and SwAccessibleContext::Select().
|
inline |
Definition at line 822 of file crsrsh.hxx.
Referenced by SwWrtShell::EndSelTableCells(), and SwWrtShell::SelTableCells().
|
inline |
Definition at line 476 of file crsrsh.hxx.
Referenced by SwEditWin::DeleteSurroundingText(), SwEditWin::GetSurroundingText(), and SwEditWin::GetSurroundingTextSelection().
bool SwCursorShell::SetShadowCursorPos | ( | const Point & | rPt, |
SwFillMode | eFillMode | ||
) |
Definition at line 2174 of file crstrvl.cxx.
References IDocumentContentOperations::AppendTextNode(), SwPosition::Assign(), SwFillCursorPos::eMode, EMPTY, EndAction(), SwNode::EndOfSectionNode(), SwFillCursorPos::eOrient, SwNode::FindSectionNode(), SvxAdjustItem::GetAdjust(), SwContentNode::GetAttr(), SwViewShell::GetAttrPool(), SwPosition::GetContentIndex(), SwNode::GetContentNode(), SwViewShell::GetDoc(), SwDoc::getIDocumentContentOperations(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::GetIDocumentUndoRedo(), SwViewShell::GetLayout(), SwTextFormatColl::GetNextTextFormatColl(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPaM::GetPoint(), SwTextNode::GetTextColl(), SwNode::GetTextNode(), HasSelection(), Indent, INS_FROM_SHADOWCRSR, IDocumentContentOperations::InsertItemSet(), IDocumentContentOperations::InsertPoolItem(), IDocumentContentOperations::InsertString(), SwNode::IsEndNode(), IsTableMode(), SwContentNode::Len(), m_pCurrentCursor, Margin, n, SwFillCursorPos::nColumnCnt, SwPostItHelper::NONE, SwFillCursorPos::nParaCnt, SwFillCursorPos::nSpaceCnt, SwFillCursorPos::nSpaceOnlyCnt, SwFillCursorPos::nTabCnt, comphelper::string::padToLength(), Point, RES_BREAK(), RES_LR_SPACE(), RES_PARATR_ADJUST(), SvxAdjustItem::SetAdjust(), SvxLRSpaceItem::SetTextFirstLineOffset(), SwDoc::SetTextFormatColl(), SvxLRSpaceItem::SetTextLeft(), Space, StartAction(), Tab, and TabSpace.
Referenced by SwMailMergeLayoutPage::InsertGreeting(), and SwEditWin::MouseButtonUp().
bool SwCursorShell::SetVisibleCursor | ( | const Point & | rPt | ) |
Move visible cursor to given position in document.
rPt | The position to move the visible cursor to. |
Definition at line 2676 of file crsrsh.cxx.
References SwNode::FindSectionNode(), SwFrame::GetCharRect(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwRootFrame::GetModelPositionForViewPoint(), SwPosition::GetNode(), SwPaM::GetPoint(), SwSectionNode::GetSection(), SwNode::GetTextNode(), SwRect::Height(), SwVisibleCursor::Hide(), SwViewShell::Imp(), SwSection::IsHiddenFlag(), SwSection::IsProtectFlag(), IsReadOnlyAvailable(), IsScrollMDI(), SwVisibleCursor::IsVisible(), m_aCharRect, m_aCursorHeight, SwCursorMoveState::m_aRealHeight, SwCursorMoveState::m_bRealHeight, SwCursorMoveState::m_bSetInReadOnly, m_pCurrentCursor, m_pVisibleCursor, SwViewShell::MakeVisible(), Point, SwFrame::PrepareCursor(), SwVisibleCursor::SetDragCursor(), SetInFrontOfLabel(), SetOnlyText, SwVisibleCursor::Show(), and SwShellCursor::Show().
Referenced by SwEditWin::MouseButtonUp().
void SwCursorShell::ShellGetFocus | ( | ) |
Definition at line 2456 of file crsrsh.cxx.
References CHKRANGE, ExtendedSelectedAll(), m_bBasicHideCursor, m_bHasFocus, m_bSVCursorVis, SwViewShell::mbSelectAll, ShowCursors(), StartsWithTable(), UpdateCursor(), SwViewShell::VisArea(), and Width.
Referenced by SwFEShell::ShellGetFocus(), and SwLayIdle::SwLayIdle().
void SwCursorShell::ShellLoseFocus | ( | ) |
Definition at line 2449 of file crsrsh.cxx.
References HideCursors(), m_bBasicHideCursor, and m_bHasFocus.
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 3066 of file crsrsh.cxx.
References SwPaM::End(), GetCursor(), GetCursorCnt(), SwViewShell::GetDrawView(), SwPosition::GetNodeIndex(), SwViewShell::HasDrawView(), IsTableMode(), and SwPaM::Start().
Referenced by SwTransferable::PrepareForCopy(), and SwTransferable::PrepareForCopyTextRange().
void SwCursorShell::ShowCursor | ( | ) |
Definition at line 2410 of file crsrsh.cxx.
References SwViewShell::GetSfxViewShell(), comphelper::LibreOfficeKit::isActive(), SfxViewShell::libreOfficeKitViewCallback(), m_bBasicHideCursor, m_bSVCursorVis, m_pCurrentCursor, SfxLokHelper::notifyOtherViews(), SwSelPaintRects::SetShowContentControlOverlay(), SwSelPaintRects::SetShowTextInputFieldOverlay(), and UpdateCursor().
Referenced by SwEditWin::DeleteSurroundingText(), SwTransferable::DragFinished(), SwWrtShell::Edit(), SwTextShell::Execute(), SwEditWin::GetSurroundingTextSelection(), SwWrtShell::GoNextBookmark(), SwWrtShell::GoPrevBookmark(), SwWrtShell::GotoContentControl(), sw::AccessibilityIssue::gotoIssue(), SwEditWin::MouseButtonDown(), SwTransferable::PrivateDrop(), SwAccessibleContext::Select(), SwEditWin::SelectMenuPosition(), SwEditShell::SetExtTextInputData(), and SwTransferable::StartDrag().
void SwCursorShell::ShowCursors | ( | bool | bCursorVis | ) |
Definition at line 2397 of file crsrsh.cxx.
References m_bAllProtect, m_bBasicHideCursor, m_bHasFocus, m_bSVCursorVis, m_pCurrentCursor, m_pTableCursor, m_pVisibleCursor, SwVisibleCursor::Show(), and SwShellCursor::Show().
Referenced by EndAction(), and ShellGetFocus().
void SwCursorShell::StartAction | ( | ) |
Definition at line 226 of file crsrsh.cxx.
References SwViewShell::ActionPend(), SwPosition::GetContentIndex(), SwNode::GetIndex(), SwViewShell::GetLayout(), SwCallLink::getLayoutFrame(), SwPosition::GetNode(), SwNode::GetNodeType(), SwPaM::GetPoint(), SwNode::GetTextNode(), SwNode::IsTextNode(), m_nCurrentContent, m_nCurrentNdTyp, m_nCurrentNode, m_nLeftFramePos, m_pCurrentCursor, and SwViewShell::StartAction().
Referenced by SwAccessibleParagraph::addSelection(), SwInsFootNoteDlg::Apply(), SwEditShell::ApplyChangedSentence(), SwEditShell::ApplyViewOptions(), SwWrtShell::AutoUpdateFrame(), SwWrtShell::AutoUpdatePara(), SwRedlineAcceptDlg::CallAcceptReject(), CheckTableBoxContent(), SwJavaEditDialog::CheckTravel(), SwAccessibleTable::clearAccessibleSelection(), SwFormatClipboard::Copy(), SwContentTree::DeleteOutlineSelections(), SwAccessibleTable::deselectAccessibleChild(), SwContentTree::EditEntry(), SwDrawShell::ExecDrawDlg(), SwTextShell::ExecField(), SwTextShell::ExecParaAttrArgs(), SwView::ExecTabWin(), SwSpellPopup::Execute(), SwBaseShell::Execute(), SwTableShell::Execute(), SwTextShell::Execute(), SwDrawBaseShell::Execute(), SwGlobalTree::ExecuteContextMenuAction(), SwBaseShell::ExecuteGallery(), SwView::ExecViewOptions(), SwFEShell::GetConnectableFrameFormats(), IMPL_LINK(), IMPL_LINK_NOARG(), SwFieldEditDlg::Init(), SwInsFootNoteDlg::Init(), SwWrtShell::InsertContentControl(), SwFieldMgr::InsertField(), SwView::InsertGraphic(), SwView::InsertGraphicDlg(), SwTextShell::InsertHyperlink(), SwBaseShell::InsertRegionDialog(), SwBaseShell::InsertURLButton(), IsTableComplexForChart(), lcl_InvalidateAllContent(), lcl_InvalidateAllObjPos(), lcl_SetAllTextToDefaultLanguage(), SwWrtShell::MakeAllFoldedOutlineContentVisible(), SwOutlineTabDialog::Ok(), SwFormatClipboard::Paste(), SwTransferable::PrivateDrop(), SwAccessibleTable::selectAccessibleChild(), SwWrtShell::SelectNextPrevHyperlink(), SwFEShell::SelectObj(), SetBookmark(), SetBookmark2(), SwWrtShell::SetInsMode(), SwLangHelper::SetLanguageStatus(), SetSelection(), SetShadowCursorPos(), SwEditShell::SpellContinue(), SwEditShell::SpellSentence(), SwTextShell::StateInsert(), SttCursorMove(), sw_CharDialog(), sw_CharDialogResult(), sw_ParagraphDialogResult(), SwActContext::SwActContext(), SwAccessibleTable::unselectColumn(), SwAccessibleTable::unselectRow(), SwWordCountFloatDlg::UpdateCounts(), and SwViewShell::UpdateFields().
|
static |
Definition at line 1007 of file crstrvl.cxx.
References sw::Default, SwTextAttr::GetStart(), and GetTextFieldAtPos().
Referenced by SwTextShell::ExecField(), and lcl_FindAnchorPos().
bool SwCursorShell::StartsWithTable | ( | ) |
If document body starts with a table.
Definition at line 626 of file crsrsh.cxx.
References SwNode::FindTableNode(), SwViewShell::GetDoc(), SwNodes::GetEndOfExtras(), SwDoc::GetNodes(), and SwNodes::GoNext().
Referenced by SwEditShell::CopySelToDoc(), SwEditShell::DeleteSel(), EndAction(), SwFEShell::InsertRow(), lcl_TableParamToItemSet(), sw::NotifyTableCollapsedParagraph(), Paint(), SwWrtShell::SelAll(), and ShellGetFocus().
void SwCursorShell::SttCursorMove | ( | ) |
Definition at line 301 of file crsrsh.cxx.
References m_nCursorMove, and StartAction().
Referenced by SwEditWin::Command(), SwBaseShell::ExecDelete(), SwEditShell::GotoGlobalDocContent(), SwIndexMarkPane::InitControls(), SwWrtShell::SimpleMove(), SwLayIdle::SwLayIdle(), SwMvContext::SwMvContext(), SwIndexMarkPane::UpdateDialog(), and SwDropCapsPict::UpdatePaintSettings().
bool SwCursorShell::SttEndDoc | ( | bool | bStt | ) |
Definition at line 573 of file crsrsh.cxx.
References CHKRANGE, SwBlockCursor::clearPoints(), SwShellCursor::GetPtPos(), SwBlockCursor::getShellCursor(), m_pBlockCursor, m_pCurrentCursor, READONLY, RefreshBlockCursor(), SCROLLWIN, SwCursor::SttEndDoc(), and UpdateCursor().
Referenced by SwDoc::AppendDoc(), SwBaseShell::Execute(), SwWrtShell::GoEnd(), GoNextBookmark(), GoPrevBookmark(), SwWrtShell::GoStart(), IMPL_LINK(), SwModule::InsertEnv(), SwMailMergeLayoutPage::InsertGreeting(), SwXTextViewCursor::jumpToFirstPage(), SwXTextViewCursor::jumpToLastPage(), SwDBManager::MergeMailFiles(), SwWrtShell::SelAll(), SwWrtShell::SelectNextPrevHyperlink(), and SwWriter::Write().
void SwCursorShell::SwapPam | ( | ) |
Definition at line 976 of file crsrsh.cxx.
References SwPaM::Exchange(), and m_pCurrentCursor.
Referenced by SwWrtShell::BeginDrag(), SwWrtShell::CloseMark(), SwWrtShell::DelLeft(), SwWrtShell::DelNxtWord(), SwWrtShell::DelPrvWord(), SwTextShell::ExecField(), SwBaseShell::Execute(), SwWrtShell::ExtSelLn(), SwWrtShell::ExtSelWrd(), IMPL_LINK(), SwWrtShell::InsertFootnote(), SwTextShell::InsertSymbol(), SwEditShell::InsertURL(), SwWrtShell::IntelligentCut(), IsMarkInSameSection(), SwEditWin::KeyInput(), lcl_IsMarkInSameSection(), SwNavigationPI::MoveOutline(), SwTransferable::PrivateDrop(), SwWrtShell::SelAll(), SwLangHelper::SelectCurrentPara(), SwTextShell::StateInsert(), sw_CharDialogResult(), and SwIndexMarkPane::UpdateDialog().
|
overrideprotectedvirtual |
forward all attribute/format changes at the current node to the Link
pOld | ??? |
pNew | ??? |
Definition at line 2502 of file crsrsh.cxx.
References Link< typename Arg, typename Ret >::Call(), CallChgLnk(), SfxHint::GetId(), sw::LegacyModifyHint::GetWhich(), Link< typename Arg, typename Ret >::IsSet(), m_aGrfArrivedLnk, m_bCallChgLnk, RES_ATTRSET_CHG(), RES_FMT_CHG(), RES_MSG_BEGIN(), RES_MSG_END(), RES_OBJECTDYING(), and RES_UPDATE_ATTR().
void SwCursorShell::TableCursorToCursor | ( | ) |
enter block mode, change normal cursor into block cursor
Definition at line 896 of file crsrsh.cxx.
References m_pTableCursor.
Referenced by ClearUpCursors(), SwTableShell::Execute(), SwWrtShell::SelAll(), SwFEShell::SelTableRowCol(), and SwDocShell::UpdateStyle().
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.
rPt | The point to search at. |
bTstHit | ??? |
Definition at line 991 of file crsrsh.cxx.
References SwShellTableCursor::Contains(), SwPaM::End(), SwViewShell::GetLayout(), SwShellCursor::GetNext(), SwPaM::GetPoint(), SwPaM::HasMark(), IsReadOnlyAvailable(), SwCursorMoveState::m_bSetInReadOnly, m_pCurrentCursor, m_pTableCursor, NONE, Point, and SwPaM::Start().
Referenced by SwEditWin::GetDropDestination(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwEditWin::MouseMove(), SwTransferable::PrivateDrop(), SwEditWin::SelectMenuPosition(), SwWrtShell::SetCursor(), and SwEditWin::StartDrag().
|
inline |
Definition at line 825 of file crsrsh.hxx.
References SwTable::SEARCH_NONE.
Referenced by SwWrtShell::ResetSelect().
|
inline |
Definition at line 934 of file crsrsh.hxx.
References SwVisibleCursor::Hide(), m_pVisibleCursor, and SwVisibleCursor::SetDragCursor().
Referenced by SwEditWin::AcceptDrop(), SwEditWin::DropCleanup(), SwEditWin::MouseButtonUp(), SwTransferable::PrivateDrop(), and SwEditWin::SetApplyTemplate().
|
inline |
|
inline |
Definition at line 776 of file crsrsh.hxx.
Referenced by SwWrtShell::CloseMark(), SwWrtShell::DelLeft(), SwWrtShell::DelLine(), SwWrtShell::DelNxtWord(), SwWrtShell::DelPrvWord(), SwWrtShell::DelRight(), SwWrtShell::DelToEndOfPara(), SwWrtShell::DelToStartOfPara(), SwTextShell::InsertSymbol(), SwEditWin::KeyInput(), SwEditShell::SetAttrItem(), and SwEditShell::SetAttrSet().
void SwCursorShell::UpdateCursor | ( | sal_uInt16 | eFlags = SwCursorShell::SCROLLWIN|SwCursorShell::CHKRANGE , |
bool | bIdleEnd = false |
||
) |
Definition at line 1576 of file crsrsh.cxx.
References a, SwViewShell::ActionPend(), BEFORE, SwFrame::Calc(), SwViewShell::CalcLayout(), CallChgLnk(), SwRect::Center(), CheckRange(), CheckTableBoxContent(), CHKRANGE, ClearUpCursors(), SwPaM::DeleteMark(), SwNode::FindSectionNode(), SwFrame::FindTabFrame(), FindValidContentNode(), fnMoveBackward, fnMoveForward, fnSectionEnd, fnSectionStart, SwFrame::GetCharRect(), SwNode::GetContentNode(), SwCursor::GetCursorBidiLevel(), StyleSettings::GetCursorBlinkTime(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SwViewShell::GetDrawView(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::getIDocumentMarkAccess(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetMark(), SwPaM::GetMarkContentNode(), SwPaM::GetMarkNode(), SwShellCursor::GetMkPos(), SwFrame::GetModelPositionForViewPoint(), SwShellCursor::GetNext(), SwPosition::GetNode(), SwViewShell::GetOut(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwPaM::GetPointNode(), SwShellCursor::GetPtPos(), sw::Ring< value_type >::GetRingContainer(), SwTable::GetRowsToRepeat(), SwSectionNode::GetSection(), Application::GetSettings(), OutputDevice::GetSettings(), getShellCursor(), AllSettings::GetStyleSettings(), SwTabFrame::GetTable(), SwFrame::GetUpper(), SwViewShell::GetViewOptions(), GoCurrSection(), GoInContent(), SwRect::HasArea(), SwViewShell::HasDrawView(), SwPaM::HasMark(), HasSelection(), SwRect::Height(), SwVisibleCursor::Hide(), SwViewShell::Imp(), SwViewShellImp::InvalidateAccessibleCursorPosition(), comphelper::LibreOfficeKit::isActive(), SwFrame::IsCellFrame(), SwTableCursor::IsCursorMovedUpdate(), IsCursorReadonly(), SwSection::IsHiddenFlag(), SwPaM::IsInFrontOfLabel(), SwTabFrame::IsInHeadline(), SwDoc::IsInTable(), IsOverwriteCursor(), SwFrame::IsProtected(), SwSection::IsProtectFlag(), IsReadOnlyAvailable(), SwFrame::IsVertical(), lcl_CheckHiddenPara(), lcl_CheckHiddenSection(), SwRect::Left(), m_aCharRect, m_aCursorHeight, SwCursorMoveState::m_aRealHeight, m_bAllProtect, m_bBasicHideCursor, m_bHasFocus, m_bIgnoreReadonly, SwCursorMoveState::m_bRealHeight, SwCursorMoveState::m_bRealWidth, m_bSendAccessibleCursorEvents, SwCursorMoveState::m_bSetInReadOnly, m_bSVCursorVis, m_eMvState, SwCursorMoveState::m_nCursorBidiLevel, m_nUpDownX, m_pBlockCursor, m_pCurrentCursor, SwCursorMoveState::m_pSpecialPos, m_pTableCursor, m_pVisibleCursor, MakeSelVisible(), SwRootFrame::MakeTableCursors(), SwViewShell::MakeVisible(), SwViewShell::mbSelectAll, SwViewShell::mxDoc, SwSpecialPos::nExtendRange, NONE, IDocumentMarkAccess::NotifyCursorUpdate(), Point, SwFrame::PrepareCursor(), READONLY, RefreshBlockCursor(), SAL_WARN, SCROLLWIN, sendLOKCursorUpdates(), StyleSettings::SetCursorBlinkTime(), SwShellCursor::SetMark(), SfxObjectShell::SetReadOnlyUI(), OutputDevice::SetSettings(), AllSettings::SetStyleSettings(), SwVisibleCursor::Show(), SwShellCursor::Show(), SwNode::StartOfSectionNode(), STYLE_CURSOR_NOBLINKTIME, SwRect::Top(), SwViewShell::UISizeNotify(), UpdateCursorPos(), UPDOWN, and SwRect::Width().
Referenced by CallCursorFN(), CallCursorShellFN(), Combine(), CreateCursor(), DestroyCursor(), EndAction(), SwTextShell::Execute(), SwContentTree::ExecuteContextMenuAction(), ExtendSelection(), Find_Text(), FindAttrs(), FindFormat(), GetContentAtPos(), GoNextBookmark(), GoNextCell(), GoNextCursor(), GoPrevBookmark(), GoPrevCell(), GoPrevCursor(), GotoFieldmark(), GotoFlyAnchor(), GotoFooterText(), GotoFootnoteAnchor(), GotoFootnoteText(), GotoFormatField(), GotoHeaderText(), GotoINetAttr(), GotoMark(), GotoNextOutline(), GotoNextTOXBase(), GotoNxtPrvTableFormula(), GotoNxtPrvTOXMark(), GotoOutline(), GotoPage(), GotoPrevOutline(), GotoPrevTOXBase(), GotoRedline_(), GotoRefMark(), GotoRegion(), GotoTable(), GotoTOXMark(), GotoTOXMarkBase(), KillPams(), LeftRight(), MakeOutlineSel(), MoveColumn(), MoveCursorToNum(), MoveFieldType(), MovePage(), MovePara(), MoveRegion(), MoveSection(), MoveTable(), SelectNxtPrvHyperlink(), SelectTextModel(), SelNextRedline(), SelPrevRedline(), SelTable(), SelTableBox(), SelTableRowOrCol(), SetCursor(), SetCursorInHdFt(), SetReadOnlyAvailable(), ShellGetFocus(), ShowCursor(), SttEndDoc(), UpDown(), and MakeAllOutlineContentTemporarilyVisible::~MakeAllOutlineContentTemporarilyVisible().
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 1491 of file crsrsh.cxx.
References SwPaM::DeleteMark(), SwViewShell::GetDoc(), SwViewShell::GetDocSize(), SwViewShell::GetLayout(), SwRootFrame::GetModelPositionForViewPoint(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), getShellCursor(), isInHiddenTextFrame(), IsReadOnlyAvailable(), SwCursorMoveState::m_bSetInReadOnly, m_pCurrentCursor, SwViewShell::mnStartAction, NONE, and SwViewShell::SizeChgNotify().
Referenced by UpdateCursor().
|
protected |
Updates the marked list level according to the cursor.
Definition at line 406 of file crsrsh.cxx.
References SwTextNode::GetActualListLevel(), GetCursor_(), SwViewShell::GetLayout(), SwTextNode::GetListId(), GetNode(), sw::GetParaPropsNode(), SwPaM::IsInFrontOfLabel(), SwTextNode::IsInList(), SwTextNode::IsNumbered(), m_pCurrentCursor, MarkListLevel(), MAXLEVEL, and SwPaM::SetInFrontOfLabel_().
Referenced by SwEditShell::NumUpDown(), and SetInFrontOfLabel().
size_t SwCursorShell::UpdateTableSelBoxes | ( | ) |
Definition at line 3079 of file crsrsh.cxx.
References SwViewShell::GetLayout(), SwTableCursor::GetSelectedBoxesCount(), SwTableCursor::IsChgd(), m_pTableCursor, and SwRootFrame::MakeTableCursors().
Referenced by GetTableSelCrs().
|
private |
Definition at line 502 of file crsrsh.cxx.
References SwViewShell::ActionPend(), CHKRANGE, SwBlockCursor::clearPoints(), getShellCursor(), IsTableMode(), m_eMvState, m_pBlockCursor, SCROLLWIN, SetInFrontOfLabel(), UpdateCursor(), UPDOWN, UpDown, and SwShellCursor::UpDown().
|
overridevirtual |
Reimplemented from SwViewShell.
Definition at line 1457 of file crsrsh.cxx.
References Bottom, SwVisibleCursor::Hide(), SwVisibleCursor::IsVisible(), m_aOldRBPos, m_bInCMvVisportChgd, m_bSVCursorVis, m_bVisPortChgd, m_nCursorMove, m_pVisibleCursor, Right(), SwVisibleCursor::Show(), SwViewShell::VisArea(), and SwViewShell::VisPortChgd().
|
friend |
Definition at line 691 of file tblsel.cxx.
Referenced by SwFEShell::GetAutoSum().
|
friend |
Definition at line 150 of file crsrsh.hxx.
|
friend |
Definition at line 152 of file crsrsh.hxx.
|
friend |
Definition at line 151 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
Char-SRectangle on which the cursor is located.
Definition at line 173 of file crsrsh.hxx.
Referenced by GotoFlyAnchor(), MakeSelVisible(), MoveCursorToNum(), Paint(), SetCursor(), SwVisibleCursor::SetPosAndShow(), SetVisibleCursor(), SwVisibleCursor::Show(), and UpdateCursor().
|
private |
link will be called by every attribute/ format changes at cursor position.
Definition at line 180 of file crsrsh.hxx.
Referenced by CallChgLnk(), EndAction(), and SwCallLink::ImplDestroy().
|
private |
height & offset from visible Cursor
Definition at line 174 of file crsrsh.hxx.
Referenced by MakeSelVisible(), SwVisibleCursor::SetPosAndShow(), SetVisibleCursor(), and UpdateCursor().
|
private |
Link will be called, if the Cursor is set into a fly.
A macro can then be called
Definition at line 178 of file crsrsh.hxx.
|
private |
Link calls to UI if a graphic is arrived.
Definition at line 182 of file crsrsh.hxx.
Referenced by SwClientNotify().
|
private |
Right/Bottom of last VisArea.
Definition at line 175 of file crsrsh.hxx.
Referenced by VisPortChgd().
|
private |
Flag for areas.
Definition at line 225 of file crsrsh.hxx.
Referenced by FindValidContentNode(), SetCursor(), ShowCursors(), SwCursorShell(), and UpdateCursor().
|
private |
Definition at line 233 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
Definition at line 234 of file crsrsh.hxx.
Referenced by HideCursor(), HideCursors(), Paint(), ShellGetFocus(), ShellLoseFocus(), ShowCursor(), ShowCursors(), SwCursorShell(), and UpdateCursor().
|
private |
flag for derived classes
Definition at line 222 of file crsrsh.hxx.
Referenced by CallChgLnk(), EndAction(), SwCallLink::ImplDestroy(), SwClientNotify(), and SwCursorShell().
|
private |
attribute change inside Start- and EndAction
Definition at line 218 of file crsrsh.hxx.
Referenced by CallChgLnk(), EndAction(), and SwCursorShell().
|
private |
Definition at line 229 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
Shell is "active" in a window.
Definition at line 216 of file crsrsh.hxx.
Referenced by HideCursors(), MakeSelVisible(), Paint(), ShellGetFocus(), ShellLoseFocus(), ShowCursors(), SwCursorShell(), and UpdateCursor().
|
private |
Definition at line 230 of file crsrsh.hxx.
Referenced by SwCursorShell(), and UpdateCursor().
|
private |
Flag for CursorMoves.
Definition at line 227 of file crsrsh.hxx.
Referenced by EndAction(), EndCursorMove(), SwCursorShell(), and VisPortChgd().
|
private |
Definition at line 242 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
Definition at line 236 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
Definition at line 232 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
Definition at line 240 of file crsrsh.hxx.
Referenced by SwCursorShell(), and UpdateCursor().
|
private |
Definition at line 235 of file crsrsh.hxx.
Referenced by SetReadOnlyAvailable(), and SwCursorShell().
|
private |
SV-Cursor visible/invisible.
Definition at line 217 of file crsrsh.hxx.
Referenced by EndAction(), HideCursor(), NotifyCursor(), Paint(), ShellGetFocus(), ShowCursor(), ShowCursors(), SwCursorShell(), UpdateCursor(), and VisPortChgd().
|
private |
in VisPortChg-Call
Definition at line 219 of file crsrsh.hxx.
Referenced by SwCursorShell(), and VisPortChgd().
|
private |
Definition at line 211 of file crsrsh.hxx.
Referenced by SelTableRowOrCol().
|
private |
Status for Cursor-Travelling - GetModelPositionForViewPoint.
Definition at line 210 of file crsrsh.hxx.
Referenced by LRMargin(), SetCursor(), UpdateCursor(), and UpDown().
|
private |
Definition at line 200 of file crsrsh.hxx.
Referenced by EndAction(), and StartAction().
|
private |
Definition at line 201 of file crsrsh.hxx.
Referenced by EndAction(), and StartAction().
|
private |
Definition at line 199 of file crsrsh.hxx.
Referenced by EndAction(), and StartAction().
|
private |
Definition at line 209 of file crsrsh.hxx.
Referenced by ClearMark(), EndAction(), EndCursorMove(), SttCursorMove(), and VisPortChgd().
|
private |
Definition at line 198 of file crsrsh.hxx.
Referenced by EndAction(), and StartAction().
|
private |
Definition at line 214 of file crsrsh.hxx.
Referenced by MarkListLevel().
|
private |
try to move the cursor on up/down always in the same column
Definition at line 196 of file crsrsh.hxx.
Referenced by UpdateCursor().
|
private |
Definition at line 244 of file crsrsh.hxx.
Referenced by bColumnChange().
|
private |
interface of cursor for block (=rectangular) selection
Definition at line 188 of file crsrsh.hxx.
Referenced by BlockCursorToCursor(), CursorToBlockCursor(), getShellCursor(), KillPams(), LeftRight(), LRMargin(), RefreshBlockCursor(), SetCursor(), SttEndDoc(), UpdateCursor(), UpDown(), and ~SwCursorShell().
|
private |
for recognizing of the changed
Definition at line 193 of file crsrsh.hxx.
Referenced by CheckTableBoxContent(), ClearTableBoxContent(), and SaveTableBoxContent().
|
private |
table row
Definition at line 194 of file crsrsh.hxx.
Referenced by CheckTableBoxContent(), ClearTableBoxContent(), and SaveTableBoxContent().
|
private |
current cursor
Definition at line 184 of file crsrsh.hxx.
Referenced by BlockCursorToCursor(), CheckTableBoxContent(), ClearMark(), Combine(), CreateCursor(), CursorToBlockCursor(), DestroyCursor(), dumpAsXml(), EndAction(), ExpandToSentenceBorders(), ExtendedSelectAll(), ExtendSelection(), Find_Text(), FindAttrs(), FindFormat(), FindValidContentNode(), GetChar(), GetContentAtPos(), GetCurrFrame(), GetCursor(), GetCursorCnt(), GetCursorDocPos(), GetSelText(), GetShadowCursorPos(), getShellCursor(), GetTextDirection(), GoNextCell(), GoNextCursor(), GoNextPrevCursorSetSearchLabel(), GoPrevCell(), GoPrevCursor(), GotoFlyAnchor(), GotoFootnoteAnchor(), GotoNextNum(), GotoNextTOXBase(), GotoNxtPrvTableFormula(), GotoNxtPrvTOXMark(), GotoPage(), GotoPrevNum(), GotoPrevTOXBase(), GotoRedline(), GotoRedline_(), GotoRefMark(), GotoRegion(), GotoTable(), GotoTOXMark(), GotoTOXMarkBase(), HasMark(), HasReadonlySel(), HideCursor(), HideCursors(), IsCursorInFootnote(), IsCursorInTable(), IsCursorPtAtEnd(), IsEndOfDoc(), IsEndOfTable(), IsEndPara(), IsEndSentence(), IsEndWord(), IsInFrontOfLabel(), IsInHeaderFooter(), IsInWord(), IsMultiSelection(), IsOverReadOnlyPos(), IsSelection(), IsSelFullPara(), IsSelOnePara(), IsStartOfDoc(), IsStartSentence(), IsStartWord(), IsSttPara(), IsTableComplexForChart(), KillPams(), MakeFindRange(), MakeOutlineSel(), MoveColumn(), MoveCursorToNum(), MoveFieldType(), MovePage(), MoveRegion(), MoveTable(), NormalizePam(), NotifyCursor(), Paint(), ParkPams(), ParkTableCursor(), Push(), RefreshBlockCursor(), SaveTableBoxContent(), SelectHiddenRange(), SelectNxtPrvHyperlink(), SelectTextAttr(), SelectTextModel(), SelectWord(), SelNextRedline(), SelPrevRedline(), SelTable(), SelTableBox(), SelTableRowOrCol(), SetCursor(), SetCursorInHdFt(), SetInFrontOfLabel(), SetMark(), SetShadowCursorPos(), SetVisibleCursor(), ShowCursor(), ShowCursors(), StartAction(), SttEndDoc(), SwapPam(), SwCursorShell(), TestCurrPam(), UpdateCursor(), UpdateCursorPos(), UpdateMarkedListLevel(), and ~SwCursorShell().
|
private |
stack for the cursor
Definition at line 185 of file crsrsh.hxx.
Referenced by Combine(), CompareCursorStackMkCurrPt(), GetStackCursor(), Push(), and ~SwCursorShell().
|
private |
table Cursor; only in tables when the selection lays over 2 columns
Definition at line 190 of file crsrsh.hxx.
Referenced by ClearMark(), ClearUpCursors(), Find_Text(), FindAttrs(), FindFormat(), FindValidContentNode(), GetBoxNms(), GetCursor(), getShellCursor(), GetTableCrs(), GoNextCell(), GoPrevCell(), GotoRegion(), GotoTable(), HasReadonlySel(), HideCursors(), IsTableComplexForChart(), KillPams(), MoveColumn(), MoveRegion(), MoveTable(), Paint(), ParkTableCursor(), Push(), SelTable(), SelTableBox(), SelTableRowOrCol(), ShowCursors(), TableCursorToCursor(), TestCurrPam(), UpdateCursor(), UpdateTableSelBoxes(), and ~SwCursorShell().
|
private |
the visible cursor
Definition at line 186 of file crsrsh.hxx.
Referenced by EndAction(), GetVisibleCursor(), HideCursor(), HideCursors(), NotifyCursor(), Paint(), SetCursor(), SetVisibleCursor(), ShowCursors(), SwCursorShell(), UnSetVisibleCursor(), UpdateCursor(), VisPortChgd(), and ~SwCursorShell().
|
private |
table rows or columns selected by not cell by cell
Definition at line 213 of file crsrsh.hxx.
Referenced by MarkListLevel().