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 | StartsWith { None , Table , HiddenPara } |
enum class | PopMode { DeleteCurrent , DeleteStack } |
Public Types inherited from sw::Ring< SwViewShell > | |
typedef std::add_const< SwViewShell >::type | const_value_type |
typedef RingContainer< 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) |
::std::optional<::std::pair< SwNode const *, ::std::vector< SwTableNode * > > > | ExtendedSelectedAll () const |
If ExtendedSelectAll() was called and selection didn't change since then. More... | |
StartsWith | StartsWith_ () |
If document body starts with a table or starts/ends with hidden paragraph. More... | |
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 | HasHiddenSections () const |
bool | IsReadOnlyAvailable () const |
void | SetReadOnlyAvailable (bool bFlag) |
is the cursor allowed to enter ReadOnly sections? More... | |
bool | IsOverReadOnlyPos (const Point &rPt) const |
void | SetFlyMacroLnk (const Link< const SwFlyFrameFormat *, void > &rLnk) |
const Link< const SwFlyFrameFormat *, void > & | GetFlyMacroLnk () const |
void | SetChgLnk (const Link< LinkParamNone *, void > &rLnk) |
const Link< LinkParamNone *, void > & | GetChgLnk () const |
void | SetGrfArrivedLnk (const Link< SwCursorShell &, void > &rLnk) |
const Link< SwCursorShell &, void > & | GetGrfArrivedLnk () const |
void | CallChgLnk () |
bool | HasSelection () const |
Does the current cursor create a selection? More... | |
bool | IsSelection () const |
bool | IsMultiSelection () const |
bool | IsSelFullPara () const |
bool | ShouldWait () const |
Should WaitPtr be switched on for the clipboard? More... | |
bool | IsSelOnePara () const |
const 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 |
Check if Point of current cursor is placed within a table. More... | |
bool | MoveOutOfTable () |
bool | TrySelectOuterTable () |
bool | MoveStartText () |
bool | IsCursorInFootnote () const |
Point & | GetCursorDocPos () const |
Point | GetCursorPagePos () 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 bEven=false, bool bFirst=false) |
bool | IsInHeaderFooter (bool *pbInHeader=nullptr) const |
bool | GotoNextTOXBase (const OUString *=nullptr) |
jump to the next index More... | |
bool | GotoPrevTOXBase (const OUString *=nullptr) |
jump to previous index More... | |
void | GotoTOXMarkBase () |
jump to index of TOXMark More... | |
bool | GotoNxtPrvTOXMark (bool bNext=true) |
jump to next/previous index marker More... | |
const 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) |
void | GotoFormControl (bool bNext) |
Go to the next (or previous) form control, based first on tabIndex and then paragraph position, where a tabIndex of 1 is first, 0 is last, and -1 is excluded. More... | |
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 | IsInHiddenRange (const bool bSelect) |
If the current cursor position is inside a hidden range true is returned. More... | |
void | ClearUpCursors () |
void | SetMacroExecAllowed (const bool _bMacroExecAllowed) |
bool | IsMacroExecAllowed () const |
OUString | GetCursorDescr () const |
Returns textual description of the current selection. More... | |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
OUString | getPageRectangles () |
Implementation of lok::Document::getPartPageRectangles() for Writer. More... | |
void | NotifyCursor (SfxViewShell *pViewShell) const |
See SwView::NotifyCursor(). More... | |
Public Member Functions inherited from SwViewShell | |
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 | 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 (LockPaintReason eReason) |
void | ImplLockPaint () |
void | UnlockPaint (bool bVirDev=false) |
void | ImplUnlockPaint (std::vector< LockPaintReason > &rReasons, bool bVirDev) |
bool | IsPaintLocked () const |
bool | HasDrawView () const |
void | MakeDrawView () |
bool | HasDrawViewDrag () const |
SdrView * | GetDrawView () |
const SdrView * | GetDrawView () const |
SdrView * | GetDrawViewWithValidMarkList () |
const SfxItemPool & | GetAttrPool () const |
SfxItemPool & | GetAttrPool () |
bool | IsPreview () 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 () |
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 |
Public Member Functions inherited from sw::Ring< SwViewShell > | |
virtual | ~Ring () COVERITY_NOEXCEPT_FALSE |
void | unlink () |
algo::unlink is buggy! don't call it directly! More... | |
void | MoveTo (SwViewShell *pDestRing) |
Removes this item from its current ring container and adds it to another ring container. More... | |
ring_container | GetRingContainer () |
const_ring_container | GetRingContainer () const |
Public Member Functions inherited from sw::IShellCursorSupplier | |
virtual | ~IShellCursorSupplier () |
virtual 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 Public Member Functions inherited from SwViewShell | |
static bool | IsLstEndAction () |
static void | PrtOle2 (SwDoc *pDoc, const SwViewOption *pOpt, const SwPrintData &rOptions, vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect, bool bOutputForScreen) |
static void | SetShellRes (ShellResource *pRes) |
static 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... | |
Protected Member Functions inherited from sw::Ring< SwViewShell > | |
Ring () | |
Creates a new item in a ring container all by itself. More... | |
Ring (SwViewShell *pRing) | |
Creates a new item and add it to an existing ring container. More... | |
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 | |
Protected Attributes inherited from SwViewShell | |
SwRect | maVisArea |
The modern version of VisArea. More... | |
tools::Rectangle | maLOKVisibleArea |
The visible area in the LibreOfficeKit client. More... | |
rtl::Reference< 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... | |
std::vector< LockPaintReason > | maLockPaintReasons |
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 Protected Attributes inherited from SwViewShell | |
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 147 of file crsrsh.hxx.
|
private |
Definition at line 280 of file crsrsh.hxx.
|
private |
Definition at line 281 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 162 of file crsrsh.hxx.
|
strong |
Enumerator | |
---|---|
DeleteCurrent | |
DeleteStack |
Definition at line 440 of file crsrsh.hxx.
|
strong |
Enumerator | |
---|---|
None | |
Table | |
HiddenPara |
Definition at line 337 of file crsrsh.hxx.
SwCursorShell::SwCursorShell | ( | SwDoc & | rDoc, |
vcl::Window * | pWin, | ||
const SwViewOption * | pOpt | ||
) |
default constructor
Definition at line 3281 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 3245 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 3326 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 474 of file crsrsh.cxx.
References SwFrame::FindColFrame(), GetCurrFrame(), SwFrame::GetUpper(), and m_oldColFrame.
Referenced by SwView::StateStatusLine().
void SwCursorShell::BlockCursorToCursor | ( | ) |
Definition at line 1189 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 2847 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 786 of file crsrsh.hxx.
Referenced by SwEditWin::MouseButtonDown(), SwWrtShell::MoveCursor(), and SwEditWin::SelectMenuPosition().
void SwCursorShell::ClearMark | ( | ) |
Definition at line 1225 of file crsrsh.cxx.
References SwPaM::DeleteMark(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), sw::Ring< value_type >::GetRingContainer(), SwPaM::HasMark(), m_nCursorMove, m_pCurrentCursor, and m_pTableCursor.
Referenced by SwWrtShell::BwdPara_(), SwWrtShell::BwdSentence_(), SwHHCWrapper::ChangeText(), SwAccessibleTable::clearAccessibleSelection(), SwOneExampleFrame::ClearDocument(), SwWrtShell::CloseMark(), SwHTMLParser::Continue(), SwInsertDBColAutoPilot::DataToDoc(), SwInputWindow::DelBoxContent(), sw::annotation::SwAnnotationWin::Delete(), SwEditShell::DeleteGlobalDocContent(), SwWrtShell::DelLeft(), SwWrtShell::DelLine(), SwWrtShell::DelNxtWord(), SwWrtShell::DelPrvWord(), SwWrtShell::DelRight(), SwWrtShell::DelToEndOfSentence(), SwWrtShell::EndWrd(), SwWrtShell::EnterExtMode(), SwWrtShell::EnterStdMode(), SwTextShell::ExecField(), SwBaseShell::Execute(), SwTextShell::Execute(), SwBreakDashedLine::execute(), SwContentTree::ExecuteContextMenuAction(), FindValidContentNode(), SwWrtShell::FwdPara_(), SwWrtShell::FwdSentence_(), SwFEShell::GotoFly(), SwEditShell::GotoGlobalDocContent(), sw::UndoManager::impl_DoUndoRedo(), SwFieldEditDlg::Init(), SwWrtShell::Insert(), SwWrtShell::InsertField2(), SwWrtShell::InsertFootnote(), SwEditShell::InsertGlobalDocContent(), SwTextShell::InsertSymbol(), SwEditShell::InsertURL(), SwWrtShell::IntelligentCut(), ItemSetToTableParam(), lcl_GrabCursor(), lcl_OutlineUpDownWithSubPoints(), lcl_SelectSameStrings(), lcl_TableParamToItemSet(), SwEditShell::MoveGlobalDocContent(), SwNavigationPI::MoveOutline(), SwWrtShell::NxtWrd_(), SwWrtShell::NxtWrdForDelete(), SwFEShell::ProtectCells(), SwWrtShell::PrvWrd_(), SwWrtShell::PrvWrdForDelete(), SwInputFieldList::PushCursor(), SwEditShell::Redo(), SwHHCWrapper::ReplaceUnit(), SwWrtShell::ResetSelect(), SwWrtShell::SearchAttr(), SwWrtShell::SearchPattern(), SwWrtShell::SearchTempl(), SwAccessibleContext::Select(), SwFEShell::SelectFlyFrame(), SwFEShell::SelectObj(), SwFEShell::SelFlyGrabCursor(), SwWrtShell::SelPara(), SwWrtShell::SelSentence(), SwWrtShell::SetCursor(), SetCursorInHdFt(), SwEditWin::SetCursorTwipPosition(), SetReadOnlyAvailable(), SwInsertDBColAutoPilot::SetTabSet(), SwWrtShell::SttLeaveSelect(), SwWrtShell::SttWrd(), sw_CharDialogResult(), SwDoc::TableToText(), SwEditShell::TableToText(), SwFEShell::ToggleHeaderFooterEdit(), SwEditShell::Undo(), SwAccessibleTable::unselectColumn(), SwAccessibleTable::unselectRow(), and SwDropCapsPict::UpdatePaintSettings().
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 3932 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 2647 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 1340 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 1104 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(), GotoFormControl(), SwWrtShell::Insert(), and SwEditWin::KeyInput().
bool SwCursorShell::CursorInsideInputField | ( | ) | const |
Definition at line 1094 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 1206 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 1130 of file crstrvl.cxx.
References GetCursor(), SwViewShell::GetLayout(), PosInsideInputField(), and Start.
Referenced by SwEditWin::GetDropDestination().
|
inline |
|
overridevirtual |
Reimplemented from SwViewShell.
Definition at line 4021 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, None, SCROLLWIN, SwVisibleCursor::Show(), ShowCursors(), StartsWith_(), UpdateCursor(), and SwDoc::UpdateNumRule().
Referenced by SwAccessibleParagraph::addSelection(), SwInsFootNoteDlg::Apply(), SwEditShell::ApplyChangedSentence(), SwEditShell::ApplyViewOptions(), SwWrtShell::AutoUpdateFrame(), SwWrtShell::AutoUpdatePara(), SwRedlineAcceptDlg::CallAcceptReject(), CheckTableBoxContent(), SwJavaEditDialog::CheckTravel(), SwAccessibleTable::clearAccessibleSelection(), SwFormatClipboard::Copy(), SwContentTree::DeleteOutlineSelections(), SwAccessibleTable::deselectAccessibleChild(), SwContentTree::EditEntry(), SwFEShell::EndAllActionAndCall(), EndCursorMove(), SwDrawShell::ExecDrawDlg(), SwTextShell::ExecField(), SwTextShell::ExecParaAttrArgs(), SwView::ExecTabWin(), SwSpellPopup::Execute(), SwBaseShell::Execute(), SwTableShell::Execute(), SwTextShell::Execute(), SwDrawBaseShell::Execute(), SwGlobalTree::ExecuteContextMenuAction(), SwBaseShell::ExecuteGallery(), SwView::ExecViewOptions(), SwFEShell::GetConnectableFrameFormats(), SwContentTree::GotoContent(), IMPL_LINK(), IMPL_LINK_NOARG(), SwFieldEditDlg::Init(), SwInsFootNoteDlg::Init(), SwWrtShell::InsertContentControl(), SwFieldMgr::InsertField(), SwView::InsertGraphic(), SwView::InsertGraphicDlg(), SwTextShell::InsertHyperlink(), SwBaseShell::InsertRegionDialog(), SwBaseShell::InsertURLButton(), IsTableComplexForChart(), lcl_SetAllTextToDefaultLanguage(), SwWrtShell::MakeAllFoldedOutlineContentVisible(), SwOutlineTabDialog::Ok(), SwFormatClipboard::Paste(), SwTransferable::PrivateDrop(), SwAccessibleTable::selectAccessibleChild(), SwWrtShell::SelectNextPrevHyperlink(), SwFEShell::SelectObj(), SetBookmark(), SetBookmark2(), SwWrtShell::SetInsMode(), SwLangHelper::SetLanguageStatus(), SetSelection(), SetShadowCursorPos(), SwEditShell::SpellContinue(), SwEditShell::SpellSentence(), SwTextShell::StateInsert(), sw_CharDialog(), sw_CharDialogResult(), sw_ParagraphDialogResult(), SwRootFrame::UnoRemoveAllActions(), SwAccessibleTable::unselectColumn(), SwAccessibleTable::unselectRow(), SwWordCountFloatDlg::UpdateCounts(), and SwActContext::~SwActContext().
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(), SwContentTree::GotoContent(), SwEditShell::GotoGlobalDocContent(), SwIndexMarkPane::InitControls(), SwWrtShell::SimpleMove(), SwLayIdle::SwLayIdle(), SwIndexMarkPane::UpdateDialog(), SwDropCapsPict::UpdatePaintSettings(), and SwMvContext::~SwMvContext().
|
static |
Definition at line 1149 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 748 of file crsrsh.cxx.
References SwPosition::Assign(), SwPosition::AssignEndIndex(), SwNode::EndOfSectionNode(), FindParentText(), SwViewShell::GetDoc(), SwNodes::GetEndOfContent(), SwNodes::GetEndOfPostIts(), SwPaM::GetMark(), SwDoc::GetNodes(), SwPaM::GetPoint(), getShellCursor(), SwNodes::GoNext(), SwNodes::GoPrevious(), IsTableMode(), m_pCurrentCursor, SwPaM::Normalize(), and TableCursorToCursor().
Referenced by SwTextShell::Execute(), lcl_SetAllTextToDefaultLanguage(), SwWrtShell::SelAll(), and SwLangHelper::SetLanguageStatus().
std::optional<::std::pair< SwNode const *,::std::vector< SwTableNode * > > > SwCursorShell::ExtendedSelectedAll | ( | ) | const |
If ExtendedSelectAll() was called and selection didn't change since then.
Definition at line 823 of file crsrsh.cxx.
References SwPaM::End(), SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), FindParentText(), SwViewShell::GetDoc(), SwNode::GetIndex(), SwDoc::GetNodes(), getShellCursor(), SwNode::GetTableNode(), SwNodes::GoNext(), SwNodes::GoPrevious(), SwNode::IsEndNode(), SwNode::IsSectionNode(), SwNode::IsTableNode(), SwContentNode::Len(), m_pTableCursor, None, SwPaM::Start(), SwNode::StartOfSectionNode(), and Table.
Referenced by SwEditShell::CopySelToDoc(), SwEditShell::DeleteSel(), EndAction(), SwFEShell::InsertRow(), lcl_TableParamToItemSet(), sw::NotifyTableCollapsedParagraph(), Paint(), SwWrtShell::SelAll(), ShellGetFocus(), ShowCursor(), and UpdateCursorPos().
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 2944 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 3811 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 3848 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 3830 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 2302 of file crstrvl.cxx.
References SwViewShell::mxDoc.
bool SwCursorShell::FindValidContentNode | ( | bool | bOnlyText | ) |
search a valid content position (not protected/hidden)
Definition at line 3428 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 452 of file crsrsh.cxx.
References SwViewShell::Imp().
Referenced by SwView::StateStatusLine().
|
static |
Definition at line 441 of file crsrsh.cxx.
References SwViewShell::Imp().
Referenced by SwView::StateStatusLine().
|
static |
Definition at line 463 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 2918 of file crsrsh.cxx.
References SwPaM::End(), SwPosition::GetContentIndex(), SwPosition::GetNode(), SwPaM::GetPoint(), SwTextNode::GetText(), SwNode::GetTextNode(), SwPaM::HasMark(), IsTableMode(), m_pCurrentCursor, nPos, and SwPaM::Start().
Referenced by SwWrtShell::DelLeft(), SwTextShell::Execute(), SwWrtShell::IntelligentCut(), and SwEditWin::KeyInput().
|
inline |
Definition at line 536 of file crsrsh.hxx.
Referenced by SwFEShell::CheckUnboundObjects(), SwEditWin::Command(), SwWrtShell::Do(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwEnhancedPDFExportHelper::ExportAuthorityEntryLinks(), 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 1503 of file crsrsh.cxx.
References SwFrame::GetCharRect(), and GetCurrFrame().
Referenced by SwEditWin::Command().
|
inline |
Definition at line 504 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 1433 of file crstrvl.cxx.
References SwContentAtPos::aFnd, AllowContaining, SwPosition::Assign(), aStr, SwRect::Bottom(), SwRangeRedline::CalcStartEnd(), CheckNodeSection, ClickField, COMPLETE_STRING, SwRect::Contains(), ContentCheck, ContentControl, Count, SfxItemSet::Count(), CurrAttrs, SwPaM::DeleteMark(), SfxItemSet::Differentiate(), SwTextAttr::DontExpand(), SwContentAtPos::eContentAtPos, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), End, SwTextAttr::End(), ExpandFootnote, Field, SwRedlineTable::FindAtPosition(), SwNode::FindTableBoxStartNode(), SwNode::FindTableNode(), FormControl, Ftn, SwpHints::Get(), SwTOXMark::GetAlternativeText(), SwTextAttr::GetAttr(), SwDoc::GetAttrPool(), SwViewShell::GetAttrPool(), SwFrame::GetCharRect(), SwContentNode::GetCondFormatColl(), SwPosition::GetContentIndex(), SfxItemIter::GetCurItem(), SwViewShell::GetDoc(), SwTextAttr::GetEnd(), SwTextNode::GetExpandText(), sw::GetExpandTextMerged(), SwFormatField::GetField(), SwTextNode::GetFieldTextAttrAt(), SwContentNode::GetFormatColl(), SwTextAttr::GetFormatField(), SwFrameAreaDefinition::getFrameArea(), SwTableBox::GetFrameFormat(), SwFrameAreaDefinition::getFramePrintArea(), SwDoc::getIDocumentMarkAccess(), SwDoc::getIDocumentRedlineAccess(), SwNode::GetIndex(), SwTextAttr::GetINetFormat(), IDocumentMarkAccess::getInnerFieldmarkFor(), SwFormat::GetItemIfSet(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwRootFrame::GetModelPositionForViewPoint(), SwFormat::GetName(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwDoc::GetNodes(), SwNodes::GetOutLineNds(), sw::GetParaPropsNode(), SwPaM::GetPoint(), SfxItemPool::GetPresentation(), SwContentNode::GetpSwAttrSet(), SwTextNode::GetpSwpHints(), IDocumentRedlineAccess::GetRedline(), IDocumentRedlineAccess::GetRedlineTable(), SwTableLine::GetRedlineType(), SwTableBox::GetRedlineType(), SwTextNode::GetSmartTags(), SwTextAttr::GetStart(), GetStartNode(), SwContentNode::GetSwAttrSet(), SwTextNode::GetSwpHints(), SwTableNode::GetTable(), SwTable::GetTableBox(), SwTextNode::GetTextAttrAt(), SwTextNode::GetTextAttrForCharAt(), SwTextNode::GetTextAttrsAt(), SwNode::GetTextNode(), SwTextAttr::GetTOXMark(), SwRangeRedline::GetType(), SwTableBox::GetUpper(), SwFrame::GetUpper(), SwFormatINetFormat::GetValue(), SwViewShell::GetWin(), SwWrongList::GetWrongPos(), SwNodes::GoNextSection(), GotoFootnoteAnchor(), SwField::HasClickHdl(), SwContentNode::HasSwAttrSet(), i, index, InetAttr, SwWrongList::InWrongWord(), SwFrame::IsCellFrame(), SwTableFormula::IsIntrnlName(), IsInvalidItem(), IsReadOnlyAvailable(), SwCursor::IsSelOvr(), SwTextNode::IsSymbolAt(), IsTableMode(), JumpEdit, SwRect::Left(), SwTextNode::Len(), vcl::Window::LogicToPixel(), SwCursorMoveState::m_bContentCheck, SwCursorMoveState::m_bExactOnly, SwCursorMoveState::m_bFieldInfo, SwCursorMoveState::m_bFootnoteNoInfo, SwCursorMoveState::m_bInNumPortion, SwCursorMoveState::m_bPosCorr, SwCursorMoveState::m_bSetInReadOnly, SwCursorMoveState::m_nInNumPortionOffset, m_pCurrentCursor, SwCursorMoveState::m_pSpecialPos, n, SwSpecialPos::nCharOfst, SwContentAtPos::nDist, SfxItemIter::NextItem(), nIndex, NONE, nPos, SwRedlineTable::npos, NumLabel, Outline, sw::Parent, SwContentAtPos::pAttr, SwContentAtPos::pField, SwContentAtPos::pFieldmark, SwContentAtPos::pFndTextAttr, SwContentAtPos::pNode, POOLATTR_BEGIN(), POOLATTR_END(), SwRect::Pos(), SwContentAtPos::pRedl, SwTableFormula::PtrToBoxNm(), Redline, RefMark, RES_BOXATR_FORMULA(), RES_BOXATR_VALUE(), RES_TXTATR_CONTENTCONTROL(), RES_TXTATR_FTN(), RES_TXTATR_INETFMT(), RES_TXTATR_REFMARK(), RES_TXTATR_TOXMARK(), SwRect::Right(), SwOutlineNodes::Seek_Entry(), SmartTag, SwContentAtPos::sStr, SwWrongList::SubList(), Table, TableBoxFml, TableBoxValue, TableColRedline, TableRedline, Toggle, SwRect::Top(), ToxMark, SwRect::Union(), UpdateCursor(), SwTableLine::UpdateTextChangesOnly(), SwField::Which(), SwTextAttr::Which(), and Size::Width().
Referenced by SwEditWin::AcceptDrop(), SwTransferable::GetData(), SwFEShell::GetNumRuleNodeAtPos(), SwFEShell::IsNumLabel(), lcl_urlOverBackground(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwEditWin::MouseMove(), SwEditWin::RequestHelp(), sw::sidebarwindows::SidebarTextControl::RequestHelp(), SwTransferable::SetDataForDragAndDrop(), SwEditWin::StartDrag(), SwReadOnlyPopup::SwReadOnlyPopup(), SwEditWin::UpdatePointer(), and SwContentTree::UpdateTracking().
SwField * SwCursorShell::GetCurField | ( | const bool | bIncludeInputFieldAtStart = false | ) | const |
Definition at line 1073 of file crstrvl.cxx.
References GetCursor(), GetFieldAtCursor(), SwTableNode::GetTable(), SwField::GetTyp(), IsCursorInTable(), SwPaM::IsMultiSelection(), Table, and SwFieldType::Which().
Referenced by SwTextShell::ExecField(), SwTextShell::ExecIdx(), 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(), SwViewShell::getIDocumentMarkAccess(), IDocumentMarkAccess::getInnerFieldmarkFor(), pos, and Start.
Referenced by GotoFormControl(), and 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 2771 of file crsrsh.cxx.
References SwViewShell::GetDocSize(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwShellCursor::GetPtPos(), m_pCurrentCursor, SwViewShell::mnStartAction, and SwViewShell::SizeChgNotify().
Referenced by bColumnChange(), SwFEShell::CalcBoundRect(), SwFEShell::CanUnProtectCells(), SwFEShell::CheckHeadline(), SwFEShell::ChgCurPageDesc(), SwFEShell::DeleteCol(), SwFEShell::DeleteRow(), SwFEShell::DeleteTableSel(), SwTextShell::ExecField(), SwFEShell::FindAnchorPos(), SwFEShell::GetAnyCurRect(), SwEditShell::GetAnySection(), SwFEShell::GetAutoSum(), SwFEShell::GetBestObject(), GetCharRectAt(), SwFEShell::GetCurColNum(), SwFEShell::GetCurOutColNum(), SwFEShell::GetCurPageDesc(), SwFEShell::GetCurrFlyFrame(), GetCursorPagePos(), SwFEShell::GetCurTabColNum(), SwAccessibleDocument::getExtendedAttributes(), SwFEShell::GetFrameType(), SwEditShell::GetGraphicAttr(), GetPageNum(), SwFEShell::GetPageNumber(), GetPageNumSeqNonEmpty(), SwFEShell::GetPageOffset(), SwFEShell::GetPhyPageNum(), SwFEShell::GetRowsToRepeat(), SwFEShell::GetSectionWidth(), GetSelText(), SwFEShell::GetTabBackground(), SwFEShell::GetTabCols(), SwFEShell::GetTableAttr(), SwEditShell::GetTableBoxFormulaAttrs(), SwEditShell::GetTableBoxText(), SwFEShell::GetTabRows(), SwFEShell::GetVirtPageNum(), GotoFlyAnchor(), GotoFooterText(), GotoHeaderText(), SwFEShell::InsertCol(), SwFEShell::InsertLabel(), SwFEShell::InsertRow(), SwFEShell::IsAdjustCellWidthAllowed(), SwFEShell::IsColRightToLeft(), IsCursorReadonly(), SwFEShell::IsDirectlyInSection(), IsSelOnePara(), SwEditShell::IsTableBoxTextFormat(), SwFEShell::IsTableRightToLeft(), SwFEShell::IsTableVertical(), lcl_SetAPageOffset(), SwWrtShell::MakeAllFoldedOutlineContentVisible(), SwFEShell::MakeSelVisible(), MoveColumn(), SelTable(), SelTableBox(), SelTableRowOrCol(), sendLOKCursorUpdates(), SwFEShell::SetColRowWidthHeight(), SetCursorInHdFt(), SwFEShell::SetNewPageOffset(), SwFEShell::SetPageOffset(), SwFEShell::SetRowsToRepeat(), SwFEShell::SetTabBackground(), SwFEShell::SetTabCols(), SwFEShell::SetTableAttr(), SwEditShell::SetTableBoxFormulaAttrs(), SwFEShell::SetTabRows(), SwFEShell::Sort(), SwFEShell::SplitTab(), and SwFEShell::UnProtectCells().
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(), SwWrtShell::ClickToField(), SwXTextViewCursor::collapseToEnd(), SwXTextViewCursor::collapseToStart(), SwEditShell::CollectParagraphClassification(), SwEditWin::Command(), CompareCursorStackMkCurrPt(), SwHTMLParser::Continue(), SwHHCWrapper::Convert(), SwEditShell::Copy(), SwFEShell::Copy(), SwFormatClipboard::Copy(), SwFEShell::CopyDrawSel(), SwEditShell::CopySelToDoc(), SwEditShell::CountWords(), SwEditShell::CreateExtTextInput(), CreateNewShellCursor(), CursorInsideContentControl(), CursorInsideInputField(), SwEditShell::Delete(), SwEditShell::DeleteExtTextInput(), SwEditShell::DeleteGlobalDocContent(), SwFEShell::DeleteRow(), SwEditShell::DelFullPara(), SwEditShell::DelINetAttrWithText(), SwWrtShell::DelLeft(), SwEditShell::DelNumRules(), SwWrtShell::DelRight(), SwAccessibleTable::deselectAccessibleChild(), DocPtInsideInputField(), SwEditShell::DontExpandFormat(), SwEditShell::DoSpecialInsert(), SwFieldDlg::EnableInsert(), SwTextShell::ExecCharAttrArgs(), SwBaseShell::ExecDelete(), SwTextShell::ExecField(), SwTextShell::ExecIdx(), SwView::ExecSpellPopup(), SwTableShell::Execute(), SwTextShell::Execute(), SwXTextDocument::executeContentControlEvent(), SwXTextDocument::executeFromFieldEvent(), SwEnhancedPDFExportHelper::ExportAuthorityEntryLinks(), SwEditShell::FieldToText(), SwEditShell::FillByEx(), Find_Text(), FindAttrs(), FindFormat(), SwEditWin::FlushInBuffer(), SwEditShell::GCAttr(), SwFEShell::GetAnyCurRect(), SwEditShell::GetAnySection(), GetBoxNms(), SwEditShell::GetCntType(), SwEditShell::GetCorrection(), SwEditShell::GetCurAttr(), GetCurField(), SwEditShell::GetCurFootnote(), SwEditShell::GetCurLang(), SwEditShell::GetCurParAttr(), GetCurrentFieldmark(), SwEditShell::GetCurrentOutlineLevels(), SwEditShell::GetCurrentParaOutlineLevel(), GetCurrentShellCursor(), SwEditShell::GetCurrRedline(), SwEditShell::GetCurrSection(), SwAccessibleFrameBase::GetCursor(), SwAccessibleParagraph::GetCursor(), GetCursorCnt(), GetCursorDescr(), SwEditShell::GetCurTextFormatColl(), SwEditShell::GetCurTOX(), SwEditShell::GetCurTOXMarks(), SwEditShell::GetCurWord(), SwXTextViewCursor::GetDoc(), SwEditShell::GetDropText(), SwXTextViewCursor::getEnd(), SwAccessibleDocument::getExtendedAttributes(), GetFieldmarkAfter(), GetFieldmarkBefore(), SwSpellDialogChildWindow::GetFocus(), SwFEShell::GetFormatFromAnyObj(), SwFEShell::GetFrameType(), SwEditShell::GetFullSelectedSectionCount(), SwEditShell::GetGrammarCorrection(), SwEditShell::GetGraphicPolygon(), SwEditShell::GetGrfNode_(), SwEditShell::GetGrfSize(), SwTextShell::GetIdxState(), SwEditShell::GetIMapGraphic(), SwEditShell::GetIMapInventor(), SwEditShell::GetItemWithPaM(), SwEditShell::GetLineCount(), SwVisibleCursor::getLOKPayload(), SwHHCWrapper::GetNextPortion(), SwSpellDialogChildWindow::GetNextWrongSentence(), SwEditShell::GetNodeNumStart(), SwEditShell::GetNumLevel(), SwEditShell::GetNumRuleAtCurrCursorPos(), SwEditShell::GetNumRuleAtCurrentSelection(), SwEditShell::GetOLEObject(), SwXTextViewCursor::getPage(), SwXTextViewCursor::GetPaM(), SwXTextViewCursor::getPropertyDefault(), SwXTextViewCursor::getPropertyState(), SwXTextViewCursor::getPropertyStates(), SwXTextViewCursor::getPropertyValue(), SwXTextView::getRubyList(), SwEditShell::GetScalingOfSelectedText(), SwEditShell::GetScriptType(), SwFEShell::GetSelectedPageDescs(), SwEditShell::GetSelectedText(), SwXTextView::getSelection(), SwWrtShell::GetSelectionType(), GetSmartTagRect(), GetSmartTagTerm(), SwXTextViewCursor::getStart(), SwXTextViewCursor::getString(), SwEditWin::GetSurroundingTextSelection(), SwFEShell::GetTableAutoFormat(), GetTableSel(), SwXTextViewCursor::getText(), SwLangHelper::GetTextForLanguageGuessing(), SwNavigationMgr::goBack(), GoNextBookmark(), GoPrevBookmark(), SwContentTree::GotoContent(), SwWrtShell::GotoDrawingObject(), SwInputFieldList::GotoFieldPos(), SwFEShell::GotoFly(), SwWrtShell::GotoFly(), SwWrtShell::GotoFootnoteAnchor(), SwWrtShell::GotoFormatField(), GotoFormControl(), SwEditShell::GotoGlobalDocContent(), SwWrtShell::GotoINetAttr(), sw::AccessibilityIssue::gotoIssue(), SwWrtShell::GotoMark(), SwWrtShell::GotoNextTOXBase(), SwWrtShell::GotoOutline(), SwXTextViewCursor::gotoRange(), SwWrtShell::GotoRedline(), SwWrtShell::GotoRefMark(), SwWrtShell::GotoRegion(), SwNavigationMgr::GotoSwPosition(), SwWrtShell::GotoTable(), GotoTOXMark(), SwEditShell::HandleCorrectionError(), SwEditShell::HandleUndoRedoContext(), SwFEShell::HasBoxSelection(), SwEditShell::HasBullet(), SwWrtShell::HasFoldedOutlineContentSelected(), SwEditShell::HasNumber(), SwFEShell::HasTableAnyProtection(), SwSelPaintRects::HighlightContentControl(), IMPL_LINK(), sw::sidebar::IMPL_LINK(), SwCallLink::ImplDestroy(), SwWrtShell::Insert(), SwFEShell::Insert(), SwEditShell::Insert(), SwEditShell::InsertDDETable(), SwEditShell::InsertField(), SwFieldMgr::InsertField(), SwWrtShell::InsertFootnote(), SwEditShell::InsertGlobalDocContent(), SwEditShell::InsertGlossary(), SwTextShell::InsertHyperlink(), SwFEShell::InsertObject(), SwWrtShell::InsertPageBreak(), SwBaseShell::InsertRegionDialog(), SwEditShell::InsertSection(), SwEditShell::InsertTable(), SwEditShell::InsertTableOf(), SwEditShell::InsertURL(), SwAccessibleMap::InvalidateShapeInParaSelection(), SwTransferable::isComplex(), SwEditShell::IsCursorInParagraphMetadataField(), SwEditShell::IsFirstOfNumRuleAtCursorPos(), SwEditShell::IsInsRegionAvailable(), SwEditShell::IsMoveLeftMargin(), SwEditShell::IsNoNum(), SwEditShell::IsNumRuleStart(), SwOleClient::IsProtected(), SwEditShell::IsProtectedOutlinePara(), SwEditShell::IsTextToTableAvailable(), SwEditWin::KeyInput(), lcl_BoxesInTrackedRows(), lcl_CollectDeletedRedlines(), lcl_CursorInDeletedTable(), lcl_CutRedlines(), lcl_emitSearchResultCallbacks(), lcl_FoldedOutlineNodeEndOfParaSplit(), lcl_GetPrintUIOptions(), lcl_IsAllowed(), lcl_SetAPageOffset(), lcl_TableParamToItemSet(), SwDocShell::LoadStylesFromFile(), SwSpellDialogChildWindow::LoseFocus(), SwEditShell::MergeTable(), SwEditShell::MoveGlobalDocContent(), SwEditShell::MoveLeftMargin(), SwEditShell::MoveNumParas(), SwEditShell::MoveOutlinePara(), SwEditShell::MoveParagraph(), SwFEShell::NewFlyFrame(), SwEditShell::NoNum(), sw::mark::MarkManager::NotifyCursorUpdate(), numfunc::NumDownChangesIndent(), SwWrtShell::NumOrBulletOff(), SwWrtShell::NumOrBulletOn(), SwEditShell::NumOrNoNum(), SwEditShell::NumUpDown(), SwEditShell::OutlineUpDown(), SwEditShell::Overwrite(), ParkCursor(), SwFEShell::ParkCursorInTab(), SwFEShell::Paste(), SwTransferable::Paste(), SwTransferable::PasteFileContent(), SwTransferable::PasteOLE(), SwFEShell::PastePages(), PrepareBoxInfo(), SwTransferable::PrivateDrop(), SwFieldDlg::ReInitDlg(), SwEditShell::RejectRedlinesInSelection(), SwPasteContext::remember(), SwEditShell::RemoveParagraphMetadataFieldAtCursor(), SwEditShell::Repeat(), SwEditShell::Replace(), SwEditShell::ReplaceDropText(), SwEditShell::ReplaceNumRule(), SwFEShell::ReplaceSdrObj(), SwHHCWrapper::ReplaceUnit(), SwEditShell::ReRead(), SwEditShell::ResetAttr(), SwEditShell::SaveGlossaryDoc(), SwEditShell::SearchNumRule(), SwAccessibleTable::selectAccessibleChild(), SwEditShell::SelectionHasBullet(), SwEditShell::SelectionHasNumber(), SwHHCWrapper::SelectNewUnit_impl(), SwContentTree::SelectOutlinesWithSelection(), SwFEShell::SelFlyGrabCursor(), SwEditShell::SetAttrItem(), SwEditShell::SetAttrSet(), SetBookmark(), SetBookmark2(), SwEditShell::SetChartName(), SwEditShell::SetCurFootnote(), SwEditShell::SetCurNumRule(), SwEditShell::SetExtTextInputData(), SwEditShell::SetGraphicPolygon(), SwEditShell::SetLinguRange(), SwEditShell::SetNodeNumStart(), SwEditShell::SetNumberingRestart(), SwEditShell::SetNumRuleStart(), SwXTextViewCursor::setPropertyToDefault(), SwXTextViewCursor::setPropertyValue(), SwEditShell::SetRedlineComment(), SwXTextView::setRubyList(), SwEditShell::SetSectionAttr(), SetSelection(), SwXTextViewCursor::setString(), SwEditShell::SetTextFormatColl(), ShouldWait(), SwInputWindow::ShowWin(), SwEditShell::SignParagraph(), SwFEShell::Sort(), SwEditShell::SpellStart(), SwEditShell::SplitNode(), SwEditShell::SplitTable(), SwDocShell::StartConvertFrom(), SwXMLImport::startDocument(), SwTextShell::StateField(), SwAutoFormat::SwAutoFormat(), SwCallLink::SwCallLink(), SwContentControlDlg::SwContentControlDlg(), SwEditShell::TableToText(), SwEditShell::TextToTable(), SwTranslateHelper::TranslateDocumentCancellable(), SwEditShell::TransliterateText(), SwFEShell::UnProtectTables(), SwTextRefMark::UpdateFieldContent(), SwEditShell::UpdateOneField(), SwEditShell::UpdateTableOf(), SwContentTree::UpdateTracking(), sw::sidebar::UpdateTree(), SwEditShell::ValidateCurrentParagraphSignatures(), SwFEShell::WizardGetFly(), SwWriter::Write(), sw::sidebar::WriterInspectorTextPanel::WriterInspectorTextPanel(), and SwPasteContext::~SwPasteContext().
|
inline |
Definition at line 343 of file crsrsh.hxx.
Referenced by SwWrtShell::ClickToField(), SwEditShell::CopySelToDoc(), SwAutoFormat::DeleteSelImpl(), SwWrtShell::EndSelect(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwTextShell::ExecIdx(), 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 344 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 3055 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(), SwTransferable::PasteData(), PrepareBoxInfo(), and ShouldWait().
OUString SwCursorShell::GetCursorDescr | ( | ) | const |
Returns textual description of the current selection.
Definition at line 4009 of file crsrsh.cxx.
References GetCursor(), SwDoc::GetPaMDescr(), IsMultiSelection(), and SwResId().
Referenced by SwSpellPopup::Execute(), SwTextShell::Execute(), SwWrtShell::GetSelDescr(), SwWrtShell::GotoContentControl(), and SwWrtShell::Insert().
|
inline |
Definition at line 925 of file crsrsh.hxx.
References SwShellCursor::GetPtPos(), and m_pCurrentCursor.
Referenced by SwFEShell::Copy(), GetCursorPagePos(), SwContentTree::GotoContent(), SwFEShell::GotoFly(), SwFEShell::Insert(), SwFEShell::InsertLabel(), SwFEShell::InsertObject(), SwFEShell::NewFlyFrame(), SwTransferable::PasteTargetURL(), SwFEShell::SelFlyGrabCursor(), and SwContentTree::UpdateTracking().
Point SwCursorShell::GetCursorPagePos | ( | ) | const |
Definition at line 1443 of file crsrsh.cxx.
References SwFrame::FindPageFrame(), GetCurrFrame(), and GetCursorDocPos().
Referenced by SwAccessibleDocument::getExtendedAttributes().
|
inline |
Definition at line 837 of file crsrsh.hxx.
Referenced by SwWrtShell::GetSelectionType(), and SwWrtShell::ResetSelect().
|
static |
Definition at line 1062 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 GotoFormControl(), 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 GotoFormControl().
|
inline |
Definition at line 500 of file crsrsh.hxx.
Referenced by SwCallLink::ImplDestroy(), and lcl_GrabCursor().
|
inline |
Definition at line 508 of file crsrsh.hxx.
Referenced by SwBaseShell::~SwBaseShell().
sal_uInt16 SwCursorShell::GetNextPrevPageNum | ( | bool | bNext = true | ) |
Definition at line 1553 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 1319 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 SwView::Execute(), lcl_OutlineUpDownWithSubPoints(), SwWrtShell::MakeAllFoldedOutlineContentVisible(), SwNavigationPI::MoveOutline(), SwContentTree::SelectOutlinesWithSelection(), SwOutlineTabDialog::SwOutlineTabDialog(), and SwContentTree::UpdateTracking().
sal_uInt16 SwCursorShell::GetPageCnt | ( | ) |
Definition at line 1591 of file crsrsh.cxx.
References SwViewShell::GetLayout(), and SwRootFrame::GetPageNum().
Referenced by SwNavigationPI::EditAction(), SwTextShell::ExecField(), SwEditWinUIObject::get_state(), SwAccessibleDocument::getExtendedAttributes(), SwGotoPageDlg::GetPageInfo(), SwView::GetPageStr(), SwXTextDocument::getParts(), IMPL_LINK(), IMPL_LINK_NOARG(), 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 1509 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 1529 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 1598 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 2107 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 2862 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(), SwTransferable::PasteData(), 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 2307 of file crstrvl.cxx.
References SwFillCursorPos::aCursor, SwFillCursorPos::eOrient, SwViewShell::GetDoc(), SwViewShell::GetIDocumentUndoRedo(), SwViewShell::GetLayout(), SwPosition::GetNode(), SwPaM::GetPoint(), HasSelection(), SwNode::IsProtect(), IsTableMode(), and m_pCurrentCursor.
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 3356 of file crsrsh.cxx.
References SwBlockCursor::getShellCursor(), m_pBlockCursor, m_pCurrentCursor, and m_pTableCursor.
Referenced by SwFEShell::AdjustCellWidth(), SwEditShell::AutoCorrect(), SwFEShell::BalanceRowHeight(), CallCursorFN(), CheckSplitCells(), SwFEShell::DeleteCol(), SwFEShell::DeleteRow(), SwFieldEditDlg::EnsureSelection(), ExtendedSelectAll(), ExtendedSelectedAll(), SwShellCursor::FillStartEnd(), SwFEShell::GetBoxAlign(), SwFEShell::GetBoxBackground(), SwFEShell::GetBoxDirection(), SwEditShell::GetChunkForAutoText(), GetOutlinePos(), SwEditShell::GetPrevAutoCorrWord(), SwFEShell::GetRowBackground(), SwFEShell::GetRowHeight(), SwFEShell::GetRowSplit(), SwFEShell::GetTabBorders(), GetTableSel(), SwWrtShell::GoEnd(), GoEndSentenceImpl(), GoEndWordImpl(), GoNextSentenceImpl(), GoNextWordImpl(), GoPrevWordImpl(), SwWrtShell::GoStart(), GoStartSentenceImpl(), GoStartWordImpl(), GotoFooterText(), GotoFormatContentControl(), GotoFormatField(), GotoHeaderText(), GotoINetAttr(), GotoNextOutline(), GotoOutline(), GotoPrevOutline(), HasSelection(), SwEditShell::Insert2(), SwWrtShell::InsertContentControl(), SwFEShell::InsertRow(), IsAtLRMargin(), LeftRight(), LRMargin(), MoveFieldType(), MoveOutOfTable(), MovePara(), MoveSection(), MoveStartText(), SwFEShell::ProtectCells(), SwWrtShell::SelAll(), SwFEShell::SetBoxAlign(), SwFEShell::SetBoxBackground(), SwFEShell::SetBoxDirection(), SetCursor(), SwEditWin::SetCursorTwipPosition(), SwFEShell::SetRowBackground(), SwFEShell::SetRowHeight(), SwFEShell::SetRowSplit(), SwFEShell::SetTabBorders(), SwFEShell::SetTabLineStyle(), StartsWith_(), SwTableAutoFormat::StoreTableProperties(), SwWrtShell::SttSelect(), UpdateCursor(), UpdateCursorPos(), and UpDown().
|
inline |
Definition at line 662 of file crsrsh.hxx.
Definition at line 4115 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, 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 4078 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 904 of file crsrsh.hxx.
References m_pStackCursor.
Referenced by PaMCorrAbs(), and PaMCorrRel().
|
inline |
Definition at line 935 of file crsrsh.hxx.
References m_pTableCursor.
|
inline |
Definition at line 930 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 671 of file crsrsh.hxx.
|
inline |
Definition at line 670 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 3748 of file crsrsh.cxx.
References SwViewShell::GetLayout(), SwRootFrame::GetModelPositionForViewPoint(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), IsReadOnlyAvailable(), SwCursorMoveState::m_bSetInReadOnly, m_pCurrentCursor, SwViewShell::mxDoc, and NONE.
Referenced by IsInRightToLeftText(), IsInVerticalText(), and SwEditWin::KeyInput().
|
static |
Definition at line 1040 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 1025 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 362 of file crsrsh.hxx.
Referenced by MoveCursorToNum(), and RefreshBlockCursor().
SwVisibleCursor * SwCursorShell::GetVisibleCursor | ( | ) | const |
Definition at line 3037 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 1657 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 1694 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 1676 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(), and GotoFormControl().
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(), Point::getX(), SwFrame::IsFlyFrame(), SwCursor::IsInProtectTable(), SwCursor::IsSelOvr(), SwRect::Left(), m_aCharRect, m_pCurrentCursor, READONLY, SwRect::Right(), SCROLLWIN, Point::setX(), 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(), 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, READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwEnhancedPDFExportHelper::EnhancedPDFExport(), GetContentAtPos(), and SwWrtShell::GotoFootnoteAnchor().
bool SwCursorShell::GotoFootnoteAnchor | ( | const SwTextFootnote & | rTextFootnote | ) |
Definition at line 814 of file crstrvl.cxx.
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 834 of file crstrvl.cxx.
References SwFormatContentControl::GetContentControl(), getShellCursor(), SwTextAttr::GetStart(), and SwNode::GetTextNode().
Referenced by SwWrtShell::GotoContentControl(), and GotoFormControl().
bool SwCursorShell::GotoFormatField | ( | const SwFormatField & | rField | ) |
Definition at line 1001 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().
void SwCursorShell::GotoFormControl | ( | bool | bNext | ) |
Go to the next (or previous) form control, based first on tabIndex and then paragraph position, where a tabIndex of 1 is first, 0 is last, and -1 is excluded.
Definition at line 879 of file crstrvl.cxx.
References CursorInsideContentControl(), SwFormatContentControl::GetContentControl(), SwTextAttr::GetContentControl(), SwDoc::GetContentControlManager(), SwContentControlManager::GetCount(), GetCurrentFieldmark(), GetCursor(), SwViewShell::GetDoc(), GetFieldmarkAfter(), GetFieldmarkBefore(), IDocumentMarkAccess::getFieldmarksBegin(), IDocumentMarkAccess::getFieldmarksEnd(), SwDoc::getIDocumentMarkAccess(), SwTextAttr::GetStart(), SwTextContentControl::GetTextNode(), GotoFieldmark(), GotoFormatContentControl(), i, nPos, SAL_MAX_UINT32, and SwContentControlManager::UnsortedGet().
Referenced by SwEditWin::KeyInput().
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(), SwRect::Pos(), and UpdateCursor().
Referenced by SwTextShell::ExecField(), SwTextShell::ExecMoveMisc(), and IMPL_LINK().
bool SwCursorShell::GotoINetAttr | ( | const SwTextINetFormat & | rAttr | ) |
Definition at line 2285 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 1192 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 266 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 SwEnhancedPDFExportHelper::ExportAuthorityEntryLinks(), and 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 383 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, 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 498 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, 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 1173 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 1157 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 1488 of file crsrsh.cxx.
References ChangePos, CHKRANGE, SwViewShell::GetLayout(), SwCursor::IsSelOvr(), m_pCurrentCursor, READONLY, SCROLLWIN, SwRootFrame::SetCurrPage(), Toggle, and UpdateCursor().
Referenced by SwEnhancedPDFExportHelper::ExportAuthorityEntryLinks(), 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 1257 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 313 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 2604 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 2531 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 1404 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, READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwWrtShell::GotoTable().
const SwTOXMark & SwCursorShell::GotoTOXMark | ( | const SwTOXMark & | rStart, |
SwTOXSearch | eDir | ||
) |
traveling between marks
Definition at line 588 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 362 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().
bool SwCursorShell::HasHiddenSections | ( | ) | const |
Definition at line 3699 of file crsrsh.cxx.
References SwViewShell::GetDoc(), SwDoc::GetDocShell(), sw::Ring< value_type >::GetRingContainer(), SwViewShell::GetViewOptions(), SwDocShell::GetWrtShell(), SwWrtShell::HasFoldedOutlineContentSelected(), SwTableCursor::HasHiddenBoxSel(), SwPaM::HasHiddenSections(), m_pCurrentCursor, and m_pTableCursor.
Referenced by SwEditShell::Delete().
|
inline |
Definition at line 908 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(), and SwWrtShell::SttSelect().
bool SwCursorShell::HasReadonlySel | ( | bool | isReplace = false | ) | const |
Definition at line 3662 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::ExecIdx(), 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 2838 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 464 of file crsrsh.hxx.
Referenced by SwFEShell::Copy().
void SwCursorShell::HideCursor | ( | ) |
Definition at line 2731 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(), sw::AccessibilityIssue::gotoIssue(), 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 2681 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 790 of file crsrsh.hxx.
Referenced by SwNavigationPI::~SwNavigationPI().
|
inline |
Definition at line 775 of file crsrsh.hxx.
Referenced by SwXTextViewCursor::isAtStartOfLine().
|
private |
Definition at line 573 of file crsrsh.cxx.
References SwViewShell::GetLayout(), getShellCursor(), and SwCursor::IsAtLeftRightMargin().
|
inline |
Definition at line 776 of file crsrsh.hxx.
Referenced by SwXTextViewCursor::isAtEndOfLine().
|
inline |
Definition at line 839 of file crsrsh.hxx.
Referenced by CheckTableBoxContent(), SwInsertDBColAutoPilot::DataToDoc(), and SaveTableBoxContent().
|
inline |
Definition at line 665 of file crsrsh.hxx.
Referenced by IsEndOfTable().
bool SwCursorShell::IsCursorInFootnote | ( | ) | const |
Definition at line 1437 of file crsrsh.cxx.
References SwPaM::GetPointNode(), SwStartNode::GetStartNodeType(), m_pCurrentCursor, SwNode::StartOfSectionNode(), and SwFootnoteStartNode.
Referenced by SwTextShell::GetState(), and SwTextShell::StateField().
const SwTableNode * SwCursorShell::IsCursorInTable | ( | ) | const |
Check if Point of current cursor is placed within a table.
Definition at line 600 of file crsrsh.cxx.
References SwNode::FindTableNode(), SwPaM::GetPointNode(), SwTableCursor::GetSelectedBoxes(), m_pCurrentCursor, and m_pTableCursor.
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(), SwContentTree::GotoContent(), 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 920 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 3609 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 540 of file crsrsh.hxx.
References SwRect::Overlaps(), and SwViewShell::VisArea().
Referenced by SwContentTree::GotoContent(), and SwWrtShell::PushCursor().
bool SwCursorShell::IsEndOfDoc | ( | ) | const |
Definition at line 3082 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 1419 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 1400 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 785 of file crsrsh.hxx.
Referenced by SwEditWin::MouseButtonDown(), SwWrtShell::MoveCursor(), and SwEditWin::SelectMenuPosition().
bool SwCursorShell::IsInFrontOfLabel | ( | ) | const |
Definition at line 1457 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 1038 of file crsrsh.cxx.
References SwPosition::GetNode(), SwPaM::GetPoint(), SwFrame::IsHeaderFrame(), lcl_IsInHeaderFooter(), and m_pCurrentCursor.
Referenced by SwTextShell::ExecMoveMisc(), and SwTextShell::StateField().
bool SwCursorShell::IsInHiddenRange | ( | const bool | bSelect | ) |
If the current cursor position is inside a hidden range true is returned.
If bSelect is true, the hidden range is selected. If bSelect is false, the hidden range is not selected.
Definition at line 3780 of file crsrsh.cxx.
References COMPLETE_STRING, SwScriptInfo::GetBoundsOfHiddenRange(), SwPosition::GetContentIndex(), SwPaM::GetMark(), SwPosition::GetNode(), SwPaM::GetPoint(), SwNode::GetTextNode(), SwViewShell::GetViewOptions(), SwPaM::HasMark(), m_pCurrentCursor, nPos, SwPosition::SetContent(), and SwShellCursor::SetMark().
Referenced by SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwWrtShell::Insert(), and SwTextShell::StateInsert().
|
private |
Definition at line 946 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 3770 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 3763 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 873 of file crsrsh.hxx.
Referenced by SwWrtShell::ExecMacro(), and SwCursorShell().
|
inline |
Definition at line 915 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 3042 of file crsrsh.cxx.
References SwViewShell::GetLayout(), SwRootFrame::GetModelPositionForViewPoint(), SwPaM::GetPoint(), SwViewShell::GetViewOptions(), SwPaM::HasReadonlySel(), and m_pCurrentCursor.
Referenced by SwEditWin::GetDropDestination(), and SwEditWin::UpdatePointer().
|
inline |
Definition at line 475 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 1426 of file crstrvl.cxx.
References SwViewShell::GetLayout(), and SwRootFrame::GetPageAtPos().
Referenced by SwEditWin::UpdatePointer().
|
inline |
Definition at line 494 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 910 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 3731 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 1362 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 834 of file crsrsh.hxx.
Referenced by CheckTableBoxContent(), SwWrtShell::DefaultDrag(), SwWrtShell::DefaultEndDrag(), SaveTableBoxContent(), and SwWrtShell::SttLeaveSelect().
|
inline |
Definition at line 478 of file crsrsh.hxx.
Referenced by SwEditWin::DeleteSurroundingText(), SwEditWin::GetSurroundingText(), and SwEditWin::GetSurroundingTextSelection().
bool SwCursorShell::IsStartOfDoc | ( | ) | const |
Definition at line 3070 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 1381 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 668 of file crsrsh.hxx.
Referenced by SwEditShell::AcceptRedlinesInSelection(), SwWrtShell::AddLeaveSelect(), SwSortDlg::Apply(), SwFEShell::CanUnProtectCells(), SwEditWin::changeMousePointer(), SwFEShell::CheckHeadline(), CheckSplitCells(), SwFEShell::Copy(), SwEditShell::CopySelToDoc(), CreateCursor(), SwEditShell::DeleteGlobalDocContent(), SwEditShell::DelFullPara(), DestroyCursor(), SwEditShell::DontExpandFormat(), SwTransferable::DragFinished(), SwWrtShell::EnterAddMode(), SwTextShell::ExecCharAttrArgs(), SwTextShell::ExecDelete(), SwBaseShell::ExecDlg(), SwView::ExecSpellPopup(), SwView::Execute(), SwBaseShell::Execute(), SwTableShell::Execute(), ExtendedSelectAll(), ExtendSelection(), SwWrtShell::ExtSelLn(), SwWrtShell::ExtSelWrd(), SwViewShell::FillPrtDoc(), SwBaseShell::GetBorderState(), GetBoxNms(), GetChar(), SwEditShell::GetCntType(), GetContentAtPos(), SwEditShell::GetCorrection(), SwEditShell::GetCurrSection(), SwAccessibleFrameBase::GetCursor(), SwAccessibleParagraph::GetCursor(), SwEditShell::GetGrammarCorrection(), GetPostItFieldAtCursor(), SwFEShell::GetRowSelectionFromTop(), SwAccessibleTable::GetSelBoxes(), SwWrtShell::GetSelectionType(), GetShadowCursorPos(), SwBaseShell::GetState(), SwTableShell::GetState(), SwTextShell::GetState(), SwFEShell::GetTableAutoFormat(), SwEditShell::GetTableBoxFormulaAttrs(), SwEditShell::GetTableBoxText(), GetTableSel(), GetTableSelCrs(), GoNextCell(), GoPrevCell(), SwEditShell::GotoGlobalDocContent(), GotoNxtPrvTableFormula(), GotoNxtPrvTOXMark(), GotoRedline(), SwFEShell::HasBoxSelection(), HasSelection(), SwFEShell::HasWholeTabSelection(), IMPL_LINK(), SwCallLink::ImplDestroy(), SwWrtShell::InsertField2(), SwEditShell::InsertGlobalDocContent(), SwWrtShell::InsertPostIt(), SwEditShell::InsertSection(), SwBaseShell::InsertTable(), IsEndOfTable(), SwEditShell::IsInsRegionAvailable(), SwOleClient::IsProtected(), IsSelection(), SwEditShell::IsTableBoxTextFormat(), ItemSetToTableParam(), SwEditWin::KeyInput(), lcl_TableParamToItemSet(), LeftRight(), LRMargin(), SwFEShell::MergeTab(), SwEditWin::MouseButtonDown(), SwEditShell::MoveGlobalDocContent(), SwFEShell::NewFlyFrame(), sw::NotifyTableCollapsedParagraph(), PaMCorrAbs(), PaMCorrRel(), SwFEShell::Paste(), SwTransferable::PasteData(), PrepareBoxInfo(), SwTransferable::PrivateDrop(), SwFEShell::ProtectCells(), SwEditShell::RejectRedlinesInSelection(), SelectTextAttr(), SelNextRedline(), SelPrevRedline(), SwFEShell::SelTableRowCol(), SwEditShell::SetAttrItem(), SwEditShell::SetAttrSet(), SetCursor(), SetShadowCursorPos(), SwEditShell::SetTableBoxFormulaAttrs(), ShouldWait(), SwFEShell::Sort(), SwTextShell::StateInsert(), SwCallLink::SwCallLink(), SwInsertChart::SwInsertChart(), SwDoc::TableToText(), SwEditShell::TableToText(), SwFEShell::UnProtectCells(), SwFEShell::UpdateTableStyleFormatting(), UpDown(), and SwWriter::Write().
void SwCursorShell::KillPams | ( | ) |
Definition at line 1308 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 364 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 370 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 538 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, and m_pBlockCursor.
|
inlineprotected |
Definition at line 898 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 1348 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::ExecuteContextMenuAction(), lcl_OutlineUpDownWithSubPoints(), and SwNavigationPI::MoveOutline().
|
virtual |
show the current selected "object"
Reimplemented in SwFEShell.
Definition at line 3392 of file crsrsh.cxx.
References SwRect::AddHeight(), SwRect::AddWidth(), Point::getX(), Point::getY(), SwRect::HasArea(), Height, SwRect::Height(), m_aCharRect, m_aCursorHeight, m_bHasFocus, SwViewShell::MakeVisible(), SwRect::Top(), SwViewShell::VisArea(), and Point::Y().
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 SwViewShell::GetViewOptions(), 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(), Point::getX(), Point::getY(), SwRect::Height(), SwCursor::IsInProtectTable(), SwCursor::IsSelOvr(), m_pCurrentCursor, m_pTableCursor, SwRect::Pos(), Point::setX(), Point::setY(), 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(), Point::getX(), Point::getY(), SwCursor::IsSelOvr(), SwFrame::IsVertical(), SwRect::Left(), m_aCharRect, m_pCurrentCursor, READONLY, SCROLLWIN, Point::setX(), Point::setY(), 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 674 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::MoveOutOfTable | ( | ) |
Definition at line 627 of file crsrsh.cxx.
References DeleteCurrent, SwPaM::DeleteMark(), DeleteStack, SwNode::EndOfSectionIndex(), SwNode::FindTableBoxStartNode(), SwNode::FindTableNode(), fnMoveBackward, fnMoveForward, SwNode::GetIndex(), SwPaM::GetMark(), SwPosition::GetNode(), SwPaM::GetPoint(), getShellCursor(), GoInContent(), MovePara(), SwPaM::Normalize(), point(), Pop(), Push(), and SwShellCursor::SetMark().
Referenced by SwWrtShell::GoEnd(), SwWrtShell::GoStart(), MoveStartText(), and SwWrtShell::SelAll().
bool SwCursorShell::MovePage | ( | SwWhichPage | fnWhichPage, |
SwPosPage | fnPosPage | ||
) |
Definition at line 920 of file crsrsh.cxx.
References ChangePos, GetFrameInPage(), SwViewShell::GetLayout(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwShellCursor::GetPtPos(), SwPaM::HasMark(), SwCursor::IsNoContent(), SwCursor::IsSelOvr(), m_pCurrentCursor, 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 982 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(), SwEnhancedPDFExportHelper::ExportAuthorityEntryLinks(), SwWrtShell::FwdPara_(), SwWrtShell::FwdSentence_(), SwMailMergeLayoutPage::InsertGreeting(), MoveOutOfTable(), 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 1006 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::MoveStartText | ( | ) |
Definition at line 732 of file crsrsh.cxx.
References SwPosition::Assign(), CHKRANGE, FindParentText(), SwNode::FindTableNode(), SwViewShell::GetDoc(), SwNode::GetIndex(), SwPosition::GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), getShellCursor(), SwNodes::GoNext(), m_pCurrentCursor, MoveOutOfTable(), READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwWrtShell::GoStart().
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(), READONLY, SCROLLWIN, SwShellTableCursor::SetMark(), and UpdateCursor().
Referenced by SwInsertDBColAutoPilot::DataToDoc(), SwAccessibleTable::deselectAccessibleChild(), SwTextShell::ExecMoveMisc(), SwTableShell::Execute(), SwWrtShell::GoEnd(), SwWrtShell::GoStart(), SwContentTree::GotoContent(), 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 1256 of file crsrsh.cxx.
References m_pCurrentCursor, and SwPaM::Normalize().
Referenced by SwWrtShell::ClickToField(), SwWrtShell::DelLeft(), SwWrtShell::DelRight(), SwFieldEditDlg::EnsureSelection(), SwEditWin::FlushInBuffer(), SwWrtShell::Insert(), SwWrtShell::InsertField2(), SelNextRedline(), and SelPrevRedline().
void SwCursorShell::NotifyCursor | ( | SfxViewShell * | pViewShell | ) | const |
Definition at line 1619 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 1711 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, None, SwRect::Overlaps(), SwViewShell::Paint(), SwVisibleCursor::Show(), SwShellCursor::Show(), StartsWith_(), 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 3188 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 3117 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 3100 of file crsrsh.cxx.
References SwPaM::DeleteMark(), SwShellCursor::GetNext(), SwPaM::GetPoint(), m_pCurrentCursor, m_pTableCursor, and SwTableCursor::ParkCursor().
Referenced by SwFEShell::Copy(), and SwFEShell::Paste().
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 2572 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(), MoveOutOfTable(), SwFEShell::PastePages(), Pop(), SwWrtShell::Pop(), SwInputFieldList::PopCursor(), SwEditShell::Redo(), SwEditShell::SetNumberingRestart(), SwAutoFormat::SwAutoFormat(), SwEditShell::Undo(), and SwWriter::Write().
|
static |
Definition at line 1125 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 2550 of file crsrsh.cxx.
References SwPaM::GetMark(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), SwPaM::HasMark(), m_pCurrentCursor, m_pStackCursor, m_pTableCursor, and SwShellCursor::SetMark().
Referenced by SwMailMergeLayoutPage::Activate(), SwEditShell::ApplyAutoMark(), SwEditShell::ApplyChangedSentence(), SwEditShell::AutoFormatBySplitNode(), SwWrtShell::BwdPara_(), SwWrtShell::BwdSentence_(), SwDocShell::ConvertTo(), SwFormatClipboard::Copy(), SwInputWindow::DelBoxContent(), SwEditWin::DeleteSurroundingText(), SwWrtShell::DelLeft(), SwWrtShell::DelLine(), SwWrtShell::DelRight(), SwWrtShell::DelToEndOfPara(), SwWrtShell::DelToEndOfSentence(), SwWrtShell::DelToStartOfPara(), SwWrtShell::EndWrd(), SwTextShell::ExecField(), SwView::ExecSpellPopup(), SwView::ExecTabWin(), SwTextShell::Execute(), SwBreakDashedLine::execute(), SwWrtShell::ExtSelWrd(), SwEditShell::FieldToText(), SwEditWin::FlushInBuffer(), SwWrtShell::FwdPara_(), SwWrtShell::FwdSentence_(), GetSmartTagRect(), SwEditWin::GetSurroundingText(), SwEditWin::GetSurroundingTextSelection(), SwEditShell::HandleCorrectionError(), IMPL_LINK(), SwHandleAnchorNodeChg::ImplDestroy(), SwWrtShell::Insert(), BookmarkTable::InsertBookmark(), SwFieldMgr::InsertField(), SwMailMergeLayoutPage::InsertGreeting(), SwModule::InsertLab(), SwWrtShell::InsertPostIt(), SwWrtShell::IntelligentCut(), SwTextContentControl::Invalidate(), ItemSetToTableParam(), SwEditWin::KeyInput(), lcl_OutlineUpDownWithSubPoints(), lcl_SelectSameStrings(), lcl_SetAllTextToDefaultLanguage(), lcl_TableParamToItemSet(), MoveOutOfTable(), SwWrtShell::NxtWrd_(), SwWrtShell::NxtWrdForDelete(), SwFEShell::PastePages(), SwTransferable::PrivateDrop(), SwWrtShell::PrvWrd_(), SwWrtShell::PrvWrdForDelete(), SwInputFieldList::PushCursor(), SwEditShell::Redo(), SwWrtShell::SelAll(), SwLangHelper::SetLanguageStatus(), SwEditShell::SetNumberingRestart(), SwInputWindow::ShowWin(), SwWrtShell::SttWrd(), sw_CharDialog(), sw_CharDialogResult(), SwAutoFormat::SwAutoFormat(), SwEditShell::Undo(), SwGrfShell::SwExternalToolEdit::Update(), SwDropCapsPict::UpdatePaintSettings(), and SwWriter::Write().
|
protected |
Definition at line 2436 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, SwCursor::SetColumnSelection(), SwShellCursor::SetMark(), Point::setX(), Point::setY(), and SwRect::Top().
Referenced by CursorToBlockCursor(), SttEndDoc(), and UpdateCursor().
|
inline |
Definition at line 366 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 371 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::SelectNxtPrvHyperlink | ( | bool | bNext | ) |
Definition at line 2713 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(), SwTextAttr::GetStart(), SwFormatURL::GetURL(), SwNodes::IsDocNodes(), SwCursor::IsInProtectTable(), SwCursor::IsSelOvr(), m_pCurrentCursor, MakeSelVisible(), n, SwIterator< TElementType, TSource, eMode >::Next(), READONLY, RES_DRAWFRMFMT(), SCROLLWIN, SetGetExpField::SetBodyPos(), SwPosition::SetContent(), SwShellCursor::SetMark(), SwCharFormats::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 2258 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 2197 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 2477 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 2504 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 626 of file crsrsh.hxx.
Referenced by SwWrtShell::SelectTableCol().
|
inline |
Definition at line 625 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 2364 of file crsrsh.cxx.
References SwTabCols::Count(), eType, tools::JsonWriter::finishAndGetAsOString(), 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 840 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 503 of file crsrsh.hxx.
Referenced by SwTransferable::PasteFileContent(), sw::sidebar::WriterInspectorTextPanel::WriterInspectorTextPanel(), and sw::sidebar::WriterInspectorTextPanel::~WriterInspectorTextPanel().
Definition at line 1047 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, 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, | ||
bool | bEven = false , |
||
bool | bFirst = false |
||
) |
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(), SwPageDesc::GetFirstLeft(), SwPageDesc::GetFirstMaster(), SwFormat::GetFooter(), SwFormatFooter::GetFooterFormat(), SwFormat::GetHeader(), SwFormatHeader::GetHeaderFormat(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPageDesc::GetLeft(), SwPageDesc::GetMaster(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SwPageFrame::GetPageDesc(), SwDoc::GetPageDesc(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), SwNodes::GoNext(), SwCursor::IsSelOvr(), m_pCurrentCursor, READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwWrtShell::ChangeHeaderOrFooter(), and SwTextShell::ExecField().
|
inline |
Definition at line 499 of file crsrsh.hxx.
Referenced by SwWrtShell::SwWrtShell().
|
inline |
Definition at line 507 of file crsrsh.hxx.
Referenced by SwBaseShell::SwBaseShell(), and SwBaseShell::~SwBaseShell().
|
protected |
Definition at line 1462 of file crsrsh.cxx.
References IsInFrontOfLabel(), m_pCurrentCursor, SwPaM::SetInFrontOfLabel_(), and UpdateMarkedListLevel().
Referenced by SwEditShell::DelNumRules(), SwEditShell::Insert2(), LeftRight(), SwWrtShell::NumOrBulletOff(), SetCursor(), SetVisibleCursor(), and UpDown().
|
inline |
Definition at line 869 of file crsrsh.hxx.
|
inline |
Definition at line 906 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(), SwContentTree::GotoContent(), 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 476 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 3644 of file crsrsh.cxx.
References ClearMark(), SwViewShell::GetDoc(), m_bSetCursorInReadOnly, and UpdateCursor().
void SwCursorShell::SetSelection | ( | const SwPaM & | rCursor | ) |
Definition at line 3868 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(), lcl_GrabCursor(), SwTranslateHelper::PasteHTMLToPaM(), SwFEShell::PastePages(), SwXTextView::select(), and SwAccessibleContext::Select().
|
inline |
Definition at line 833 of file crsrsh.hxx.
Referenced by SwWrtShell::EndSelTableCells(), and SwWrtShell::SelTableCells().
|
inline |
Definition at line 479 of file crsrsh.hxx.
Referenced by SwEditWin::DeleteSurroundingText(), SwEditWin::GetSurroundingText(), and SwEditWin::GetSurroundingTextSelection().
bool SwCursorShell::SetShadowCursorPos | ( | const Point & | rPt, |
SwFillMode | eFillMode | ||
) |
Definition at line 2335 of file crstrvl.cxx.
References IDocumentContentOperations::AppendTextNode(), SwPosition::Assign(), SwFillCursorPos::eMode, EMPTY, EndAction(), SwNode::EndOfSectionNode(), SwFillCursorPos::eOrient, SwNode::FindSectionNode(), SvxAdjustItem::GetAdjust(), SwContentNode::GetAttr(), SwViewShell::GetAttrPool(), SwPosition::GetContentIndex(), SwNode::GetContentNode(), SwViewShell::GetDoc(), SwDoc::getIDocumentContentOperations(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::GetIDocumentUndoRedo(), SwViewShell::GetLayout(), SwTextFormatColl::GetNextTextFormatColl(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPaM::GetPoint(), SwTextNode::GetTextColl(), SwNode::GetTextNode(), HasSelection(), Indent, INS_FROM_SHADOWCRSR, IDocumentContentOperations::InsertItemSet(), IDocumentContentOperations::InsertPoolItem(), IDocumentContentOperations::InsertString(), SwNode::IsEndNode(), IsTableMode(), SwNode::IsTextNode(), SwContentNode::Len(), m_pCurrentCursor, Margin, n, SwFillCursorPos::nColumnCnt, SwPostItHelper::NONE, SwFillCursorPos::nParaCnt, SwFillCursorPos::nSpaceCnt, SwFillCursorPos::nSpaceOnlyCnt, SwFillCursorPos::nTabCnt, comphelper::string::padToLength(), RES_BREAK(), RES_MARGIN_FIRSTLINE(), RES_MARGIN_TEXTLEFT(), RES_PARATR_ADJUST(), SvxAdjustItem::SetAdjust(), SvxFirstLineIndentItem::SetTextFirstLineOffset(), SwDoc::SetTextFormatColl(), SvxTextLeftMarginItem::SetTextLeft(), Space, StartAction(), Tab, and TabSpace.
Referenced by SwMailMergeLayoutPage::InsertGreeting(), and SwEditWin::MouseButtonUp().
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 2979 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(), SwFrame::PrepareCursor(), SwVisibleCursor::SetDragCursor(), SetInFrontOfLabel(), SetOnlyText, Point::setX(), Point::setY(), SwVisibleCursor::Show(), and SwShellCursor::Show().
Referenced by SwEditWin::MouseButtonUp().
void SwCursorShell::ShellGetFocus | ( | ) |
Definition at line 2758 of file crsrsh.cxx.
References CHKRANGE, ExtendedSelectedAll(), m_bBasicHideCursor, m_bHasFocus, m_bSVCursorVis, SwViewShell::mbSelectAll, None, ShowCursors(), StartsWith_(), UpdateCursor(), SwViewShell::VisArea(), and Width.
Referenced by SwFEShell::ShellGetFocus(), and SwLayIdle::SwLayIdle().
void SwCursorShell::ShellLoseFocus | ( | ) |
Definition at line 2751 of file crsrsh.cxx.
References HideCursors(), m_bBasicHideCursor, and m_bHasFocus.
Referenced by SwFEShell::ShellLoseFocus(), and SwLayIdle::SwLayIdle().
bool SwCursorShell::ShouldWait | ( | ) | const |
Should WaitPtr be switched on for the clipboard?
Wait for TableMode, multiple selections and more than x selected paragraphs.
Definition at line 3369 of file crsrsh.cxx.
References SwPaM::End(), GetCursor(), GetCursorCnt(), SwViewShell::GetDrawView(), SwPosition::GetNodeIndex(), SwViewShell::HasDrawView(), IsTableMode(), and SwPaM::Start().
Referenced by SwTransferable::PrepareForCopy(), and SwTransferable::PrepareForCopyTextRange().
void SwCursorShell::ShowCursor | ( | ) |
Definition at line 2710 of file crsrsh.cxx.
References ExtendedSelectedAll(), SwViewShell::GetSfxViewShell(), comphelper::LibreOfficeKit::isActive(), SfxViewShell::libreOfficeKitViewCallback(), m_bBasicHideCursor, m_bSVCursorVis, m_pCurrentCursor, SwViewShell::mbSelectAll, None, SfxLokHelper::notifyOtherViews(), SwSelPaintRects::SetShowContentControlOverlay(), SwSelPaintRects::SetShowTextInputFieldOverlay(), StartsWith_(), and UpdateCursor().
Referenced by SwWrtShell::ClickToField(), 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 2697 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(), SwContentTree::GotoContent(), IMPL_LINK(), IMPL_LINK_NOARG(), SwFieldEditDlg::Init(), SwInsFootNoteDlg::Init(), SwWrtShell::InsertContentControl(), SwFieldMgr::InsertField(), SwView::InsertGraphic(), SwView::InsertGraphicDlg(), SwTextShell::InsertHyperlink(), SwBaseShell::InsertRegionDialog(), SwBaseShell::InsertURLButton(), IsTableComplexForChart(), lcl_InvalidateAllContent(), lcl_InvalidateAllObjPos(), lcl_SetAllTextToDefaultLanguage(), SwWrtShell::MakeAllFoldedOutlineContentVisible(), SwOutlineTabDialog::Ok(), SwFormatClipboard::Paste(), SwTransferable::PrivateDrop(), SwAccessibleTable::selectAccessibleChild(), SwWrtShell::SelectNextPrevHyperlink(), SwFEShell::SelectObj(), SetBookmark(), SetBookmark2(), SwWrtShell::SetInsMode(), SwLangHelper::SetLanguageStatus(), SetSelection(), SetShadowCursorPos(), SwEditShell::SpellContinue(), SwEditShell::SpellSentence(), SwTextShell::StateInsert(), SttCursorMove(), sw_CharDialog(), sw_CharDialogResult(), sw_ParagraphDialogResult(), SwActContext::SwActContext(), SwAccessibleTable::unselectColumn(), SwAccessibleTable::unselectRow(), SwWordCountFloatDlg::UpdateCounts(), and SwViewShell::UpdateFields().
|
static |
Definition at line 1141 of file crstrvl.cxx.
References sw::Default, SwTextAttr::GetStart(), and GetTextFieldAtPos().
Referenced by SwTextShell::ExecField(), and lcl_FindAnchorPos().
SwCursorShell::StartsWith SwCursorShell::StartsWith_ | ( | ) |
If document body starts with a table or starts/ends with hidden paragraph.
Definition at line 895 of file crsrsh.cxx.
References SwPaM::End(), FindParentText(), SwViewShell::GetDoc(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwViewShell::GetNodes(), getShellCursor(), SwPosition::nNode, None, and SwPaM::Start().
Referenced by SwEditShell::CopySelToDoc(), SwEditShell::DeleteSel(), EndAction(), SwFEShell::InsertRow(), lcl_TableParamToItemSet(), sw::NotifyTableCollapsedParagraph(), Paint(), SwWrtShell::SelAll(), ShellGetFocus(), and ShowCursor().
void SwCursorShell::SttCursorMove | ( | ) |
Definition at line 301 of file crsrsh.cxx.
References m_nCursorMove, and StartAction().
Referenced by SwEditWin::Command(), SwBaseShell::ExecDelete(), SwContentTree::GotoContent(), SwEditShell::GotoGlobalDocContent(), SwIndexMarkPane::InitControls(), SwWrtShell::SimpleMove(), SwLayIdle::SwLayIdle(), SwMvContext::SwMvContext(), SwIndexMarkPane::UpdateDialog(), and SwDropCapsPict::UpdatePaintSettings().
bool SwCursorShell::SttEndDoc | ( | bool | bStt | ) |
Definition at line 579 of file crsrsh.cxx.
References CHKRANGE, SwBlockCursor::clearPoints(), SwShellCursor::GetPtPos(), SwBlockCursor::getShellCursor(), m_pBlockCursor, m_pCurrentCursor, READONLY, RefreshBlockCursor(), SCROLLWIN, Point::setY(), 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 1262 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 2804 of file crsrsh.cxx.
References Link< typename Arg, typename Ret >::Call(), CallChgLnk(), SfxHint::GetId(), sw::LegacyModifyHint::GetWhich(), isFormatMessage(), Link< typename Arg, typename Ret >::IsSet(), m_aGrfArrivedLnk, m_bCallChgLnk, RES_ATTRSET_CHG(), RES_FMT_CHG(), RES_OBJECTDYING(), and RES_UPDATE_ATTR().
void SwCursorShell::TableCursorToCursor | ( | ) |
enter block mode, change normal cursor into block cursor
Definition at line 1182 of file crsrsh.cxx.
References m_pTableCursor.
Referenced by ClearUpCursors(), SwTableShell::Execute(), ExtendedSelectAll(), and SwFEShell::SelTableRowCol().
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 1277 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, and SwPaM::Start().
Referenced by SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwEditWin::MouseMove(), SwTransferable::PasteData(), SwTransferable::PrivateDrop(), SwEditWin::SelectMenuPosition(), SwWrtShell::SetCursor(), and SwEditWin::StartDrag().
bool SwCursorShell::TrySelectOuterTable | ( | ) |
Definition at line 666 of file crsrsh.cxx.
References SwTableCursor::ActualizeSelection(), CHKRANGE, SwTable::CreateSelection(), SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), SwNode::FindTableNode(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwNode::GetNodes(), SwPaM::GetPoint(), SwTableNode::GetTable(), SwNodes::GoNext(), SwNodes::GoPrevious(), SwTableCursor::IsCursorMovedUpdate(), m_pTableCursor, READONLY, SCROLLWIN, SwTable::SEARCH_NONE, and UpdateCursor().
Referenced by SwWrtShell::SelAll().
|
inline |
Definition at line 836 of file crsrsh.hxx.
References SwTable::SEARCH_NONE.
Referenced by SwWrtShell::ResetSelect().
|
inline |
Definition at line 940 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 787 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 1876 of file crsrsh.cxx.
References a, SwViewShell::ActionPend(), BEFORE, SwFrame::Calc(), SwViewShell::CalcLayout(), CallChgLnk(), SwRect::Center(), CheckRange(), CheckTableBoxContent(), CHKRANGE, ClearUpCursors(), SwPaM::DeleteMark(), SwNode::FindSectionNode(), SwFrame::FindTabFrame(), FindValidContentNode(), fnMoveBackward, fnMoveForward, fnSectionEnd, fnSectionStart, SwFrame::GetCharRect(), SwNode::GetContentNode(), SwCursor::GetCursorBidiLevel(), StyleSettings::GetCursorBlinkTime(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SwViewShell::GetDrawView(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::getIDocumentMarkAccess(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetMark(), SwPaM::GetMarkContentNode(), SwPaM::GetMarkNode(), SwShellCursor::GetMkPos(), SwFrame::GetModelPositionForViewPoint(), SwShellCursor::GetNext(), SwPosition::GetNode(), SwViewShell::GetOut(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwPaM::GetPointNode(), SwShellCursor::GetPtPos(), sw::Ring< value_type >::GetRingContainer(), SwTable::GetRowsToRepeat(), SwSectionNode::GetSection(), Application::GetSettings(), OutputDevice::GetSettings(), getShellCursor(), AllSettings::GetStyleSettings(), SwTabFrame::GetTable(), SwFrame::GetUpper(), SwViewShell::GetViewOptions(), Point::getY(), GoCurrSection(), GoInContent(), SwRect::HasArea(), SwViewShell::HasDrawView(), SwPaM::HasMark(), HasSelection(), SwRect::Height(), SwVisibleCursor::Hide(), SwViewShell::Imp(), SwViewShellImp::InvalidateAccessibleCursorPosition(), comphelper::LibreOfficeKit::isActive(), SwFrame::IsCellFrame(), SwTableCursor::IsCursorMovedUpdate(), IsCursorReadonly(), SwSection::IsHiddenFlag(), SwPaM::IsInFrontOfLabel(), SwTabFrame::IsInHeadline(), SwDoc::IsInTable(), IsOverwriteCursor(), SwFrame::IsProtected(), SwSection::IsProtectFlag(), IsReadOnlyAvailable(), SwFrame::IsVertical(), lcl_CheckHiddenPara(), lcl_CheckHiddenSection(), SwRect::Left(), m_aCharRect, m_aCursorHeight, SwCursorMoveState::m_aRealHeight, m_bAllProtect, m_bBasicHideCursor, m_bHasFocus, m_bIgnoreReadonly, SwCursorMoveState::m_bRealHeight, SwCursorMoveState::m_bRealWidth, m_bSendAccessibleCursorEvents, SwCursorMoveState::m_bSetInReadOnly, m_bSVCursorVis, m_eMvState, SwCursorMoveState::m_nCursorBidiLevel, m_nUpDownX, m_pBlockCursor, m_pCurrentCursor, SwCursorMoveState::m_pSpecialPos, m_pTableCursor, m_pVisibleCursor, MakeSelVisible(), SwRootFrame::MakeTableCursors(), SwViewShell::MakeVisible(), SwViewShell::mbSelectAll, SwViewShell::mxDoc, SwSpecialPos::nExtendRange, NONE, IDocumentMarkAccess::NotifyCursorUpdate(), SwFrame::PrepareCursor(), READONLY, RefreshBlockCursor(), SAL_WARN, SCROLLWIN, sendLOKCursorUpdates(), StyleSettings::SetCursorBlinkTime(), SwShellCursor::SetMark(), SfxObjectShell::SetReadOnlyUI(), OutputDevice::SetSettings(), AllSettings::SetStyleSettings(), Point::setX(), Point::setY(), SwVisibleCursor::Show(), SwShellCursor::Show(), SwNode::StartOfSectionNode(), STYLE_CURSOR_NOBLINKTIME, SwRect::Top(), SwViewShell::UISizeNotify(), UpdateCursorPos(), UPDOWN, and SwRect::Width().
Referenced by CallCursorFN(), CallCursorShellFN(), Combine(), CreateCursor(), DestroyCursor(), EndAction(), SwTextShell::Execute(), SwContentTree::ExecuteContextMenuAction(), ExtendSelection(), Find_Text(), FindAttrs(), FindFormat(), GetContentAtPos(), GoNextBookmark(), GoNextCell(), GoNextCursor(), GoPrevBookmark(), GoPrevCell(), GoPrevCursor(), SwContentTree::GotoContent(), GotoFieldmark(), GotoFlyAnchor(), GotoFooterText(), GotoFootnoteAnchor(), GotoFootnoteText(), GotoFormatField(), GotoHeaderText(), GotoINetAttr(), GotoMark(), GotoNextOutline(), GotoNextTOXBase(), GotoNxtPrvTableFormula(), GotoNxtPrvTOXMark(), GotoOutline(), GotoPage(), GotoPrevOutline(), GotoPrevTOXBase(), GotoRedline_(), GotoRefMark(), GotoRegion(), GotoTable(), GotoTOXMark(), GotoTOXMarkBase(), KillPams(), LeftRight(), MakeOutlineSel(), MoveColumn(), MoveCursorToNum(), MoveFieldType(), MovePage(), MovePara(), MoveRegion(), MoveSection(), MoveStartText(), MoveTable(), SelectNxtPrvHyperlink(), SelectTextModel(), SelNextRedline(), SelPrevRedline(), SelTable(), SelTableBox(), SelTableRowOrCol(), SetCursor(), SetCursorInHdFt(), SetReadOnlyAvailable(), ShellGetFocus(), ShowCursor(), SttEndDoc(), TrySelectOuterTable(), UpDown(), and MakeAllOutlineContentTemporarilyVisible::~MakeAllOutlineContentTemporarilyVisible().
void SwCursorShell::UpdateCursorPos | ( | ) |
Set the cursor back into content.
This should only be called if the cursor was move somewhere else (e.g. when deleting a border). The new position is calculated from its current position in the layout.
Definition at line 1791 of file crsrsh.cxx.
References SwPaM::DeleteMark(), ExtendedSelectedAll(), SwViewShell::GetDoc(), SwViewShell::GetDocSize(), SwViewShell::GetLayout(), SwRootFrame::GetModelPositionForViewPoint(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), getShellCursor(), isInHiddenTextFrame(), IsReadOnlyAvailable(), SwCursorMoveState::m_bSetInReadOnly, m_pCurrentCursor, SwViewShell::mnStartAction, NONE, and SwViewShell::SizeChgNotify().
Referenced by UpdateCursor().
|
protected |
Updates the marked list level according to the cursor.
Definition at line 412 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 3382 of file crsrsh.cxx.
References SwViewShell::GetLayout(), SwTableCursor::GetSelectedBoxesCount(), SwTableCursor::IsChgd(), m_pTableCursor, and SwRootFrame::MakeTableCursors().
Referenced by GetTableSelCrs().
|
private |
Definition at line 508 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 1757 of file crsrsh.cxx.
References Bottom, SwVisibleCursor::Hide(), SwVisibleCursor::IsVisible(), m_aOldRBPos, m_bInCMvVisportChgd, m_bSVCursorVis, m_bVisPortChgd, m_nCursorMove, m_pVisibleCursor, Right(), Point::setX(), Point::setY(), SwVisibleCursor::Show(), SwViewShell::VisArea(), and SwViewShell::VisPortChgd().
|
friend |
Definition at line 691 of file tblsel.cxx.
Referenced by SwFEShell::GetAutoSum().
|
friend |
Definition at line 152 of file crsrsh.hxx.
|
friend |
Definition at line 154 of file crsrsh.hxx.
|
friend |
Definition at line 153 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
Char-SRectangle on which the cursor is located.
Definition at line 175 of file crsrsh.hxx.
Referenced by GotoFlyAnchor(), MakeSelVisible(), MoveCursorToNum(), Paint(), SetCursor(), SwVisibleCursor::SetPosAndShow(), SetVisibleCursor(), SwVisibleCursor::Show(), and UpdateCursor().
|
private |
link will be called by every attribute/ format changes at cursor position.
Definition at line 182 of file crsrsh.hxx.
Referenced by CallChgLnk(), EndAction(), and SwCallLink::ImplDestroy().
|
private |
height & offset from visible Cursor
Definition at line 176 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 180 of file crsrsh.hxx.
|
private |
Link calls to UI if a graphic is arrived.
Definition at line 184 of file crsrsh.hxx.
Referenced by SwClientNotify().
|
private |
Right/Bottom of last VisArea.
Definition at line 177 of file crsrsh.hxx.
Referenced by VisPortChgd().
|
private |
Flag for areas.
Definition at line 227 of file crsrsh.hxx.
Referenced by FindValidContentNode(), SetCursor(), ShowCursors(), SwCursorShell(), and UpdateCursor().
|
private |
Definition at line 235 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
Definition at line 236 of file crsrsh.hxx.
Referenced by HideCursor(), HideCursors(), Paint(), ShellGetFocus(), ShellLoseFocus(), ShowCursor(), ShowCursors(), SwCursorShell(), and UpdateCursor().
|
private |
flag for derived classes
Definition at line 224 of file crsrsh.hxx.
Referenced by CallChgLnk(), EndAction(), SwCallLink::ImplDestroy(), SwClientNotify(), and SwCursorShell().
|
private |
attribute change inside Start- and EndAction
Definition at line 220 of file crsrsh.hxx.
Referenced by CallChgLnk(), EndAction(), and SwCursorShell().
|
private |
Definition at line 231 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
Shell is "active" in a window.
Definition at line 218 of file crsrsh.hxx.
Referenced by HideCursors(), MakeSelVisible(), Paint(), ShellGetFocus(), ShellLoseFocus(), ShowCursors(), SwCursorShell(), and UpdateCursor().
|
private |
Definition at line 232 of file crsrsh.hxx.
Referenced by SwCursorShell(), and UpdateCursor().
|
private |
Flag for CursorMoves.
Definition at line 229 of file crsrsh.hxx.
Referenced by EndAction(), EndCursorMove(), SwCursorShell(), and VisPortChgd().
|
private |
Definition at line 244 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
Definition at line 238 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
Definition at line 234 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
Definition at line 242 of file crsrsh.hxx.
Referenced by SwCursorShell(), and UpdateCursor().
|
private |
Definition at line 237 of file crsrsh.hxx.
Referenced by SetReadOnlyAvailable(), and SwCursorShell().
|
private |
SV-Cursor visible/invisible.
Definition at line 219 of file crsrsh.hxx.
Referenced by EndAction(), HideCursor(), NotifyCursor(), Paint(), ShellGetFocus(), ShowCursor(), ShowCursors(), SwCursorShell(), UpdateCursor(), and VisPortChgd().
|
private |
in VisPortChg-Call
Definition at line 221 of file crsrsh.hxx.
Referenced by SwCursorShell(), and VisPortChgd().
|
private |
Definition at line 213 of file crsrsh.hxx.
Referenced by SelTableRowOrCol().
|
private |
Status for Cursor-Travelling - GetModelPositionForViewPoint.
Definition at line 212 of file crsrsh.hxx.
Referenced by LRMargin(), SetCursor(), UpdateCursor(), and UpDown().
|
private |
Definition at line 202 of file crsrsh.hxx.
Referenced by EndAction(), and StartAction().
|
private |
Definition at line 203 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 211 of file crsrsh.hxx.
Referenced by ClearMark(), EndAction(), EndCursorMove(), SttCursorMove(), and VisPortChgd().
|
private |
Definition at line 200 of file crsrsh.hxx.
Referenced by EndAction(), and StartAction().
|
private |
Definition at line 216 of file crsrsh.hxx.
Referenced by MarkListLevel().
|
private |
try to move the cursor on up/down always in the same column
Definition at line 198 of file crsrsh.hxx.
Referenced by UpdateCursor().
|
private |
Definition at line 246 of file crsrsh.hxx.
Referenced by bColumnChange().
|
private |
interface of cursor for block (=rectangular) selection
Definition at line 190 of file crsrsh.hxx.
Referenced by BlockCursorToCursor(), CursorToBlockCursor(), getShellCursor(), KillPams(), LeftRight(), LRMargin(), RefreshBlockCursor(), SetCursor(), SttEndDoc(), UpdateCursor(), UpDown(), and ~SwCursorShell().
|
private |
for recognizing of the changed
Definition at line 195 of file crsrsh.hxx.
Referenced by CheckTableBoxContent(), ClearTableBoxContent(), and SaveTableBoxContent().
|
private |
table row
Definition at line 196 of file crsrsh.hxx.
Referenced by CheckTableBoxContent(), ClearTableBoxContent(), and SaveTableBoxContent().
|
private |
current cursor
Definition at line 186 of file crsrsh.hxx.
Referenced by BlockCursorToCursor(), CheckTableBoxContent(), ClearMark(), Combine(), CreateCursor(), CursorToBlockCursor(), DestroyCursor(), dumpAsXml(), EndAction(), ExpandToSentenceBorders(), ExtendedSelectAll(), ExtendSelection(), Find_Text(), FindAttrs(), FindFormat(), FindValidContentNode(), GetChar(), GetContentAtPos(), GetCurrFrame(), GetCursor(), GetCursorCnt(), GetCursorDocPos(), GetSelText(), GetShadowCursorPos(), getShellCursor(), GetTextDirection(), GoNextCell(), GoNextCursor(), GoNextPrevCursorSetSearchLabel(), GoPrevCell(), GoPrevCursor(), GotoFlyAnchor(), GotoFootnoteAnchor(), GotoNextNum(), GotoNextTOXBase(), GotoNxtPrvTableFormula(), GotoNxtPrvTOXMark(), GotoPage(), GotoPrevNum(), GotoPrevTOXBase(), GotoRedline(), GotoRedline_(), GotoRefMark(), GotoRegion(), GotoTable(), GotoTOXMark(), GotoTOXMarkBase(), HasHiddenSections(), HasMark(), HasReadonlySel(), HideCursor(), HideCursors(), IsCursorInFootnote(), IsCursorInTable(), IsCursorPtAtEnd(), IsEndOfDoc(), IsEndOfTable(), IsEndPara(), IsEndSentence(), IsEndWord(), IsInFrontOfLabel(), IsInHeaderFooter(), IsInHiddenRange(), IsInWord(), IsMultiSelection(), IsOverReadOnlyPos(), IsSelection(), IsSelFullPara(), IsSelOnePara(), IsStartOfDoc(), IsStartSentence(), IsStartWord(), IsSttPara(), IsTableComplexForChart(), KillPams(), MakeFindRange(), MakeOutlineSel(), MoveColumn(), MoveCursorToNum(), MoveFieldType(), MovePage(), MoveRegion(), MoveStartText(), MoveTable(), NormalizePam(), NotifyCursor(), Paint(), ParkPams(), ParkTableCursor(), Push(), RefreshBlockCursor(), SaveTableBoxContent(), SelectNxtPrvHyperlink(), SelectTextAttr(), SelectTextModel(), SelectWord(), SelNextRedline(), SelPrevRedline(), SelTable(), SelTableBox(), SelTableRowOrCol(), SetCursor(), SetCursorInHdFt(), SetInFrontOfLabel(), SetMark(), SetShadowCursorPos(), SetVisibleCursor(), ShowCursor(), ShowCursors(), StartAction(), SttEndDoc(), SwapPam(), SwCursorShell(), TestCurrPam(), UpdateCursor(), UpdateCursorPos(), UpdateMarkedListLevel(), and ~SwCursorShell().
|
private |
stack for the cursor
Definition at line 187 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 192 of file crsrsh.hxx.
Referenced by ClearMark(), ClearUpCursors(), ExtendedSelectedAll(), Find_Text(), FindAttrs(), FindFormat(), FindValidContentNode(), GetBoxNms(), GetCursor(), getShellCursor(), GetTableCrs(), GoNextCell(), GoPrevCell(), GotoRegion(), GotoTable(), HasHiddenSections(), HasReadonlySel(), HideCursors(), IsCursorInTable(), IsTableComplexForChart(), KillPams(), MoveColumn(), MoveRegion(), MoveTable(), Paint(), ParkTableCursor(), Push(), SelTable(), SelTableBox(), SelTableRowOrCol(), ShowCursors(), TableCursorToCursor(), TestCurrPam(), TrySelectOuterTable(), UpdateCursor(), UpdateTableSelBoxes(), and ~SwCursorShell().
|
private |
the visible cursor
Definition at line 188 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 215 of file crsrsh.hxx.
Referenced by MarkListLevel().