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 | PopMode { PopMode::DeleteCurrent, PopMode::DeleteStack } |
![]() | |
typedef std::add_const< SwViewShell >::type | const_value_type |
typedef RingContainer< SwViewShell > | ring_container |
typedef RingContainer< const_value_type > | const_ring_container |
Public Member Functions | |
SAL_DLLPRIVATE void | UpdateCursor (sal_uInt16 eFlags=SwCursorShell::SCROLLWIN|SwCursorShell::CHKRANGE, bool bIdleEnd=false) |
SwCursorShell (SwDoc &rDoc, vcl::Window *pWin, const SwViewOption *pOpt) | |
default constructor More... | |
SwCursorShell (SwCursorShell &rShell, vcl::Window *pWin) | |
Copy constructor. More... | |
virtual | ~SwCursorShell () override |
virtual SwPaM & | CreateNewShellCursor () override |
Create and return a new shell cursor. More... | |
virtual SwPaM & | GetCurrentShellCursor () override |
Return the current shell cursor. More... | |
SwPaM * | CreateCursor () |
delete the current cursor and make the following into the current More... | |
void | DestroyCursor () |
transform TableCursor to normal cursor, nullify Tablemode More... | |
void | TableCursorToCursor () |
enter block mode, change normal cursor into block cursor More... | |
void | CursorToBlockCursor () |
leave block mode, change block cursor into normal cursor More... | |
void | BlockCursorToCursor () |
void | ExtendedSelectAll (bool bFootnotes=true) |
bool | ExtendedSelectedAll () |
If ExtendedSelectAll() was called and selection didn't change since then. More... | |
bool | StartsWithTable () |
If document body starts with a table. More... | |
SwPaM * | GetCursor (bool bMakeTableCursor=true) const |
Return pointer to the current shell cursor. More... | |
SwCursor * | GetSwCursor () const |
SwShellCursor * | GetCursor_ () |
const SwShellCursor * | GetCursor_ () const |
void | SetSelection (const SwPaM &rCursor) |
void | ParkCursor (const SwNodeIndex &rIdx) |
Remove selections and additional cursors of all shells. More... | |
SwPaM * | GetStackCursor () const |
void | StartAction () |
void | EndAction (const bool bIdleEnd=false, const bool DoSetPosX=false) |
tools::Long | GetUpDownX () const |
bool | Left (sal_uInt16 nCnt, sal_uInt16 nMode, bool bAllowVisual=false) |
bool | Right (sal_uInt16 nCnt, sal_uInt16 nMode, bool bAllowVisual=false) |
bool | Up (sal_uInt16 nCnt=1) |
bool | Down (sal_uInt16 nCnt=1) |
bool | LeftMargin () |
bool | RightMargin (bool bAPI=false) |
bool | SttEndDoc (bool bStt) |
bool | MovePage (SwWhichPage, SwPosPage) |
bool | MovePara (SwWhichPara, SwMoveFnCollection const &) |
bool | MoveSection (SwWhichSection, SwMoveFnCollection const &) |
bool | MoveTable (SwWhichTable, SwMoveFnCollection const &) |
void | MoveColumn (SwWhichColumn, SwPosColumn) |
bool | MoveRegion (SwWhichRegion, SwMoveFnCollection const &) |
sal_uLong | Find_Text (const i18nutil::SearchOptions2 &rSearchOpt, bool bSearchInNotes, SwDocPositions eStart, SwDocPositions eEnd, bool &bCancel, FindRanges eRng, bool bReplace=false) |
sal_uLong | FindFormat (const SwTextFormatColl &rFormatColl, SwDocPositions eStart, SwDocPositions eEnd, bool &bCancel, FindRanges eRng, const SwTextFormatColl *pReplFormat) |
sal_uLong | FindAttrs (const SfxItemSet &rSet, bool bNoCollections, SwDocPositions eStart, SwDocPositions eEnd, bool &bCancel, FindRanges eRng, const i18nutil::SearchOptions2 *pSearchOpt, const SfxItemSet *rReplSet) |
int | SetCursor (const Point &rPt, bool bOnlyText=false, bool bBlock=true) |
virtual void | VisPortChgd (const SwRect &) override |
void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override |
void | SetMark () |
bool | HasMark () 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) |
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) |
SwContentFrame * | GetCurrFrame (const bool bCalcFrame=true) const |
Get current frame in which the cursor is positioned. More... | |
bool | IsCursorReadonly () const |
bool | HasReadonlySel () const |
bool | IsReadOnlyAvailable () const |
void | SetReadOnlyAvailable (bool bFlag) |
is the cursor allowed to enter ReadOnly sections? More... | |
bool | IsOverReadOnlyPos (const Point &rPt) const |
void | SetFlyMacroLnk (const Link< const SwFlyFrameFormat *, void > &rLnk) |
const Link< const SwFlyFrameFormat *, void > & | GetFlyMacroLnk () const |
void | SetChgLnk (const Link< 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... | |
bool | 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 () |
::sw::mark::IFieldmark * | GetFieldmarkBefore () |
bool | GotoFieldmark (const ::sw::mark::IFieldmark *const pMark) |
void | UpdateCursorPos () |
Set the cursor back into content. More... | |
OUString | GetSelText () const |
get selected text of a node at current cursor More... | |
const SwTableNode * | IsCursorInTable () const |
bool | IsCursorInFootnote () const |
Point & | GetCursorDocPos () const |
bool | IsCursorPtAtEnd () const |
const SwPaM * | GetTableCrs () const |
SwPaM * | GetTableCrs () |
bool | IsTableComplexForChart () |
OUString | GetBoxNms () const |
bool | GoNextCell (bool bAppendLine=true) |
set cursor into next/previous cell More... | |
bool | GoPrevCell () |
bool | GotoTable (const OUString &rName) |
bool | SelTableRow () |
bool | SelTableCol () |
bool | SelTableBox () |
bool | SelTable () |
void | GotoNextNum () |
go to next/previous point on the same level More... | |
void | GotoPrevNum () |
bool | GotoOutline (const OUString &rName) |
void | GotoOutline (SwOutlineNodes::size_type nIdx) |
SwOutlineNodes::size_type | GetOutlinePos (sal_uInt8 nLevel=UCHAR_MAX, SwPaM *pPaM=nullptr) |
search "outline position" before previous outline node at given level More... | |
bool | MakeOutlineSel (SwOutlineNodes::size_type nSttPos, SwOutlineNodes::size_type nEndPos, bool bWithChildren, bool bKillPams=true) |
bool | GotoNextOutline () |
jump to next node with outline num. More... | |
bool | GotoPrevOutline () |
jump to previous node with outline num. More... | |
SwShellCursor * | getShellCursor (bool bBlock) |
Delivers the current shell cursor. More... | |
const SwShellCursor * | getShellCursor (bool bBlock) const |
bool | IsBlockMode () const |
bool | IsTableMode () const |
const SwShellTableCursor * | GetTableCursor () const |
SwShellTableCursor * | GetTableCursor () |
size_t | UpdateTableSelBoxes () |
bool | GotoFootnoteText () |
jump from content to footnote More... | |
bool | GotoFootnoteAnchor () |
jump from footnote to anchor More... | |
bool | GotoPrevFootnoteAnchor () |
bool | GotoNextFootnoteAnchor () |
void | GotoFlyAnchor () |
jump from the frame to the anchor More... | |
bool | GotoHeaderText () |
jump from the content to the header More... | |
bool | GotoFooterText () |
jump from the content to the footer More... | |
bool | SetCursorInHdFt (size_t nDescNo, bool bInHeader) |
bool | IsInHeaderFooter (bool *pbInHeader=nullptr) const |
bool | GotoNextTOXBase (const OUString *=nullptr) |
jump to the next index More... | |
bool | GotoPrevTOXBase (const OUString *=nullptr) |
jump to previous index More... | |
void | GotoTOXMarkBase () |
jump to index of TOXMark More... | |
bool | GotoNxtPrvTOXMark (bool bNext=true) |
jump to next/previous index marker More... | |
const SwTOXMark & | GotoTOXMark (const SwTOXMark &rStart, SwTOXSearch eDir) |
traveling between marks More... | |
bool | GotoNxtPrvTableFormula (bool bNext=true, bool bOnlyErrors=false) |
Jump to next/previous table formula Optionally it is possible to also jump to broken formulas. More... | |
bool | SelectNxtPrvHyperlink (bool bNext) |
bool | GotoRefMark (const OUString &rRefMark, sal_uInt16 nSubType, sal_uInt16 nSeqNo) |
jump to reference marker More... | |
sal_Unicode | GetChar (bool bEnd=true, tools::Long nOffset=0) |
get the nth character of the current SSelection More... | |
bool | ExtendSelection (bool bEnd=true, sal_Int32 nCount=1) |
extend current SSelection by n characters More... | |
bool | SetVisibleCursor (const Point &rPt) |
Move visible cursor to given position in document. More... | |
void | UnSetVisibleCursor () |
SwVisibleCursor * | GetVisibleCursor () const |
bool | MoveFieldType (const SwFieldType *pFieldType, const bool bNext, const SwFieldIds nResType=SwFieldIds::Unknown, const bool bAddSetExpressionFieldsToInputFields=true) |
bool | GotoFormatField (const SwFormatField &rField) |
SwField * | GetCurField (const bool bIncludeInputFieldAtStart=false) const |
bool | CursorInsideInputField () const |
bool | DocPtInsideInputField (const Point &rDocPt) const |
sal_uInt16 | GetCursorCnt (bool bAll=true) const |
Get the number of elements in the ring of cursors. More... | |
bool | GoStartWord () |
bool | GoEndWord () |
bool | GoNextWord () |
bool | GoPrevWord () |
bool | GoNextSentence () |
bool | GoStartSentence () |
bool | GoEndSentence () |
bool | SelectWord (const Point *pPt) |
void | ExpandToSentenceBorders () |
bool | IsStartWord (sal_Int16 nWordType=css::i18n::WordType::ANYWORD_IGNOREWHITESPACES) const |
bool | IsEndWord (sal_Int16 nWordType=css::i18n::WordType::ANYWORD_IGNOREWHITESPACES) const |
bool | IsInWord (sal_Int16 nWordType=css::i18n::WordType::ANYWORD_IGNOREWHITESPACES) const |
bool | IsStartSentence () const |
bool | IsEndSentence () const |
bool | IsSttPara () const |
bool | IsEndPara () const |
bool | IsEndOfTable () const |
at the very last SwPosition inside a table More... | |
bool | IsStartOfDoc () const |
bool | IsEndOfDoc () const |
bool | IsInFrontOfLabel () const |
bool | IsAtLeftMargin () const |
bool | IsAtRightMargin () const |
bool | ParkTableCursor () |
Invalidate cursors. More... | |
bool | IsGCAttr () const |
void | ClearGCAttr () |
void | UpdateAttr () |
bool | IsAllProtect () const |
bool | GotoRegion (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 | SelectText (const sal_Int32 nStart, const sal_Int32 nEnd) |
bool | CheckTableBoxContent (const SwPosition *pPos=nullptr) |
void | SaveTableBoxContent (const SwPosition *pPos=nullptr) |
void | ClearTableBoxContent () |
bool | EndAllTableBoxEdit () |
void | SetSelTableCells (bool bFlag) |
bool | IsSelTableCells () const |
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) |
SAL_DLLPRIVATE SvxFrameDirection | GetTextDirection (const Point *pPt=nullptr) const |
bool | IsInVerticalText (const Point *pPt=nullptr) const |
bool | IsInRightToLeftText () const |
bool | bColumnChange () |
bool | SelectHiddenRange () |
If the current cursor position is inside a hidden range, the hidden range is selected. More... | |
void | ClearUpCursors () |
void | SetMacroExecAllowed (const bool _bMacroExecAllowed) |
bool | IsMacroExecAllowed () const |
OUString | GetCursorDescr () const |
Returns textual description of the current selection. More... | |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
OUString | getPageRectangles () |
Implementation of lok::Document::getPartPageRectangles() for Writer. More... | |
void | NotifyCursor (SfxViewShell *pViewShell) const |
See SwView::NotifyCursor(). More... | |
![]() | |
SwViewShellImp * | Imp () |
const SwViewShellImp * | Imp () const |
const SwNodes & | GetNodes () const |
void | InitPrt (OutputDevice *pOutDev) |
void | StartAction () |
void | ImplStartAction () |
void | EndAction (const bool bIdleEnd=false) |
void | ImplEndAction (const bool bIdleEnd) |
sal_uInt16 | ActionCount () const |
bool | ActionPend () const |
bool | IsInEndAction () const |
void | SetEndActionByVirDev (bool b) |
bool | IsEndActionByVirDev () const |
void | SetRestoreActions (sal_uInt16 nSet) |
sal_uInt16 | GetRestoreActions () const |
bool | HasInvalidRect () const |
void | ChgHyphenation () |
void | ChgNumberDigits () |
bool | AddPaintRect (const SwRect &rRect) |
void | InvalidateWindows (const SwRect &rRect) |
void | Reformat () |
Invalidates complete Layout (ApplyViewOption). More... | |
void | PrePaint () |
void | DLPrePaint2 (const vcl::Region &rRegion) |
void | DLPostPaint2 (bool bPaintFormLayer) |
const MapMode & | getPrePostMapMode () const |
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 |
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 | UpdateAllCharts () |
update all charts for which any table exists More... | |
bool | HasCharts () const |
void | SetParaSpaceMax (bool bNew) |
void | SetParaSpaceMaxAtPages (bool bNew) |
void | SetTabCompat (bool bNew) |
void | SetAddExtLeading (bool bNew) |
void | SetUseVirDev (bool bNew) |
void | SetAddParaSpacingToTableCells (bool _bAddParaSpacingToTableCells) |
Sets if paragraph and table spacing is added at bottom of table cells. More... | |
void | SetUseFormerLineSpacing (bool _bUseFormerLineSpacing) |
Sets if former formatting of text lines with proportional line spacing should used. More... | |
void | SetUseFormerObjectPositioning (bool _bUseFormerObjPos) |
Sets IDocumentSettingAccess if former object positioning should be used. More... | |
void | SetConsiderWrapOnObjPos (bool _bConsiderWrapOnObjPos) |
void | SetUseFormerTextWrapping (bool _bUseFormerTextWrapping) |
void | SetDoNotJustifyLinesWithManualBreak (bool _bDoNotJustifyLinesWithManualBreak) |
void | SetProtectForm (bool _bProtectForm) |
void | SetMsWordCompTrailingBlanks (bool _bMsWordCompTrailingBlanks) |
void | SetSubtractFlysAnchoredAtFlys (bool bSubtractFlysAnchoredAtFlys) |
void | SetEmptyDbFieldHidesPara (bool bEmptyDbFieldHidesPara) |
void | LayoutIdle () |
const SwViewOption * | GetViewOptions () const |
virtual void | ApplyViewOptions (const SwViewOption &rOpt) |
void | SetUIOptions (const SwViewOption &rOpt) |
virtual void | SetReadonlyOption (bool bSet) |
void | SetPDFExportOption (bool bSet) |
void | SetPrtFormatOption (bool bSet) |
void | SetReadonlySelectionOption (bool bSet) |
const SwAccessibilityOptions * | GetAccessibilityOptions () const |
SfxViewShell * | GetSfxViewShell () const |
void | SetSfxViewShell (SfxViewShell *pNew) |
virtual void | DrawSelChanged () |
SwPagePreviewLayout * | PagePreviewLayout () |
void | AdjustOptionsForPagePreview (SwPrintData const &rPrintOptions) |
adjust view options for page preview More... | |
bool | IsViewLocked () const |
void | LockView (bool b) |
void | LockPaint () |
void | ImplLockPaint () |
void | UnlockPaint (bool bVirDev=false) |
void | ImplUnlockPaint (bool bVirDev) |
bool | IsPaintLocked () const |
bool | HasDrawView () const |
void | MakeDrawView () |
bool | HasDrawViewDrag () const |
SdrView * | GetDrawView () |
const SdrView * | GetDrawView () const |
SdrView * | GetDrawViewWithValidMarkList () |
const SfxItemPool & | GetAttrPool () const |
SfxItemPool & | GetAttrPool () |
bool | IsPreview () const |
bool | IsFrameView () const |
void | InvalidateLayout (bool bSizeChanged) |
const Size & | GetBrowseBorder () const |
sal_Int32 | GetBrowseWidth () const |
void | SetBrowseBorder (const Size &rNew) |
css::uno::Reference< css::accessibility::XAccessible > | CreateAccessible () |
css::uno::Reference< css::accessibility::XAccessible > | CreateAccessiblePreview () |
void | ShowPreviewSelection (sal_uInt16 nSelPage) |
void | InvalidateAccessibleFocus () |
void | ApplyAccessibilityOptions (SvtAccessibilityOptions const &rAccessibilityOptions) |
void | InvalidateAccessibleParaFlowRelation (const SwTextFrame *_pFromTextFrame, const SwTextFrame *_pToTextFrame) |
invalidate CONTENT_FLOWS_FROM/_TO relation for paragraphs More... | |
void | InvalidateAccessibleParaTextSelection () |
invalidate text selection for paragraphs More... | |
void | InvalidateAccessibleParaAttrs (const SwTextFrame &rTextFrame) |
invalidate attributes for paragraphs and paragraph's characters More... | |
SwAccessibleMap * | GetAccessibleMap () |
SwViewShell (SwViewShell &, vcl::Window *pWin, OutputDevice *pOut=nullptr, tools::Long nFlags=0) | |
CTor for further Shells on a document. More... | |
SwViewShell (SwDoc &rDoc, vcl::Window *pWin, const SwViewOption *pOpt, OutputDevice *pOut=nullptr, tools::Long nFlags=0) | |
CTor for the first Shell. More... | |
virtual | ~SwViewShell () override |
sal_Int32 | GetPageNumAndSetOffsetForPDF (OutputDevice &rOut, const SwRect &rRect) const |
bool | IsInConstructor () const |
const BitmapEx & | GetReplacementBitmap (bool bIsErrorState) |
void | DeleteReplacementBitmaps () |
const SwPostItMgr * | GetPostItMgr () const |
SwPostItMgr * | GetPostItMgr () |
void | ToggleHeaderFooterEdit () |
Acts both for headers / footers, depending on the bShow(Header|Footer)Separator flags. More... | |
bool | IsHeaderFooterEdit () const |
Acts both for headers / footers, depending on the bShow(Header|Footer)Separator flags. More... | |
bool | IsShowHeaderFooterSeparator (FrameControlType eControl) |
virtual void | SetShowHeaderFooterSeparator (FrameControlType eControl, bool bShow) |
bool | IsSelectAll () const |
void | setOutputToWindow (bool bOutputToWindow) |
bool | isOutputToWindow () const |
void | OnGraphicArrived (const SwRect &) |
![]() | |
virtual | ~Ring () COVERITY_NOEXCEPT_FALSE |
void | unlink () |
algo::unlink is buggy! don't call it directly! More... | |
void | MoveTo (SwViewShell *pDestRing) |
Removes this item from its current ring container and adds it to another ring container. More... | |
ring_container | GetRingContainer () |
const_ring_container | GetRingContainer () const |
![]() | |
virtual void | CallSwClientNotify (const SfxHint &rHint) const override |
![]() | |
SwModify () | |
virtual | ~SwModify () override |
void | Add (SwClient *pDepend) |
SwClient * | Remove (SwClient *pDepend) |
bool | HasWriterListeners () const |
bool | HasOnlyOneListener () const |
virtual bool | GetInfo (SfxPoolItem &) const override |
void | LockModify () |
void | UnlockModify () |
bool | IsModifyLocked () const |
![]() | |
SwClient () | |
SwClient (SwClient &&) noexcept | |
virtual | ~SwClient () override |
std::unique_ptr< sw::ModifyChangedHint > | CheckRegistration (const SfxPoolItem *pOldValue) |
void | CheckRegistrationFormat (SwFormat &rOld) |
const SwModify * | GetRegisteredIn () const |
SwModify * | GetRegisteredIn () |
void | EndListeningAll () |
void | StartListeningToSameModifyAs (const SwClient &) |
![]() | |
bool | IsLast () const |
![]() | |
BroadcasterMixin ()=default | |
BroadcasterMixin (BroadcasterMixin const &)=default | |
BroadcasterMixin & | operator= (const BroadcasterMixin &) |
SvtBroadcaster & | GetNotifier () |
![]() | |
virtual | ~IShellCursorSupplier () |
Static Public Member Functions | |
static SwTextField * | GetTextFieldAtPos (const SwPosition *pPos, const bool bIncludeInputFieldAtStart) |
static SwTextField * | GetTextFieldAtCursor (const SwPaM *pCursor, const bool bIncludeInputFieldAtStart) |
static SwField * | GetFieldAtCursor (const SwPaM *pCursor, const bool bIncludeInputFieldAtStart) |
static bool | PosInsideInputField (const SwPosition &rPos) |
static sal_Int32 | StartOfInputFieldAtPos (const SwPosition &rPos) |
static sal_Int32 | EndOfInputFieldAtPos (const SwPosition &rPos) |
static void | FirePageChangeEvent (sal_uInt16 nOldPage, sal_uInt16 nNewPage) |
static void | FireSectionChangeEvent (sal_uInt16 nOldSection, sal_uInt16 nNewSection) |
static void | FireColumnChangeEvent (sal_uInt16 nOldColumn, sal_uInt16 nNewColumn) |
![]() | |
static bool | IsLstEndAction () |
static void | PrtOle2 (SwDoc *pDoc, const SwViewOption *pOpt, const SwPrintData &rOptions, vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) |
static void | SetShellRes (ShellResource *pRes) |
static ShellResource * | GetShellRes () |
static weld::Window * | CareChildWin (SwViewShell const &rVSh) |
static void | SetCareDialog (const std::shared_ptr< weld::Window > &rNew) |
static weld::Window * | GetCareDialog (SwViewShell const &rVSh) |
Protected Member Functions | |
SwMoveFnCollection const & | MakeFindRange (SwDocPositions, SwDocPositions, SwPaM *) const |
int | CompareCursorStackMkCurrPt () const |
bool | SelTableRowOrCol (bool bRow, bool bRowSimple=false) |
bool | SetInFrontOfLabel (bool bNew) |
void | RefreshBlockCursor () |
SAL_DLLPRIVATE void | UpdateMarkedListLevel () |
Updates the marked list level according to the cursor. More... | |
virtual void | SwClientNotify (const SwModify &, const SfxHint &) override |
forward all attribute/format changes at the current node to the Link More... | |
![]() | |
Ring () | |
Creates a new item in a ring container all by itself. More... | |
Ring (SwViewShell *pRing) | |
Creates a new item and add it to an existing ring container. More... | |
SwViewShell * | GetNextInRing () |
const_value_type * | GetNextInRing () const |
SwViewShell * | GetPrevInRing () |
const_value_type * | GetPrevInRing () const |
bool | unique () const |
![]() | |
SwClient (SwModify *pToRegisterIn) | |
SwModify * | GetRegisteredInNonConst () const |
![]() | |
WriterListener () | |
virtual | ~WriterListener () COVERITY_NOEXCEPT_FALSE |
Private Types | |
typedef bool(SwCursor::* | FNCursor) () |
typedef bool(SwCursorShell::* | FNCursorShell) () |
Private Member Functions | |
SAL_DLLPRIVATE void | MoveCursorToNum () |
SAL_DLLPRIVATE void | ParkPams (SwPaM *pDelRg, SwShellCursor **ppDelRing) |
SAL_DLLPRIVATE void | MarkListLevel (const OUString &sListId, const int nLevel) |
Mark a certain list level of a certain list. More... | |
bool | LeftRight (bool, sal_uInt16, sal_uInt16, bool) |
SAL_DLLPRIVATE bool | UpDown (bool, sal_uInt16) |
SAL_DLLPRIVATE bool | LRMargin (bool, bool bAPI=false) |
SAL_DLLPRIVATE bool | IsAtLRMargin (bool, bool bAPI=false) const |
SAL_DLLPRIVATE bool | isInHiddenTextFrame (SwShellCursor *pShellCursor) |
SAL_DLLPRIVATE bool | GoStartWordImpl () |
SAL_DLLPRIVATE bool | GoEndWordImpl () |
SAL_DLLPRIVATE bool | GoNextWordImpl () |
SAL_DLLPRIVATE bool | GoPrevWordImpl () |
SAL_DLLPRIVATE bool | GoNextSentenceImpl () |
SAL_DLLPRIVATE bool | GoEndSentenceImpl () |
SAL_DLLPRIVATE bool | GoStartSentenceImpl () |
SAL_DLLPRIVATE bool | CallCursorFN (FNCursor) |
SAL_DLLPRIVATE bool | CallCursorShellFN (FNCursorShell) |
SAL_DLLPRIVATE const 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 |
sal_uLong | 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_bMacroExecAllowed: 1 |
SwFrame * | m_oldColFrame |
Friends | |
class | SwCallLink |
class | SwVisibleCursor |
class | SwSelPaintRects |
bool | GetAutoSumSel (const SwCursorShell &, SwCellFrames &) |
Additional Inherited Members | |
![]() | |
SwRect | maVisArea |
The modern version of VisArea. More... | |
tools::Rectangle | maLOKVisibleArea |
The visible area in the LibreOfficeKit client. More... | |
rtl::Reference< SwDoc > | mxDoc |
The document; never 0. More... | |
sal_uInt16 | mnStartAction |
!= 0 if at least one Action is active. More... | |
sal_uInt16 | mnLockPaint |
!= 0 if Paint is locked. More... | |
bool | mbSelectAll |
Special select all mode: whole document selected, even if doc starts with table. More... | |
bool | mbOutputToWindow |
The virtual device we paint to will end up on the screen. More... | |
std::stack< vcl::Region > | mPrePostPaintRegions |
VclPtr< OutputDevice > | mpPrePostOutDev |
MapMode | maPrePostMapMode |
![]() | |
static ShellResource * | mpShellRes = nullptr |
Resources for the Shell. More... | |
static vcl::DeleteOnDeinit< std::shared_ptr< weld::Window > > | mpCareDialog |
Avoid this window. More... | |
Definition at line 136 of file crsrsh.hxx.
|
private |
Definition at line 265 of file crsrsh.hxx.
|
private |
Definition at line 266 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 151 of file crsrsh.hxx.
|
strong |
Enumerator | |
---|---|
DeleteCurrent | |
DeleteStack |
Definition at line 425 of file crsrsh.hxx.
SwCursorShell::SwCursorShell | ( | SwDoc & | rDoc, |
vcl::Window * | pWin, | ||
const SwViewOption * | pOpt | ||
) |
default constructor
Definition at line 2967 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_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 2931 of file crsrsh.cxx.
References SwModify::Add(), SwPaM::GetContentNode(), SwPaM::GetPoint(), 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_bSetCursorInReadOnly, m_bSVCursorVis, m_bVisPortChgd, m_pCurrentCursor, m_pVisibleCursor, NONE, and SwVisibleCursor.
|
overridevirtual |
Definition at line 3012 of file crsrsh.cxx.
References CheckTableBoxContent(), ClearTableBoxContent(), SwClient::EndListeningAll(), 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 472 of file crsrsh.cxx.
References SwFrame::FindColFrame(), and SwFrame::GetUpper().
Referenced by SwView::StateStatusLine().
void SwCursorShell::BlockCursorToCursor | ( | ) |
Definition at line 906 of file crsrsh.cxx.
References assert(), SwPaM::GetMark(), SwPaM::GetPoint(), SwPaM::HasMark(), and SwPaM::SetMark().
Referenced by SwWrtShell::LeaveBlockMode().
void SwCursorShell::CallChgLnk | ( | ) |
Definition at line 2528 of file crsrsh.cxx.
Referenced by SwEditShell::DelNumRules(), SwEditShell::DelSectionFormat(), SwWrtShell::Do(), SwEditShell::DoSpecialInsert(), SwFrameShell::Execute(), SwBaseShell::Execute(), SwEditShell::NumUpDown(), SwTransferable::PasteFileContent(), SwWrtShell::PushCursor(), SwEditShell::ResetAttr(), SwFEShell::SetFlyPos(), SwDocStyleSheet::SetGrabBagItem(), SwDocStyleSheet::SetHidden(), SwDocStyleSheet::SetName(), SwFEShell::SetObjRect(), SwEditShell::SetSectionAttr_(), SwEditShell::UpdateSection(), and SwCallLink::~SwCallLink().
|
private |
Definition at line 44 of file trvlfnfl.cxx.
References CHKRANGE, getShellCursor(), READONLY, SCROLLWIN, and UpdateCursor().
Referenced by GotoFootnoteText(), GotoNextFootnoteAnchor(), and GotoPrevFootnoteAnchor().
|
private |
Definition at line 34 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 807 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(), 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, SwPosition::nNode, RES_BOXATR_FORMULA(), StartAction(), and SwTableBoxStartNode.
Referenced by SaveTableBoxContent(), and ~SwCursorShell().
|
inline |
Definition at line 756 of file crsrsh.hxx.
Referenced by SwEditWin::MouseButtonDown(), SwWrtShell::MoveCursor(), and SwEditWin::SelectMenuPosition().
void SwCursorShell::ClearMark | ( | ) |
Definition at line 942 of file crsrsh.cxx.
Referenced by SwWrtShell::BwdPara_(), SwWrtShell::BwdSentence_(), SwHHCWrapper::ChangeText(), SwAccessibleTable::clearAccessibleSelection(), SwOneExampleFrame::ClearDocument(), SwWrtShell::CloseMark(), SwHTMLParser::Continue(), SwInsertDBColAutoPilot::DataToDoc(), SwInputWindow::DelBoxContent(), sw::annotation::SwAnnotationWin::Delete(), SwEditShell::DeleteGlobalDocContent(), SwContentTree::DeleteOutlineSelections(), SwEditWin::DeleteSurroundingText(), SwWrtShell::DelLeft(), SwWrtShell::DelLine(), SwWrtShell::DelNxtWord(), SwWrtShell::DelPrvWord(), SwWrtShell::DelRight(), SwWrtShell::DelToEndOfSentence(), SwWrtShell::EndWrd(), SwWrtShell::EnterExtMode(), SwWrtShell::EnterStdMode(), SwContentTree::ExecCommand(), SwTextShell::ExecField(), SwPageBreakWin::execute(), SwTextShell::Execute(), SwBaseShell::Execute(), SwContentTree::ExecuteContextMenuAction(), FindValidContentNode(), SwWrtShell::FwdPara_(), SwWrtShell::FwdSentence_(), SwEditWin::GetSurroundingText(), SwEditWin::GetSurroundingTextSelection(), SwEditShell::GotoGlobalDocContent(), SwFieldEditDlg::Init(), SwWrtShell::Insert(), SwEditShell::InsertGlobalDocContent(), SwTextShell::InsertSymbol(), SwWrtShell::IntelligentCut(), ItemSetToTableParam(), lcl_GrabCursor(), lcl_OutlineUpDownWithSubPoints(), lcl_SelectSameStrings(), lcl_TableParamToItemSet(), SwEditShell::MoveGlobalDocContent(), SwNavigationPI::MoveOutline(), SwWrtShell::NxtWrd_(), SwWrtShell::NxtWrdForDelete(), SwFEShell::ProtectCells(), SwWrtShell::PrvWrd_(), SwWrtShell::PrvWrdForDelete(), SwInputFieldList::PushCursor(), SwEditShell::Redo(), SwHHCWrapper::ReplaceUnit(), SwWrtShell::ResetSelect(), SwWrtShell::SearchAttr(), SwWrtShell::SearchPattern(), SwWrtShell::SearchTempl(), SwAccessibleContext::Select(), SwFEShell::SelectFlyFrame(), SwWrtShell::SelPara(), SwWrtShell::SelSentence(), SwWrtShell::SetCursor(), SetCursorInHdFt(), SwEditWin::SetCursorTwipPosition(), SetReadOnlyAvailable(), SwInsertDBColAutoPilot::SetTabSet(), SwWrtShell::SttLeaveSelect(), SwWrtShell::SttWrd(), sw_CharDialogResult(), SwEditShell::TableToText(), SwDoc::TableToText(), SwFEShell::ToggleHeaderFooterEdit(), SwEditShell::Undo(), SwAccessibleTable::unselectColumn(), and SwAccessibleTable::unselectRow().
void SwCursorShell::ClearTableBoxContent | ( | ) |
Definition at line 909 of file trvltbl.cxx.
References m_pBoxIdx, and m_pBoxPtr.
Referenced by CheckTableBoxContent(), SwBaseShell::Execute(), SwEditShell::Redo(), SwEditShell::SetTableBoxFormulaAttrs(), SwEditShell::Undo(), and ~SwCursorShell().
void SwCursorShell::ClearUpCursors | ( | ) |
Definition at line 3579 of file crsrsh.cxx.
References assert(), SwPaM::DeleteMark(), GetCursor(), SwViewShell::GetDoc(), SwNodes::GetEndOfContent(), SwPaM::GetMark(), SwPaM::GetNext(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwNodes::GoNext(), SwNodes::GoPrevious(), SwPaM::HasMark(), lcl_CursorOk(), lcl_NodeContext(), m_pTableCursor, SwPosition::nNode, SwNode::StartOfSectionNode(), sw_PosOk(), and TableCursorToCursor().
Referenced by SwOneExampleFrame::ClearDocument().
void SwCursorShell::Combine | ( | ) |
Combine two cursors.
Delete topmost from stack and use its GetMark in the current.
Definition at line 2328 of file crsrsh.cxx.
References assert(), ChangePos, CheckNodesRange(), SwShellCursor::GetNext(), sw::Ring< value_type >::MoveTo(), and Toggle.
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 1057 of file crsrsh.cxx.
References SwPaM::GetPoint().
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 assert(), SCROLLWIN, and SwSelPaintRects::swapContent().
Referenced by SwWrtShell::AddLeaveSelect(), SwAccessibleParagraph::addSelection(), SwJavaEditDialog::CheckTravel(), SwWrtShell::EnterAddMode(), GotoRedline(), SwFieldEditDlg::Init(), SwTransferable::PrepareForCopy(), SetSelection(), SwTextShell::StateInsert(), and SwHandleAnchorNodeChg::~SwHandleAnchorNodeChg().
|
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 void().
bool SwCursorShell::CursorInsideInputField | ( | ) | const |
Definition at line 925 of file crstrvl.cxx.
References GetCursor(), sw::Ring< SwViewShell >::GetRingContainer(), and GetTextFieldAtCursor().
Referenced by SwEditShell::Delete(), SwFieldEditDlg::EnsureSelection(), SwBaseShell::ExecClpbrd(), SwTextShell::ExecInsert(), SwTextShell::Execute(), SwGrfShell::GetAttrState(), SwTextShell::GetIdxState(), SwListShell::GetState(), SwTableShell::GetState(), SwTextShell::GetState(), SwBaseShell::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 923 of file crsrsh.cxx.
References SwPaM::GetMark(), SwShellCursor::GetMkPos(), SwShellCursor::GetPtPos(), and SwShellCursor::SetMark().
Referenced by SwWrtShell::EnterBlockMode().
void SwCursorShell::DestroyCursor | ( | ) |
transform TableCursor to normal cursor, nullify Tablemode
Delete current Cursor, making the following one the current.
Note, this function does not delete anything if there is no other cursor.
Definition at line 151 of file crsrsh.cxx.
References assert().
Referenced by SwJavaEditDialog::CheckTravel(), SwWrtShell::ExtSelLn(), SwWrtShell::ExtSelWrd(), SwFieldEditDlg::Init(), SwTransferable::PrivateDrop(), SwTextShell::StateInsert(), and SwHandleAnchorNodeChg::~SwHandleAnchorNodeChg().
bool SwCursorShell::DocPtInsideInputField | ( | const Point & | rDocPt | ) | const |
Definition at line 940 of file crstrvl.cxx.
References GetCursor(), SwViewShell::GetLayout(), Point, PosInsideInputField(), and Start.
Referenced by SwEditWin::GetDropDestination().
|
inline |
|
overridevirtual |
Reimplemented from SwViewShell.
Definition at line 3653 of file crsrsh.cxx.
References SwViewShell::dumpAsXml(), sw::Ring< value_type >::GetRingContainer(), and m_pCurrentCursor.
void SwCursorShell::EndAction | ( | const bool | bIdleEnd = false , |
const bool | DoSetPosX = false |
||
) |
Definition at line 243 of file crsrsh.cxx.
References CHKRANGE, SwViewShell::EndAction(), SwCallLink::m_nContent, SwCallLink::m_nLeftFramePos, SwCallLink::m_nNode, SwCallLink::m_nNodeType, SCROLLWIN, and UPDOWN.
Referenced by SwAccessibleParagraph::addSelection(), SwInsFootNoteDlg::Apply(), SwEditShell::ApplyChangedSentence(), SwEditShell::ApplyViewOptions(), SwRedlineAcceptDlg::CallAcceptReject(), CheckTableBoxContent(), SwJavaEditDialog::CheckTravel(), SwAccessibleTable::clearAccessibleSelection(), SwFormatClipboard::Copy(), SwContentTree::DeleteOutlineSelections(), SwAccessibleTable::deselectAccessibleChild(), SwContentTree::EditEntry(), SwFEShell::EndAllActionAndCall(), SwDrawShell::ExecDrawDlg(), SwTextShell::ExecField(), SwTextShell::ExecParaAttrArgs(), SwView::ExecTabWin(), SwTableShell::Execute(), SwDrawBaseShell::Execute(), SwTextShell::Execute(), SwBaseShell::Execute(), SwSpellPopup::Execute(), SwGlobalTree::ExecuteContextMenuAction(), SwBaseShell::ExecuteGallery(), SwView::ExecViewOptions(), SwFEShell::GetConnectableFrameFormats(), IMPL_LINK(), IMPL_LINK_NOARG(), SwFieldEditDlg::Init(), SwInsFootNoteDlg::Init(), SwView::InsertGraphic(), SwView::InsertGraphicDlg(), SwTextShell::InsertHyperlink(), SwBaseShell::InsertURLButton(), IsTableComplexForChart(), lcl_SetAllTextToDefaultLanguage(), SwOutlineTabDialog::Ok(), SwFormatClipboard::Paste(), SwTransferable::PrivateDrop(), SwAccessibleTable::selectAccessibleChild(), SwWrtShell::SelectNextPrevHyperlink(), 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 916 of file trvltbl.cxx.
References sw::Ring< SwViewShell >::GetRingContainer().
Referenced by SwDocShell::ConvertTo(), SwTextShell::Execute(), SwBaseShell::Execute(), SwDocShell::Save(), SwDocShell::SaveAs(), and SwEditShell::UpdateTable().
void SwCursorShell::EndCursorMove | ( | const bool | bIdleEnd = false | ) |
Definition at line 314 of file crsrsh.cxx.
References EndAction.
Referenced by SwEditWin::Command(), SwBaseShell::ExecDelete(), SwEditShell::GotoGlobalDocContent(), SwIndexMarkPane::InitControls(), SwWrtShell::SimpleMove(), SwLayIdle::SwLayIdle(), SwIndexMarkPane::UpdateDialog(), and SwMvContext::~SwMvContext().
|
static |
Definition at line 959 of file crstrvl.cxx.
References assert(), 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 598 of file crsrsh.cxx.
References SwIndex::Assign(), SwNodes::GetEndOfAutotext(), SwNodes::GetEndOfContent(), SwNodes::GetEndOfPostIts(), SwNodes::GoNext(), SwNodes::GoPrevious(), SwContentNode::Len(), SwPosition::nContent, and SwPosition::nNode.
Referenced by SwTextShell::Execute(), lcl_SetAllTextToDefaultLanguage(), SwWrtShell::SelAll(), and SwLangHelper::SetLanguageStatus().
bool SwCursorShell::ExtendedSelectedAll | ( | ) |
If ExtendedSelectAll() was called and selection didn't change since then.
Definition at line 610 of file crsrsh.cxx.
References SwNodes::GetEndOfAutotext(), SwNodes::GetEndOfContent(), SwNodes::GoNext(), SwNodes::GoPrevious(), and SwContentNode::Len().
Referenced by SwEditShell::CopySelToDoc(), SwEditShell::DeleteSel(), SwFEShell::InsertRow(), lcl_notifyRow(), and lcl_TableParamToItemSet().
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 2625 of file crsrsh.cxx.
References assert(), SwIndex::GetIndex(), SwNodeIndex::GetNode(), SwTextNode::GetText(), SwNode::GetTextNode(), SwPosition::nContent, SwPosition::nNode, and nPos.
Referenced by GetSmartTagRect(), SwEditShell::HandleCorrectionError(), SwTextShell::InsertSymbol(), SwEditWin::KeyInput(), SwTransferable::PrivateDrop(), and sw_CharDialogResult().
sal_uLong SwCursorShell::Find_Text | ( | const i18nutil::SearchOptions2 & | rSearchOpt, |
bool | bSearchInNotes, | ||
SwDocPositions | eStart, | ||
SwDocPositions | eEnd, | ||
bool & | bCancel, | ||
FindRanges | eRng, | ||
bool | bReplace = false |
||
) |
Definition at line 3458 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_uLong 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 3495 of file crsrsh.cxx.
References SwCursor::FindAttrs(), GetCursor(), SwViewShell::GetLayout(), m_pCurrentCursor, m_pTableCursor, and UpdateCursor().
Referenced by SwWrtShell::SearchAttr().
sal_uLong SwCursorShell::FindFormat | ( | const SwTextFormatColl & | rFormatColl, |
SwDocPositions | eStart, | ||
SwDocPositions | eEnd, | ||
bool & | bCancel, | ||
FindRanges | eRng, | ||
const SwTextFormatColl * | pReplFormat | ||
) |
Definition at line 3477 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 2023 of file crstrvl.cxx.
References SwViewShell::mxDoc.
bool SwCursorShell::FindValidContentNode | ( | bool | bOnlyText | ) |
search a valid content position (not protected/hidden)
Definition at line 3114 of file crsrsh.cxx.
References assert(), SwIndex::Assign(), ClearMark(), SwNode::EndOfSectionNode(), SwNode::FindSectionNode(), SwNode::FindTableNode(), fnMoveBackward, fnMoveForward, SwNode::GetContentNode(), SwViewShell::GetDoc(), SwNodes::GetEndOfContent(), SwNodes::GetEndOfExtras(), SwNodes::GetEndOfPostIts(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwRootFrame::GetModelPositionForViewPoint(), SwNodeIndex::GetNode(), GetNode(), SwPaM::GetPoint(), 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, SwViewShell::mxDoc, SwPosition::nContent, SwPosition::nNode, NONE, SwPaM::SetMark(), and SwNode::StartOfSectionNode().
|
static |
Definition at line 450 of file crsrsh.cxx.
References void().
Referenced by SwView::StateStatusLine().
|
static |
Definition at line 439 of file crsrsh.cxx.
References void().
Referenced by SwView::StateStatusLine().
|
static |
Definition at line 461 of file crsrsh.cxx.
References void().
Referenced by SwView::StateStatusLine().
OUString SwCursorShell::GetBoxNms | ( | ) | const |
Definition at line 746 of file trvltbl.cxx.
References SwPaM::End(), SwNode::GetContentNode(), GetCursor(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SwFrame::GetUpper(), SwFrame::IsCellFrame(), IsCursorInTable(), IsTableMode(), m_pTableCursor, SwPosition::nNode, 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 2599 of file crsrsh.cxx.
References SwIndex::GetIndex(), SwNodeIndex::GetNode(), SwTextNode::GetText(), SwNode::GetTextNode(), SwPosition::nContent, SwPosition::nNode, and nPos.
Referenced by SwWrtShell::DelLeft(), SwTextShell::Execute(), SwWrtShell::IntelligentCut(), and SwEditWin::KeyInput().
|
inline |
Definition at line 516 of file crsrsh.hxx.
Referenced by SwEditWin::Command(), SwWrtShell::Do(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwAccessibleParagraph::getNumberOfLineWithCaret(), SwXTextViewCursor::getPosition(), SwMailMergeLayoutPage::InsertGreeting(), SwBaseShell::InsertURLButton(), SwFEShell::Paste(), SwTransferable::PrivatePaste(), SwWrtShell::PushCursor(), SwWrtShell::SelectNextPrevHyperlink(), and QuickHelpData::Start().
void SwCursorShell::GetCharRectAt | ( | SwRect & | rRect, |
const SwPosition * | pPos | ||
) |
Definition at line 1206 of file crsrsh.cxx.
References SwFrame::GetCharRect().
Referenced by SwEditWin::Command().
|
inline |
Definition at line 484 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 1252 of file crstrvl.cxx.
References SwContentAtPos::aFnd, assert(), SwIndex::Assign(), aStr, SwRect::Bottom(), SwRangeRedline::CalcStartEnd(), CheckNodeSection, ClickField, COMPLETE_STRING, ContentCheck, CurrAttrs, SwPaM::DeleteMark(), SwTextAttr::DontExpand(), SwContentAtPos::eContentAtPos, o3tl::sorted_vector< Value, Compare, Find, class >::empty(), SwTextAttr::End(), ExpandFootnote, Field, SwNode::FindTableBoxStartNode(), SwNode::FindTableNode(), FormControl, Ftn, SwTOXMark::GetAlternativeText(), SwTextAttr::GetAttr(), SwViewShell::GetAttrPool(), SwDoc::GetAttrPool(), SwFrame::GetCharRect(), SfxItemIter::GetCurItem(), SwViewShell::GetDoc(), SwTextAttr::GetEnd(), sw::GetExpandTextMerged(), SwFormatField::GetField(), IDocumentMarkAccess::getFieldmarkFor(), SwTextAttr::GetFormatField(), SwFrameAreaDefinition::getFrameArea(), SwTableBox::GetFrameFormat(), SwFrameAreaDefinition::getFramePrintArea(), SwDoc::getIDocumentMarkAccess(), SwDoc::getIDocumentRedlineAccess(), SwNode::GetIndex(), SwTextAttr::GetINetFormat(), SwFormat::GetItemState(), SwViewShell::GetLayout(), SwRootFrame::GetModelPositionForViewPoint(), SwDoc::GetNodes(), SwNodes::GetOutLineNds(), sw::GetParaPropsNode(), SwPaM::GetPoint(), SfxItemPool::GetPresentation(), IDocumentRedlineAccess::GetRedline(), SwTextAttr::GetStart(), GetStartNode(), SwTableNode::GetTable(), SwTable::GetTableBox(), SwTextAttr::GetTOXMark(), SwFrame::GetUpper(), SwFormatINetFormat::GetValue(), SwViewShell::GetWin(), SwWrongList::GetWrongPos(), SwNodes::GoNextSection(), GotoFootnoteAnchor(), SwField::HasClickHdl(), i, index, InetAttr, SwWrongList::InWrongWord(), SwFrame::IsCellFrame(), SwRect::IsInside(), IsInvalidItem(), IsReadOnlyAvailable(), SwCursor::IsSelOvr(), IsTableMode(), JumpEdit, SwRect::Left(), OutputDevice::LogicToPixel(), SwCursorMoveState::m_bContentCheck, SwCursorMoveState::m_bExactOnly, SwCursorMoveState::m_bFieldInfo, SwCursorMoveState::m_bFootnoteNoInfo, SwCursorMoveState::m_bInNumPortion, SwCursorMoveState::m_bPosCorr, SwCursorMoveState::m_bSetInReadOnly, SwCursorMoveState::m_nInNumPortionOffset, m_pCurrentCursor, SwCursorMoveState::m_pSpecialPos, n, SwSpecialPos::nCharOfst, SwPosition::nContent, SwContentAtPos::nDist, SfxItemIter::NextItem(), nIndex, SwPosition::nNode, NONE, nPos, NumLabel, Outline, SwContentAtPos::pAttr, SwContentAtPos::pField, SwContentAtPos::pFieldmark, SwContentAtPos::pFndTextAttr, SwContentAtPos::pNode, Point, POOLATTR_BEGIN(), POOLATTR_END(), SwRect::Pos(), SwContentAtPos::pRedl, SwTableFormula::PtrToBoxNm(), Redline, RefMark, RES_BOXATR_FORMULA(), RES_BOXATR_VALUE(), RES_TXTATR_FTN(), RES_TXTATR_INETFMT(), RES_TXTATR_REFMARK(), RES_TXTATR_TOXMARK(), SwRect::Right(), SwOutlineNodes::Seek_Entry(), SmartTag, SwContentAtPos::sStr, SfxPoolItem::StaticWhichCast(), SwWrongList::SubList(), Table, TableBoxFml, TableBoxValue, Toggle, SwRect::Top(), ToxMark, SwRect::Union(), UpdateCursor(), SfxPoolItem::Which(), SwTextAttr::Which(), SwField::Which(), and Size::Width().
Referenced by SwEditWin::AcceptDrop(), SwTransferable::GetData(), SwFEShell::GetNumRuleNodeAtPos(), SwFEShell::IsNumLabel(), lcl_urlOverBackground(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwEditWin::MouseMove(), sw::sidebarwindows::SidebarTextControl::RequestHelp(), SwEditWin::RequestHelp(), SwTransferable::SetDataForDragAndDrop(), SwEditWin::StartDrag(), SwReadOnlyPopup::SwReadOnlyPopup(), and SwEditWin::UpdatePointer().
SwField * SwCursorShell::GetCurField | ( | const bool | bIncludeInputFieldAtStart = false | ) | const |
Definition at line 904 of file crstrvl.cxx.
References GetCursor(), GetFieldAtCursor(), SwTableNode::GetTable(), SwField::GetTyp(), IsCursorInTable(), SwPaM::IsMultiSelection(), Table, and SwFieldType::Which().
Referenced by SwTextShell::ExecField(), SwTextShell::Execute(), SwBaseShell::Execute(), SwFieldMgr::GetCurField(), SwTextShell::GetIdxState(), SwTextShell::GetState(), SwAuthorMarkPane::InitControls(), SwEditWin::MouseButtonDown(), SwTextShell::StateField(), SwWrtShell::UpdateInputFields(), and SwEditWin::UpdatePointer().
sw::mark::IFieldmark * SwCursorShell::GetCurrentFieldmark | ( | ) |
|
overridevirtual |
Return the current shell cursor.
SwPaM
shell cursor Implements sw::IShellCursorSupplier.
Definition at line 185 of file crsrsh.cxx.
Referenced by SwWrtShell::DelRight(), SwContentTree::ExecuteContextMenuAction(), SwWrtShell::Insert(), SwWrtShell::InsertPostIt(), SwEditWin::IsOverHeaderFooterFly(), SwEditWin::KeyInput(), SwEditWin::MouseButtonDown(), SwGrfShell::SwExternalToolEdit::Update(), and SwHandleAnchorNodeChg::~SwHandleAnchorNodeChg().
SwContentFrame * SwCursorShell::GetCurrFrame | ( | const bool | bCalcFrame = true | ) | const |
Get current frame in which the cursor is positioned.
Definition at line 2448 of file crsrsh.cxx.
References SwNode::GetContentNode(), and SwContentNode::getLayoutFrame().
Referenced by SwFEShell::CalcBoundRect(), SwFEShell::CanUnProtectCells(), SwFEShell::CheckHeadline(), SwFEShell::ChgCurPageDesc(), SwFEShell::DeleteCol(), SwFEShell::DeleteRow(), SwFEShell::DeleteTableSel(), SwFEShell::FindAnchorPos(), SwEditShell::GetAnySection(), SwFEShell::GetAutoSum(), SwFEShell::GetCurPageDesc(), SwFEShell::GetCurrFlyFrame(), SwFEShell::GetCurTabColNum(), SwAccessibleDocument::getExtendedAttributes(), SwXFrame::getPropertyValue(), SwFEShell::GetRowsToRepeat(), SwFEShell::GetTabBackground(), SwFEShell::GetTabCols(), SwFEShell::GetTableAttr(), SwEditShell::GetTableBoxFormulaAttrs(), SwEditShell::GetTableBoxText(), SwFEShell::GetTabRows(), GotoFlyAnchor(), GotoFooterText(), GotoHeaderText(), SwFEShell::InsertCol(), SwFEShell::InsertRow(), SwFEShell::IsAdjustCellWidthAllowed(), IsCursorReadonly(), SwEditShell::IsTableBoxTextFormat(), SwFEShell::IsTableRightToLeft(), SwFEShell::IsTableVertical(), lcl_SetAPageOffset(), MoveColumn(), SelTable(), SelTableBox(), SelTableRowOrCol(), SwFEShell::SetColRowWidthHeight(), SetCursorInHdFt(), SwFEShell::SetRowsToRepeat(), SwFEShell::SetTabBackground(), SwFEShell::SetTabCols(), SwFEShell::SetTableAttr(), SwEditShell::SetTableBoxFormulaAttrs(), SwFEShell::SetTabRows(), SwFEShell::SplitTab(), and SwFEShell::UnProtectCells().
SwPaM * SwCursorShell::GetCursor | ( | bool | bMakeTableCursor = true | ) | const |
Return pointer to the current shell cursor.
SwPaM
shell cursor Definition at line 194 of file crsrsh.cxx.
References SwNode::GetContentNode(), and SwContentNode::getLayoutFrame().
Referenced by SwEditShell::AcceptRedlinesInSelection(), SwEditShell::AppendUndoForInsertFromDB(), SwEditShell::ApplyChangedSentence(), SwEditShell::ApplyParagraphClassification(), SwEditShell::AutoFormat(), SwEditShell::AutoFormatBySplitNode(), SwAccessibleMap::BuildSelectedParas(), SwEditShell::CanMergeTable(), SwEditShell::CanSpecialInsert(), SwHHCWrapper::ChangeText(), SwHHCWrapper::ChangeText_impl(), CheckSplitCells(), SwFEShell::ChgCurPageDesc(), SwEditShell::ClassifyDocPerHighestParagraphClass(), ClearUpCursors(), SwXTextViewCursor::collapseToEnd(), SwXTextViewCursor::collapseToStart(), SwEditShell::CollectParagraphClassification(), SwEditWin::Command(), SwHTMLParser::Continue(), SwHHCWrapper::Convert(), SwFormatClipboard::Copy(), SwEditShell::Copy(), SwFEShell::Copy(), SwFEShell::CopyDrawSel(), SwEditShell::CopySelToDoc(), CursorInsideInputField(), SwEditShell::Delete(), SwEditShell::DeleteGlobalDocContent(), SwFEShell::DeleteRow(), SwEditWin::DeleteSurroundingText(), SwEditShell::DelFullPara(), SwWrtShell::DelLeft(), SwEditShell::DelNumRules(), SwWrtShell::DelRight(), SwAccessibleTable::deselectAccessibleChild(), DocPtInsideInputField(), SwEditShell::DoSpecialInsert(), SwTextShell::ExecCharAttrArgs(), SwTextShell::ExecField(), SwView::ExecSpellPopup(), SwTableShell::Execute(), SwTextShell::Execute(), SwXTextDocument::executeFromFieldEvent(), SwEditShell::FieldToText(), SwEditShell::FillByEx(), Find_Text(), FindAttrs(), FindFormat(), SwEditWin::FlushInBuffer(), SwEditShell::GCAttr(), SwEditShell::GetAnySection(), GetBoxNms(), SwEditShell::GetCntType(), SwEditShell::GetCorrection(), SwEditShell::GetCurAttr(), GetCurField(), SwEditShell::GetCurFootnote(), SwEditShell::GetCurLang(), SwEditShell::GetCurParAttr(), SwEditShell::GetCurrentOutlineLevels(), SwEditShell::GetCurrentParaOutlineLevel(), SwEditShell::GetCurrRedline(), SwEditShell::GetCurrSection(), SwAccessibleFrameBase::GetCursor(), SwAccessibleParagraph::GetCursor(), GetCursorDescr(), SwEditShell::GetCurTextFormatColl(), SwEditShell::GetCurTOX(), SwEditShell::GetCurTOXMarks(), SwXTextViewCursor::GetDoc(), SwXTextViewCursor::getEnd(), SwAccessibleDocument::getExtendedAttributes(), SwSpellDialogChildWindow::GetFocus(), SwFEShell::GetFormatFromAnyObj(), SwEditShell::GetFullSelectedSectionCount(), SwEditShell::GetGrammarCorrection(), SwEditShell::GetItemWithPaM(), SwHHCWrapper::GetNextPortion(), SwSpellDialogChildWindow::GetNextWrongSentence(), SwEditShell::GetNodeNumStart(), SwEditShell::GetNumLevel(), SwEditShell::GetNumRuleAtCurrCursorPos(), SwEditShell::GetNumRuleAtCurrentSelection(), SwXTextViewCursor::getPage(), SwXTextViewCursor::GetPaM(), SwXTextViewCursor::getPropertyDefault(), SwXTextViewCursor::getPropertyState(), SwXTextViewCursor::getPropertyStates(), SwXTextViewCursor::getPropertyValue(), SwXTextView::getRubyList(), SwEditShell::GetScalingOfSelectedText(), SwEditShell::GetScriptType(), SwFEShell::GetSelectedPageDescs(), SwEditShell::GetSelectedText(), SwXTextView::getSelection(), GetSmartTagRect(), GetSmartTagTerm(), SwXTextViewCursor::getStart(), SwXTextViewCursor::getString(), SwEditWin::GetSurroundingText(), SwEditWin::GetSurroundingTextSelection(), GetSwCursor(), SwFEShell::GetTableAutoFormat(), GetTableSel(), SwXTextViewCursor::getText(), SwLangHelper::GetTextForLanguageGuessing(), SwNavigationMgr::goBack(), SwWrtShell::GotoDrawingObject(), SwInputFieldList::GotoFieldPos(), SwWrtShell::GotoFly(), SwWrtShell::GotoFormatField(), SwEditShell::GotoGlobalDocContent(), SwWrtShell::GotoINetAttr(), sw::AccessibilityIssue::gotoIssue(), SwWrtShell::GotoMark(), SwWrtShell::GotoNextTOXBase(), SwWrtShell::GotoOutline(), SwXTextViewCursor::gotoRange(), SwWrtShell::GotoRedline(), SwWrtShell::GotoRefMark(), SwWrtShell::GotoRegion(), SwNavigationMgr::GotoSwPosition(), SwWrtShell::GotoTable(), GotoTOXMark(), SwEditShell::HandleCorrectionError(), SwEditShell::HandleUndoRedoContext(), SwFEShell::HasBoxSelection(), SwEditShell::HasBullet(), SwEditShell::HasNumber(), SwFEShell::HasTableAnyProtection(), SwView::HyphenateDocument(), sw::sidebar::IMPL_LINK(), SwEditShell::Insert(), SwEditShell::Insert2(), SwEditShell::InsertDDETable(), SwEditShell::InsertGlobalDocContent(), SwEditShell::InsertGlossary(), SwFEShell::InsertObject(), SwEditShell::InsertSection(), SwEditShell::InsertTable(), SwEditShell::InsertTableOf(), SwAccessibleMap::InvalidateShapeInParaSelection(), SwTransferable::isComplex(), SwEditShell::IsCursorInParagraphMetadataField(), SwEditShell::IsFirstOfNumRuleAtCursorPos(), SwEditShell::IsInsRegionAvailable(), SwEditShell::IsMoveLeftMargin(), SwEditShell::IsNoNum(), SwEditShell::IsNumRuleStart(), SwEditShell::IsProtectedOutlinePara(), SwEditShell::IsTextToTableAvailable(), lcl_CollectDeletedRedlines(), lcl_CutRedlines(), lcl_emitSearchResultCallbacks(), lcl_GetPrintUIOptions(), lcl_SetAPageOffset(), lcl_TableParamToItemSet(), SwDocShell::LoadStylesFromFile(), SwSpellDialogChildWindow::LoseFocus(), SwEditShell::MergeTable(), SwEditShell::MoveGlobalDocContent(), SwEditShell::MoveLeftMargin(), SwEditShell::MoveNumParas(), SwEditShell::MoveOutlinePara(), SwEditShell::MoveParagraph(), SwFEShell::NewFlyFrame(), SwEditShell::NoNum(), sw::mark::MarkManager::NotifyCursorUpdate(), numfunc::NumDownChangesIndent(), SwEditShell::NumOrNoNum(), SwEditShell::NumUpDown(), SwEditShell::OutlineUpDown(), SwTransferable::Paste(), SwFEShell::Paste(), SwTransferable::PasteFileContent(), SwTransferable::PasteOLE(), SwFEShell::PastePages(), PrepareBoxInfo(), SwEditShell::RejectRedlinesInSelection(), SwPasteContext::remember(), SwEditShell::RemoveParagraphMetadataFieldAtCursor(), SwEditShell::Repeat(), SwEditShell::Replace(), SwEditShell::ReplaceNumRule(), SwFEShell::ReplaceSdrObj(), SwHHCWrapper::ReplaceUnit(), SwEditShell::ResetAttr(), SwEditShell::SaveGlossaryDoc(), SwEditShell::SearchNumRule(), SwAccessibleTable::selectAccessibleChild(), SwEditShell::SelectionHasBullet(), SwEditShell::SelectionHasNumber(), SwHHCWrapper::SelectNewUnit_impl(), SwEditShell::SetAttrItem(), SwEditShell::SetAttrSet(), SwEditShell::SetCurFootnote(), SwEditShell::SetCurNumRule(), SwEditShell::SetLinguRange(), SwEditShell::SetNodeNumStart(), SwEditShell::SetNumRuleStart(), SwVisibleCursor::SetPosAndShow(), SwXTextViewCursor::setPropertyToDefault(), SwXTextViewCursor::setPropertyValue(), SwEditShell::SetRedlineComment(), SwXTextView::setRubyList(), SwEditShell::SetSectionAttr(), SetSelection(), SwEditShell::SetTextFormatColl(), ShouldWait(), SwEditShell::SignParagraph(), SwEditShell::SplitTable(), SwDocShell::StartConvertFrom(), SwXMLImport::startDocument(), SwView::StartTextConversion(), SwTextShell::StateField(), SwAutoFormat::SwAutoFormat(), SwCallLink::SwCallLink(), SwEditShell::TableToText(), SwEditShell::TextToTable(), SwFEShell::UnProtectTables(), SwEditShell::UpdateOneField(), SwEditShell::UpdateTableOf(), sw::sidebar::UpdateTree(), SwEditShell::ValidateCurrentParagraphSignatures(), SwFEShell::WizardGetFly(), SwWriter::Write(), sw::sidebar::WriterInspectorTextPanel::WriterInspectorTextPanel(), SwCallLink::~SwCallLink(), and SwPasteContext::~SwPasteContext().
|
inline |
Definition at line 328 of file crsrsh.hxx.
Referenced by SwEditShell::CopySelToDoc(), SwAutoFormat::DeleteSelImpl(), SwWrtShell::EndSelect(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwViewShell::FillPrtDoc(), GetPostItFieldAtCursor(), SwFEShell::GetRowSelectionFromTop(), GotoFootnoteText(), IMPL_LINK(), PaMCorrAbs(), PaMCorrRel(), SwWrtShell::SelectNextPrevHyperlink(), SwFEShell::SelTableRowCol(), SelTableRowOrCol(), and SwVisibleCursor::SetPosAndShow().
|
inline |
Definition at line 329 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 2736 of file crsrsh.cxx.
References SwPaM::GetMark(), SwPaM::GetNext(), SwPaM::GetPoint(), SwPaM::HasMark(), and n.
Referenced by SwIndexMarkPane::Activate(), SwFieldMgr::CanInsertRefMark(), SwEditShell::GetPaMAttr(), SwView::GetState(), SwIndexMarkPane::InitControls(), lcl_TableParamToItemSet(), SwIndexMarkPane::ModifyHdl(), PrepareBoxInfo(), and ShouldWait().
OUString SwCursorShell::GetCursorDescr | ( | ) | const |
Returns textual description of the current selection.
Definition at line 3641 of file crsrsh.cxx.
References GetCursor(), SwDoc::GetPaMDescr(), IsMultiSelection(), and SwResId().
Referenced by SwTextShell::Execute(), SwSpellPopup::Execute(), and SwWrtShell::GetSelDescr().
|
inline |
Definition at line 899 of file crsrsh.hxx.
References SwShellCursor::GetPtPos(), m_pCurrentCursor, and Point.
Referenced by SwFEShell::Copy(), SwContentTree::GotoContent(), SwFEShell::Insert(), SwFEShell::InsertObject(), SwFEShell::NewFlyFrame(), SwFEShell::Paste(), and SwTransferable::PasteTargetURL().
|
inline |
Definition at line 803 of file crsrsh.hxx.
Referenced by SwWrtShell::ResetSelect().
|
static |
Definition at line 894 of file crstrvl.cxx.
References SwFormatField::GetField(), SwTextAttr::GetFormatField(), and GetTextFieldAtCursor().
Referenced by GetCurField().
sw::mark::IFieldmark * SwCursorShell::GetFieldmarkAfter | ( | ) |
Definition at line 290 of file crbm.cxx.
References pos.
Referenced by SwEditWin::KeyInput(), and SwWrtShell::SwWrtShell().
sw::mark::IFieldmark * SwCursorShell::GetFieldmarkBefore | ( | ) |
|
inline |
Definition at line 480 of file crsrsh.hxx.
Referenced by lcl_GrabCursor(), and SwCallLink::~SwCallLink().
|
inline |
Definition at line 488 of file crsrsh.hxx.
Referenced by SwBaseShell::~SwBaseShell().
sal_uInt16 SwCursorShell::GetNextPrevPageNum | ( | bool | bNext = true | ) |
Definition at line 1256 of file crsrsh.cxx.
References SwFrameAreaDefinition::getFrameArea(), SwFrame::GetNext(), SwPageFrame::GetPhyPageNum(), SwFrame::GetPrev(), SwPageFrame::IsEmptyPage(), SwRect::Top(), and USHRT_MAX.
Referenced by IMPL_LINK().
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 1134 of file crstrvl.cxx.
References SwTextNode::GetAttrOutlineLevel(), SwViewShell::GetDoc(), SwNodes::GetEndOfExtras(), SwNode::GetIndex(), SwViewShell::GetLayout(), SwPaM::GetNode(), SwDoc::GetNodes(), SwNodes::GetOutLineNds(), getShellCursor(), SwNode::GetTextNode(), sw::IsParaPropsNode(), nPos, SwOutlineNodes::npos, and SwOutlineNodes::Seek_Entry().
Referenced by SwContentTree::ExecCommand(), SwContentTree::HasContentChanged(), lcl_OutlineUpDownWithSubPoints(), SwNavigationPI::MoveOutline(), SwContentTree::SelectOutlinesWithSelection(), SwOutlineSettingsTabPage::SetWrtShell(), and SwContentTree::UpdateTracking().
sal_uInt16 SwCursorShell::GetPageCnt | ( | ) |
Definition at line 1294 of file crsrsh.cxx.
Referenced by SwEditWinUIObject::get_state(), SwAccessibleDocument::getExtendedAttributes(), SwGotoPageDlg::GetPageInfo(), SwXTextDocument::getParts(), IMPL_LINK(), SwDBManager::MergeMailFiles(), SwNavigationPI::NotifyItemUpdate(), SwTitlePageDlg::SwTitlePageDlg(), and SwNavigationPI::UsePage().
void SwCursorShell::GetPageNum | ( | sal_uInt16 & | rnPhyNum, |
sal_uInt16 & | rnVirtNum, | ||
bool | bAtCursorPos = true , |
||
const bool | bCalcFrame = true |
||
) |
Definition at line 1212 of file crsrsh.cxx.
References SwFrame::FindPageFrame(), SwFrame::GetNext(), SwPageFrame::GetPhyPageNum(), SwFrame::GetVirtPageNum(), 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 1232 of file crsrsh.cxx.
References SwFrame::FindPageFrame(), SwFrame::GetNext(), SwFrame::GetPrev(), and SwPageFrame::IsEmptyPage().
OUString SwCursorShell::getPageRectangles | ( | ) |
Implementation of lok::Document::getPartPageRectangles() for Writer.
Definition at line 1301 of file crsrsh.cxx.
References aBuf, SwFrame::GetLower(), and SwFrame::GetNext().
Referenced by SwXTextDocument::getPartPageRectangles().
const SwPostItField * SwCursorShell::GetPostItFieldAtCursor | ( | ) | const |
Definition at line 1858 of file crstrvl.cxx.
References GetCursor_(), SwFormatField::GetField(), SwTextNode::GetFieldTextAttrAt(), SwTextAttr::GetFormatField(), SwIndex::GetIndex(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SwNode::GetTextNode(), IsTableMode(), SwPosition::nContent, SwPosition::nNode, Postit, and SwField::Which().
OUString SwCursorShell::GetSelText | ( | ) | const |
get selected text of a node at current cursor
Definition at line 2543 of file crsrsh.cxx.
References assert(), sw::FrameContainsNode(), SwTextNode::GetExpandText(), SwNode::GetIndex(), SwNode::GetTextNode(), HideDeletions, and i.
Referenced by SwWrtShell::DelLeft(), SwTextShell::Execute(), SwGlossaryHdl::ExpandGlossary(), SwEditShell::GetSelectedText(), SwTextShell::GetState(), IMPL_LINK_NOARG(), lcl_SelectSameStrings(), SwHHCWrapper::ReplaceUnit(), SwVisibleCursor::SetPosAndShow(), SwTextShell::StateInsert(), SwFieldRefPage::SubTypeHdl(), and sw_CharDialog().
bool SwCursorShell::GetShadowCursorPos | ( | const Point & | rPt, |
SwFillMode | eFillMode, | ||
SwRect & | rRect, | ||
sal_Int16 & | rOrient | ||
) |
Definition at line 2028 of file crstrvl.cxx.
References SwViewShell::GetDoc(), SwViewShell::GetIDocumentUndoRedo(), SwViewShell::GetLayout(), SwPaM::GetPoint(), HasSelection(), IsTableMode(), m_pCurrentCursor, and Point.
Referenced by SwEditWin::MouseMove().
SwShellCursor * SwCursorShell::getShellCursor | ( | bool | bBlock | ) |
Delivers the current shell cursor.
Some operations have to run on the current cursor ring, some on the m_pTableCursor (if exist) or the current cursor ring and some on the m_pTableCursor or m_pBlockCursor or the current cursor ring. This small function checks the existence and delivers the wished cursor.
bBlock | [bool] if the block cursor is of interest or not |
Definition at line 3042 of file crsrsh.cxx.
References SwBlockCursor::getShellCursor(), m_pBlockCursor, m_pCurrentCursor, and m_pTableCursor.
Referenced by SwFEShell::AdjustCellWidth(), SwEditShell::AutoCorrect(), SwFEShell::BalanceRowHeight(), CallCursorFN(), CheckSplitCells(), SwFieldEditDlg::EnsureSelection(), SwShellCursor::FillStartEnd(), SwFEShell::GetBoxAlign(), SwFEShell::GetBoxBackground(), SwFEShell::GetBoxDirection(), SwEditShell::GetChunkForAutoText(), GetOutlinePos(), SwEditShell::GetPrevAutoCorrWord(), SwFEShell::GetRowBackground(), SwFEShell::GetRowHeight(), SwFEShell::GetRowSplit(), SwFEShell::GetTabBorders(), GetTableSel(), GoEndSentenceImpl(), GoEndWordImpl(), GoNextSentenceImpl(), GoNextWordImpl(), GoPrevWordImpl(), GoStartSentenceImpl(), GoStartWordImpl(), GotoFooterText(), GotoFormatField(), GotoHeaderText(), GotoINetAttr(), GotoNextOutline(), GotoOutline(), GotoPrevOutline(), SwFEShell::InsertRow(), MoveFieldType(), SwFEShell::ProtectCells(), SwTableAutoFormat::RestoreTableProperties(), SwWrtShell::SelAll(), SwFEShell::SetBoxAlign(), SwFEShell::SetBoxBackground(), SwFEShell::SetBoxDirection(), SwEditWin::SetCursorTwipPosition(), SwFEShell::SetRowBackground(), SwFEShell::SetRowHeight(), SwFEShell::SetRowSplit(), SwFEShell::SetTabBorders(), SwFEShell::SetTabLineStyle(), SwTableAutoFormat::StoreTableProperties(), and SwWrtShell::SttSelect().
|
inline |
Definition at line 637 of file crsrsh.hxx.
Definition at line 3749 of file crsrsh.cxx.
References CH_TXTATR_INWORD, DeleteCurrent, SwPaM::DeleteMark(), ExtendSelection(), SwFrame::GetCharRect(), SwPaM::GetContentNode(), GetCursor(), SwIndex::GetIndex(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetPoint(), SwTextNode::GetSmartTags(), SwTextNode::GetText(), SwNode::GetTextNode(), SwWrongList::InWrongWord(), SwNode::IsInProtectSect(), SwTextNode::IsSymbolAt(), LeftMargin(), SwCursorMoveState::m_bRealWidth, SwCursorMoveState::m_pSpecialPos, SwPosition::nContent, pChar, Point, Pop(), Push(), RightMargin(), 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 3712 of file crsrsh.cxx.
References SwSmartTagMgr::Get(), GetCursor(), SwPaM::GetPoint(), SwNode::GetTextNode(), SwWrongList::GetWrongPos(), SwWrongList::InWrongWord(), lcl_FillRecognizerData(), lcl_FillTextRange(), nIndex, and SwWrongList::SubList().
Referenced by SwTextShell::GetState().
|
inline |
Definition at line 873 of file crsrsh.hxx.
References m_pStackCursor.
Referenced by PaMCorrAbs(), and PaMCorrRel().
|
inline |
Definition at line 868 of file crsrsh.hxx.
References GetCursor().
Referenced by SwWrtShell::DelLeft(), SwWrtShell::DelRight(), SwFEShell::Insert(), SwFEShell::ParkCursorInTab(), SwTransferable::PrivateDrop(), SwContentTree::SelectOutlinesWithSelection(), SwXTextViewCursor::setString(), and SwEditShell::SpellStart().
|
inline |
Definition at line 904 of file crsrsh.hxx.
References m_pTableCursor.
Referenced by SwAccessibleTable::deselectAccessibleChild(), SwWrtShell::Insert(), PaMCorrAbs(), PaMCorrRel(), SwAccessibleTable::selectAccessibleChild(), SwCallLink::SwCallLink(), and SwCallLink::~SwCallLink().
|
inline |
Definition at line 909 of file crsrsh.hxx.
References m_pTableCursor.
|
inline |
Definition at line 645 of file crsrsh.hxx.
Referenced by SwViewShell::FillPrtDoc(), SwFEShell::GetRowSelectionFromTop(), SwAccessibleTable::GetSelBoxes(), SwXTextView::getSelection(), GetTableSelCrs(), SwEditWin::KeyInput(), and SwFEShell::MergeTab().
|
inline |
Definition at line 646 of file crsrsh.hxx.
SvxFrameDirection SwCursorShell::GetTextDirection | ( | const Point * | pPt = nullptr | ) | const |
Definition at line 3398 of file crsrsh.cxx.
References SwViewShell::GetLayout(), SwRootFrame::GetModelPositionForViewPoint(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), IsReadOnlyAvailable(), SwCursorMoveState::m_bSetInReadOnly, m_pCurrentCursor, SwViewShell::mxDoc, NONE, and Point.
Referenced by IsInRightToLeftText(), IsInVerticalText(), and SwEditWin::KeyInput().
|
static |
Definition at line 871 of file crstrvl.cxx.
References SwTextAttr::End(), SwPaM::End(), SwIndex::GetIndex(), SwTextAttr::GetStart(), GetTextFieldAtPos(), SwPosition::nContent, SwPosition::nNode, and SwPaM::Start().
Referenced by CursorInsideInputField(), SwTextShell::ExecField(), and GetFieldAtCursor().
|
static |
Definition at line 856 of file crstrvl.cxx.
References SwTextNode::GetFieldTextAttrAt(), SwIndex::GetIndex(), SwNodeIndex::GetNode(), SwNode::GetTextNode(), SwPosition::nContent, and SwPosition::nNode.
Referenced by EndOfInputFieldAtPos(), GetTextFieldAtCursor(), SwSelPaintRects::HighlightInputField(), PosInsideInputField(), StartOfInputFieldAtPos(), and SwEditShell::UpdateOneField().
|
inline |
Definition at line 347 of file crsrsh.hxx.
Referenced by MoveCursorToNum().
SwVisibleCursor * SwCursorShell::GetVisibleCursor | ( | ) | const |
Definition at line 2718 of file crsrsh.cxx.
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 200 of file crbm.cxx.
References CHKRANGE, IDocumentMarkAccess::findFirstBookmarkStartsAfter(), IDocumentMarkAccess::getBookmarksEnd(), sw::IsMarkHidden(), READONLY, and SCROLLWIN.
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 assert(), SwNode::EndOfSectionNode(), SwTableBox::FindEndOfRowSpan(), SwNode::FindTableBoxStartNode(), SwCursor::GetCursorRowSpanOffset(), SwNodeIndex::GetNode(), SwPaM::GetNode(), SwPaM::GetPoint(), SwTableBox::getRowSpan(), SwTableBox::GetSttNd(), SwTableNode::GetTable(), SwTable::GetTableBox(), SwNode::GetTableBox(), SwCursor::GoNextCell(), SwPaM::HasMark(), IsCursorInTable(), IsTableMode(), m_pCurrentCursor, m_pTableCursor, SwViewShell::mxDoc, SwPosition::nNode, SwTable::SelLineFromBox(), and UpdateCursor().
Referenced by SwInsertDBColAutoPilot::DataToDoc(), SwTableShell::Execute(), and SwEditWin::KeyInput().
bool SwCursorShell::GoNextCursor | ( | ) |
go to the next SSelection
Definition at line 1360 of file crsrsh.cxx.
Referenced by SwWrtShell::ExtSelLn(), SwWrtShell::ExtSelWrd(), SwEditShell::HandleUndoRedoContext(), and SwTransferable::PrivateDrop().
bool SwCursorShell::GoNextPrevCursorSetSearchLabel | ( | const bool | bNext | ) |
Definition at line 1397 of file crsrsh.cxx.
References SvxSearchDialogWrapper::SetSearchLabel().
Referenced by IMPL_LINK().
bool SwCursorShell::GoNextSentence | ( | ) |
Definition at line 68 of file crstrvl1.cxx.
References CallCursorShellFN(), and GoNextSentenceImpl().
Referenced by SwWrtShell::FwdSentence_().
|
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 233 of file crbm.cxx.
References CHKRANGE, IDocumentMarkAccess::findFirstBookmarkStartsAfter(), IDocumentMarkAccess::getBookmarksBegin(), sw::IsMarkHidden(), READONLY, and SCROLLWIN.
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(), and SwEditWin::KeyInput().
bool SwCursorShell::GoPrevCursor | ( | ) |
go to the previous SSelection
Definition at line 1379 of file crsrsh.cxx.
Referenced by SwEditWin::Command(), SwWrtShell::ExtSelLn(), SwWrtShell::ExtSelWrd(), and SwTransferable::PrivateDrop().
bool SwCursorShell::GoPrevWord | ( | ) |
Definition at line 63 of file crstrvl1.cxx.
References CallCursorShellFN(), and GoPrevWordImpl().
Referenced by SwWrtShell::PrvWrd_(), and SwWrtShell::PrvWrdForDelete().
|
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 | ) |
void SwCursorShell::GotoFlyAnchor | ( | ) |
jump from the frame to the anchor
jump from border to anchor
Definition at line 344 of file trvlfnfl.cxx.
References SwRect::Bottom(), CHKRANGE, SwFrame::FindPageFrame(), SwLayoutFrame::GetContentPos(), GetCurrFrame(), SwFrameAreaDefinition::getFrameArea(), SwFrame::GetModelPositionForViewPoint(), SwPaM::GetPoint(), SwFrame::GetUpper(), SwFrame::IsFlyFrame(), SwCursor::IsInProtectTable(), SwRect::IsInside(), SwCursor::IsSelOvr(), SwRect::Left(), m_aCharRect, m_pCurrentCursor, Point, READONLY, SwRect::Right(), SCROLLWIN, SwRect::SSize(), SwRect::Top(), and UpdateCursor().
Referenced by SwFrameShell::Execute(), and SwBaseShell::Execute().
bool SwCursorShell::GotoFooterText | ( | ) |
jump from the content to the footer
jump from content to footer
Definition at line 156 of file crstrvl.cxx.
References SwFrame::Calc(), SwFrame::FindPageFrame(), GetCurrFrame(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwLayoutFrame::GetLastLower(), SwFrame::GetLower(), SwFrame::GetModelPositionForViewPoint(), SwViewShell::GetOut(), SwPaM::GetPoint(), getShellCursor(), SwFrame::IsContentFrame(), SwFrame::IsFooterFrame(), SwCursor::IsSelOvr(), Point, SwRect::Pos(), and UpdateCursor().
Referenced by SwTextShell::ExecMoveMisc(), and IMPL_LINK().
bool SwCursorShell::GotoFootnoteAnchor | ( | ) |
jump from footnote to anchor
Definition at line 162 of file trvlfnfl.cxx.
References CHKRANGE, SwShellCursor::GetPtPos(), SwCursor::GotoFootnoteAnchor(), m_pCurrentCursor, Point, READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwTextShell::ExecMoveMisc(), GetContentAtPos(), and IMPL_LINK().
bool SwCursorShell::GotoFootnoteText | ( | ) |
jump from content to footnote
Definition at line 83 of file trvlfnfl.cxx.
References CallCursorFN(), CHKRANGE, SwFrame::FindFootnoteBossFrame(), SwFootnoteBossFrame::FindFootnoteCont(), GetCursor_(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwFrame::GetNext(), SwNodeIndex::GetNode(), SwTextFrame::GetOffset(), SwPaM::GetPoint(), SwNode::GetTextNode(), SwFrame::GetUpper(), SwCursor::GotoFootnoteText(), SwFrame::IsInFootnote(), SwFrame::IsPageFrame(), SwTextFrame::MapViewToModelPos(), SwPosition::nNode, READONLY, SCROLLWIN, Start, and UpdateCursor().
Referenced by SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwTextShell::ExecMoveMisc(), SwTextShell::Execute(), and IMPL_LINK().
bool SwCursorShell::GotoFormatField | ( | const SwFormatField & | rField | ) |
Definition at line 830 of file crstrvl.cxx.
References SwIndex::Assign(), CHKRANGE, SwViewShell::GetDoc(), SwViewShell::getIDocumentRedlineAccess(), SwViewShell::GetLayout(), SwPaM::GetPoint(), getShellCursor(), SwFormatField::GetTextField(), sw::IsFieldDeletedInModel(), SwCursor::IsSelOvr(), SwPosition::nContent, SwPosition::nNode, READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwWrtShell::GotoField(), and SwWrtShell::GotoFormatField().
bool SwCursorShell::GotoHeaderText | ( | ) |
jump from the content to the header
jump from content to header
Definition at line 128 of file crstrvl.cxx.
References SwFrame::Calc(), SwFrame::FindPageFrame(), GetCurrFrame(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwFrame::GetLower(), SwFrame::GetModelPositionForViewPoint(), SwViewShell::GetOut(), SwPaM::GetPoint(), getShellCursor(), SwFrame::IsContentFrame(), SwFrame::IsHeaderFrame(), SwCursor::IsSelOvr(), Point, SwRect::Pos(), and UpdateCursor().
Referenced by SwTextShell::ExecMoveMisc(), and IMPL_LINK().
bool SwCursorShell::GotoINetAttr | ( | const SwTextINetFormat & | rAttr | ) |
Definition at line 2002 of file crstrvl.cxx.
References SwIndex::Assign(), CHKRANGE, SwPaM::GetPoint(), SwTextINetFormat::GetpTextNode(), getShellCursor(), SwTextAttr::GetStart(), SwCursor::IsSelOvr(), SwPosition::nContent, SwPosition::nNode, READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwEnhancedPDFExportHelper::EnhancedPDFExport(), and SwWrtShell::GotoINetAttr().
bool SwCursorShell::GotoMark | ( | const ::sw::mark::IMark *const | pMark | ) |
Definition at line 184 of file crbm.cxx.
References CHKRANGE, sw::IsMarkHidden(), READONLY, and SCROLLWIN.
Referenced by SwWrtShell::GotoMark(), and SwWrtShell::MoveBookMark().
bool SwCursorShell::GotoMark | ( | const ::sw::mark::IMark *const | pMark, |
bool | bAtStart | ||
) |
bool SwCursorShell::GotoNextFootnoteAnchor | ( | ) |
Definition at line 333 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 113 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 1003 of file crstrvl.cxx.
References SwIndex::Assign(), CHKRANGE, o3tl::sorted_vector< Value, Compare, Find, class >::empty(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), SwPaM::GetNode(), SwDoc::GetNodes(), SwNodes::GetOutLineNds(), SwPaM::GetPoint(), getShellCursor(), SwNode::GetTextNode(), sw::IsParaPropsNode(), SwCursor::IsSelOvr(), SwPosition::nContent, SwPosition::nNode, nPos, READONLY, SCROLLWIN, SwOutlineNodes::Seek_Entry(), SvxSearchDialogWrapper::SetSearchLabel(), o3tl::sorted_vector< Value, Compare, Find, class >::size(), and UpdateCursor().
Referenced by IMPL_LINK().
bool SwCursorShell::GotoNextTOXBase | ( | const OUString * | pName = nullptr | ) |
jump to the next index
Definition at line 264 of file crstrvl.cxx.
References SwIndex::Assign(), CHKRANGE, SwNode::EndOfSectionIndex(), SwNode::GetContentNode(), SwViewShell::GetDoc(), SwSection::GetFormat(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwSectionFormat::GetSectionNode(), SwDoc::GetSections(), SwSection::GetType(), SwNodes::GoNext(), IsReadOnlyAvailable(), SwCursor::IsSelOvr(), m_pCurrentCursor, n, SwPosition::nContent, SwPosition::nNode, READONLY, SCROLLWIN, SwVectorModifyBase< Value >::size(), ToxContent, and UpdateCursor().
Referenced by SwWrtShell::GotoNextTOXBase().
bool SwCursorShell::GotoNxtPrvTableFormula | ( | bool | bNext = true , |
bool | bOnlyErrors = false |
||
) |
Jump to next/previous table formula Optionally it is possible to also jump to broken formulas.
Definition at line 386 of file crstrvl.cxx.
References CHKRANGE, SwPaM::DeleteMark(), SwNode::FindTableBoxStartNode(), SwNode::FindTableNode(), SwViewShell::GetAttrPool(), SwDoc::GetAttrPool(), SwNode::GetContentNode(), SwViewShell::GetDoc(), SwNode::GetIndex(), SfxItemPool::GetItemCount2(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), SwViewShell::GetNodes(), SwNode::GetNodes(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwTableBox::GetSttNd(), SwTableNode::GetTable(), SwNodes::GoNext(), SwNodes::IsDocNodes(), SwFrame::IsProtected(), IsReadOnlyAvailable(), SwCursor::IsSelOvr(), IsTableMode(), m_pCurrentCursor, SwPosition::nContent, SwPosition::nNode, Point, READONLY, RES_BOXATR_FORMULA(), SCROLLWIN, SetGetExpField::SetBodyPos(), SvxSearchDialogWrapper::SetSearchLabel(), and UpdateCursor().
Referenced by SwTextShell::ExecMoveMisc(), and IMPL_LINK().
bool SwCursorShell::GotoNxtPrvTOXMark | ( | bool | bNext = true | ) |
jump to next/previous index marker
Definition at line 505 of file crstrvl.cxx.
References CHKRANGE, SwViewShell::GetAttrPool(), SwDoc::GetAttrPool(), GetContentNode(), SwViewShell::GetDoc(), SwNodes::GetEndOfExtras(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SfxItemPool::GetItemCount2(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), SwViewShell::GetNodes(), SwNode::GetNodes(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwTextTOXMark::GetTextNode(), SwNodes::IsDocNodes(), SwFrame::IsProtected(), IsReadOnlyAvailable(), SwCursor::IsSelOvr(), IsTableMode(), m_pCurrentCursor, SwPosition::nContent, SwPosition::nNode, Point, READONLY, RES_TXTATR_TOXMARK(), SCROLLWIN, SetGetExpField::SetBodyPos(), SvxSearchDialogWrapper::SetSearchLabel(), and UpdateCursor().
Referenced by SwTextShell::ExecMoveMisc(), and IMPL_LINK().
bool SwCursorShell::GotoOutline | ( | const OUString & | rName | ) |
Definition at line 984 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 967 of file crstrvl.cxx.
References SwIndex::Assign(), CHKRANGE, SwViewShell::GetDoc(), SwDoc::GetNodes(), SwNodes::GetOutLineNds(), SwPaM::GetPoint(), getShellCursor(), SwCursor::IsSelOvr(), SwPosition::nContent, SwPosition::nNode, READONLY, SCROLLWIN, and UpdateCursor().
bool SwCursorShell::GotoPage | ( | sal_uInt16 | nPage | ) |
Definition at line 1191 of file crsrsh.cxx.
References ChangePos, CHKRANGE, READONLY, SCROLLWIN, and Toggle.
Referenced by SwWrtShell::GotoPage(), and SwFEShell::PastePages().
bool SwCursorShell::GotoPrevFootnoteAnchor | ( | ) |
Definition at line 338 of file trvlfnfl.cxx.
References CallCursorFN(), and SwCursor::GotoPrevFootnoteAnchor().
Referenced by SwTextShell::ExecMoveMisc(), IMPL_LINK(), and SwInsFootNoteDlg::Init().
void SwCursorShell::GotoPrevNum | ( | ) |
Definition at line 120 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 1069 of file crstrvl.cxx.
References SwIndex::Assign(), CHKRANGE, o3tl::sorted_vector< Value, Compare, Find, class >::empty(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), SwPaM::GetNode(), SwDoc::GetNodes(), SwNodes::GetOutLineNds(), SwPaM::GetPoint(), getShellCursor(), SwNode::GetTextNode(), sw::IsParaPropsNode(), SwCursor::IsSelOvr(), SwPosition::nContent, SwPosition::nNode, nPos, READONLY, SCROLLWIN, SwOutlineNodes::Seek_Entry(), SvxSearchDialogWrapper::SetSearchLabel(), o3tl::sorted_vector< Value, Compare, Find, class >::size(), UpdateCursor(), and void().
Referenced by IMPL_LINK().
bool SwCursorShell::GotoPrevTOXBase | ( | const OUString * | pName = nullptr | ) |
jump to previous index
Definition at line 315 of file crstrvl.cxx.
References SwIndex::Assign(), CHKRANGE, SwNode::EndOfSectionIndex(), SwNode::GetContentNode(), SwViewShell::GetDoc(), SwSection::GetFormat(), SwNode::GetIndex(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwSectionFormat::GetSectionNode(), SwDoc::GetSections(), SwSection::GetType(), SwNodes::GoNext(), IsReadOnlyAvailable(), SwCursor::IsSelOvr(), m_pCurrentCursor, n, SwPosition::nContent, SwPosition::nNode, 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 2312 of file crstrvl.cxx.
References ComparePosition(), CreateCursor(), SwPaM::End(), 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::Start().
Referenced by SwWrtShell::GotoRedline().
|
private |
Definition at line 2239 of file crstrvl.cxx.
References SwIndex::Assign(), CHKRANGE, SwPaM::DeleteMark(), End, SwPaM::End(), SwNode::GetContentNode(), SwViewShell::GetDoc(), SwDoc::getIDocumentRedlineAccess(), SwPaM::GetMark(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), IDocumentRedlineAccess::GetRedlineTable(), SwRangeRedline::GetType(), SwNodes::GoNextSection(), SwNodes::GoPrevSection(), SwNode::IsContentNode(), SwCursor::IsInProtectTable(), IsReadOnlyAvailable(), SwCursor::IsSelOvr(), SwContentNode::Len(), m_pCurrentCursor, SwPosition::nContent, SwPosition::nNode, READONLY, SwCursor::RestoreSavePos(), SCROLLWIN, 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 1221 of file crstrvl.cxx.
References SwIndex::Assign(), CHKRANGE, SwGetRefFieldType::FindAnchor(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), SwNode::GetNodes(), SwPaM::GetPoint(), SwNodes::IsDocNodes(), SwCursor::IsSelOvr(), m_pCurrentCursor, SwPosition::nContent, SwPosition::nNode, 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 794 of file trvltbl.cxx.
References CHKRANGE, SwShellCursor::GetPtPos(), SwCursor::GotoTable(), m_pCurrentCursor, m_pTableCursor, Point, READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwWrtShell::GotoTable().
const SwTOXMark & SwCursorShell::GotoTOXMark | ( | const SwTOXMark & | rStart, |
SwTOXSearch | eDir | ||
) |
traveling between marks
Definition at line 602 of file crstrvl.cxx.
References SwIndex::Assign(), CHKRANGE, SwNode::GetContentNode(), GetCursor(), SwViewShell::GetDoc(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SwTextAttr::GetStart(), SwTextTOXMark::GetTextNode(), SwTOXMark::GetTextTOXMark(), SwDoc::GotoTOXMark(), IsReadOnlyAvailable(), SwCursor::IsSelOvr(), m_pCurrentCursor, SwPosition::nContent, SwPosition::nNode, 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 367 of file crstrvl.cxx.
References assert(), CHKRANGE, SwTOXType::FindContentFrame(), SwDoc::GetCurTOXMark(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), SwPaM::GetPoint(), SwCursor::IsInProtectTable(), IsReadOnlyAvailable(), SwCursor::IsSelOvr(), m_pCurrentCursor, READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwTextShell::ExecIdx().
|
inline |
Definition at line 877 of file crsrsh.hxx.
References SwPaM::HasMark(), and m_pCurrentCursor.
Referenced by SwFEShell::ChgCurPageDesc(), SwBaseShell::Execute(), SwWrtShell::ExtSelLn(), SwWrtShell::ExtSelWrd(), SwTransferable::GetData(), SwEditWin::KeyInput(), SwLangHelper::SelectCurrentPara(), SwEditWin::SetCursorTwipPosition(), SwTransferable::SetDataForDragAndDrop(), SwTextShell::StateInsert(), and SwWrtShell::SttSelect().
bool SwCursorShell::HasReadonlySel | ( | ) | const |
Definition at line 3349 of file crsrsh.cxx.
References SwViewShell::GetDoc(), sw::Ring< value_type >::GetRingContainer(), SwViewShell::GetViewOptions(), SwTableCursor::HasReadOnlyBoxSel(), SwPaM::HasReadonlySel(), SwViewOption::IsIgnoreProtectedArea(), IsReadOnlyAvailable(), m_pCurrentCursor, m_pTableCursor, and PROTECT_FORM.
Referenced by SwFieldDlg::Activate(), SwAuthorMarkPane::Activate(), SwEditWin::Command(), SwTbxAutoTextCtrl::CreatePopupWindow(), SwEditShell::Delete(), SwEditShell::DelFullPara(), SwFieldEditDlg::EnableInsert(), SwFieldDlg::EnableInsert(), SwTextShell::ExecCharAttr(), SwTextShell::Execute(), SwTextShell::GetIdxState(), SwTextShell::GetState(), SwBaseShell::GetState(), SwFieldEditDlg::Init(), SwIndexMarkPane::InsertUpdate(), SwEditWin::KeyInput(), SwIndexMarkPane::ModifyHdl(), SwEditWin::MouseButtonUp(), SwFieldDlg::ReInitDlg(), SwEditShell::Replace(), SwTransferable::StartDrag(), SwTextShell::StateField(), SwView::StateStatusLine(), SwGlossaryDlg::SwGlossaryDlg(), and SwIndexMarkPane::UpdateDialog().
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 2519 of file crsrsh.cxx.
References SwPaM::End(), SwPaM::GetMark(), SwPaM::GetPoint(), SwPaM::HasMark(), IsFlySelectedByCursor(), and SwPaM::Start().
Referenced by SwWrtShell::AddLeaveSelect(), SwWrtShell::EnterAddMode(), GetShadowCursorPos(), SwWrtShell::HasSelection(), SwEditShell::IsNoNum(), SwEditShell::NumOrNoNum(), SwEditShell::SetAttrItem(), SwEditShell::SetAttrSet(), SwWrtShell::SetPageStyle(), SetShadowCursorPos(), and SwWrtShell::SttLeaveSelect().
|
inline |
Definition at line 448 of file crsrsh.hxx.
Referenced by SwFEShell::Copy().
void SwCursorShell::HideCursor | ( | ) |
Definition at line 2409 of file crsrsh.cxx.
References comphelper::LibreOfficeKit::isActive(), and SfxLokHelper::notifyOtherViews().
Referenced by SwEditWin::DeleteSurroundingText(), SwTransferable::DragFinished(), SwWrtShell::EnterSelFrameMode(), SwTextShell::ExecMoveMisc(), SwBaseShell::Execute(), SwEditWin::GetSurroundingText(), SwEditWin::GetSurroundingTextSelection(), SwContentTree::GotoContent(), SwWrtShell::GotoDrawingObject(), IMPL_LINK(), SwEditWin::KeyInput(), SwEditWin::MouseButtonDown(), SwWrtShell::PopCursor(), SwTransferable::PrivateDrop(), SwXTextView::select(), SwEditWin::SelectMenuPosition(), and SwTransferable::SetSelInShell().
void SwCursorShell::HideCursors | ( | ) |
Definition at line 2362 of file crsrsh.cxx.
References SwShellCursor::Hide().
|
inline |
Definition at line 760 of file crsrsh.hxx.
Referenced by SwNavigationPI::dispose().
|
inline |
Definition at line 745 of file crsrsh.hxx.
Referenced by SwXTextViewCursor::isAtStartOfLine().
|
private |
Definition at line 571 of file crsrsh.cxx.
References SwCursor::IsAtLeftRightMargin().
|
inline |
Definition at line 746 of file crsrsh.hxx.
Referenced by SwXTextViewCursor::isAtEndOfLine().
|
inline |
Definition at line 805 of file crsrsh.hxx.
Referenced by CheckTableBoxContent(), SwInsertDBColAutoPilot::DataToDoc(), and SaveTableBoxContent().
|
inline |
Definition at line 640 of file crsrsh.hxx.
Referenced by SwEditShell::Copy().
bool SwCursorShell::IsCursorInFootnote | ( | ) | const |
Definition at line 1154 of file crsrsh.cxx.
References SwFootnoteStartNode.
Referenced by SwTextShell::GetState(), and SwTextShell::StateField().
|
inline |
Definition at line 889 of file crsrsh.hxx.
References SwNode::FindTableNode(), SwPaM::GetNode(), and m_pCurrentCursor.
Referenced by SwFEShell::CanUnProtectCells(), SwWrtShell::DelLeft(), SwWrtShell::DelRight(), AutoFormatPreview::DetectRTL(), SwTextShell::Execute(), SwBaseShell::Execute(), SwView::ExecuteStatusLine(), GetBoxNms(), GetCurField(), SwFEShell::GetTableAutoFormat(), SwEditShell::GetTableChgMode(), SwEditShell::GetTableFormat(), SwWrtShell::GoEnd(), GoNextCell(), GoPrevCell(), SwWrtShell::GoStart(), SwFEShell::HasBoxSelection(), SwFEShell::HasWholeTabSelection(), SwTableFUNC::InsertChart(), SwModule::InsertEnv(), InsertTableImpl(), lcl_GetSelTable(), 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 894 of file crsrsh.hxx.
References SwPaM::End(), SwPaM::GetPoint(), and m_pCurrentCursor.
Referenced by SwWrtShell::BeginDrag(), SwTextShell::ExecField(), SwBaseShell::Execute(), SwWrtShell::ExtSelLn(), IMPL_LINK(), SwTextShell::InsertSymbol(), SwWrtShell::IntelligentCut(), SwNavigationPI::MoveOutline(), SwWrtShell::SelAll(), and SwTextShell::StateInsert().
bool SwCursorShell::IsCursorReadonly | ( | ) | const |
Definition at line 3296 of file crsrsh.cxx.
References CursorInsideInputField(), SwFrame::FindFlyFrame(), SwFrame::FindSctFrame(), GetCurrFrame(), SwViewShell::GetDrawView(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), 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(), and SwEditWin::UpdatePointer().
|
inline |
Definition at line 520 of file crsrsh.hxx.
References SwRect::IsOver(), and SwViewShell::VisArea().
Referenced by SwContentTree::GotoContent(), SwWrtShell::PushCursor(), and SwView::StateStatusLine().
bool SwCursorShell::IsEndOfDoc | ( | ) | const |
Definition at line 2763 of file crsrsh.cxx.
References SwNode::GetContentNode(), SwNodeIndex::GetNode(), SwNodes::GoPrevious(), and SwContentNode::Len().
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 1136 of file crsrsh.cxx.
References SwNode::EndOfSectionNode(), and SAL_WARN_IF.
Referenced by SwWrtShell::DelToEndOfSentence().
bool SwCursorShell::IsEndPara | ( | ) | const |
Definition at line 1117 of file crsrsh.cxx.
References SwTextFrame::GetText(), and SwTextFrame::MapModelToViewPos().
Referenced by SwFormatClipboard::Copy(), SwInsertDBColAutoPilot::DataToDoc(), SwWrtShell::DelNxtWord(), SwWrtShell::DelRight(), SwWrtShell::DelToEndOfSentence(), SwTextShell::ExecCharAttr(), SwWrtShell::ExtSelLn(), SwWrtShell::FwdSentence_(), SwEditWinUIObject::get_state(), SwMailMergeLayoutPage::InsertGreeting(), SwWrtShell::IsEndOfPara(), SwEditWin::KeyInput(), SwWrtShell::NxtWrd_(), SwWrtShell::NxtWrdForDelete(), SwWrtShell::PrvWrd_(), and SwLangHelper::SelectCurrentPara().
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(), and SwTextShell::GetState().
bool SwCursorShell::IsFormProtected | ( | ) |
Definition at line 278 of file crbm.cxx.
References PROTECT_FORM.
Referenced by SwEditWin::KeyInput(), and SwWrtShell::SwWrtShell().
|
inline |
Definition at line 755 of file crsrsh.hxx.
Referenced by SwEditWin::MouseButtonDown(), SwWrtShell::MoveCursor(), and SwEditWin::SelectMenuPosition().
bool SwCursorShell::IsInFrontOfLabel | ( | ) | const |
Definition at line 1160 of file crsrsh.cxx.
Referenced by SwEditWin::KeyInput(), and SwEditShell::NumUpDown().
bool SwCursorShell::IsInHeaderFooter | ( | bool * | pbInHeader = nullptr | ) | const |
Definition at line 755 of file crsrsh.cxx.
References SwFrame::IsHeaderFrame(), lcl_IsInHeaderFooter(), and Point.
Referenced by SwTextShell::ExecMoveMisc().
|
private |
Definition at line 663 of file crsrsh.cxx.
References SwPaM::GetContentNode(), SwContentNode::getLayoutFrame(), SwPaM::GetPoint(), and SwShellCursor::GetPtPos().
bool SwCursorShell::IsInRightToLeftText | ( | ) | const |
Definition at line 3420 of file crsrsh.cxx.
References GetTextDirection().
Referenced by SwAutoFormat::BuildEnum(), SwFormatClipboard::Copy(), SwTextShell::ExecEnterNum(), SwTextShell::GetAttrState(), SwEditWin::KeyInput(), and SwView::StateTabWin().
bool SwCursorShell::IsInVerticalText | ( | const Point * | pPt = nullptr | ) | const |
Definition at line 3413 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 837 of file crsrsh.hxx.
Referenced by SwWrtShell::ExecMacro(), and SwCursorShell().
|
inline |
Definition at line 884 of file crsrsh.hxx.
References SwShellCursor::GetNext(), and m_pCurrentCursor.
Referenced by SwEditWin::Command(), SwTextShell::ExecField(), SwTextShell::Execute(), GetCursorDescr(), 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 2723 of file crsrsh.cxx.
References SwPaM::HasReadonlySel(), and Point.
Referenced by SwEditWin::GetDropDestination(), and SwEditWin::UpdatePointer().
|
inline |
Definition at line 459 of file crsrsh.hxx.
Referenced by SwEditShell::CreateExtTextInput(), and SwVisibleCursor::SetPosAndShow().
bool SwCursorShell::IsPageAtPos | ( | const Point & | rPt | ) | const |
Definition at line 1245 of file crstrvl.cxx.
References SwViewShell::GetLayout(), and SwRootFrame::GetPageAtPos().
Referenced by SwEditWin::UpdatePointer().
|
inline |
Definition at line 474 of file crsrsh.hxx.
Referenced by SwFieldDlg::Activate(), SwFieldEditDlg::EnableInsert(), SwFieldDlg::EnableInsert(), SwContentTree::ExecuteContextMenuAction(), FindValidContentNode(), GetContentAtPos(), GetTextDirection(), GotoNextTOXBase(), GotoNxtPrvTableFormula(), GotoNxtPrvTOXMark(), GotoPrevTOXBase(), GotoRedline_(), GotoTOXMark(), GotoTOXMarkBase(), HasReadonlySel(), SwFieldEditDlg::Init(), SwShellCursor::IsReadOnlyAvailable(), SwEditWin::KeyInput(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), MoveFieldType(), SwFieldDlg::ReInitDlg(), SelTableRowOrCol(), and SwTextShell::StateField().
|
inline |
Definition at line 879 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(), SwEditShell::GetSelectedText(), SwTextShell::GetState(), SwWrtShell::GotoField(), SwWrtShell::GotoFieldmark(), SwBaseShell::InsertTable(), SwEditWin::MouseButtonUp(), SwWrtShell::MoveBookMark(), SwWrtShell::Pop(), SwTransferable::PrepareForCopy(), SwWrtShell::SelAll(), SwWrtShell::SelectNextPrevHyperlink(), SwTransferable::SetDataForDragAndDrop(), and SwVisibleCursor::SetPosAndShow().
bool SwCursorShell::IsSelFullPara | ( | ) | const |
Definition at line 3377 of file crsrsh.cxx.
References SwPaM::GetContentNode(), SwIndex::GetIndex(), SwNodeIndex::GetIndex(), SwPaM::GetMark(), SwPaM::GetPoint(), SwPaM::IsMultiSelection(), SwContentNode::Len(), m_pCurrentCursor, SwPosition::nContent, and SwPosition::nNode.
Referenced by SwTextShell::ExecCharAttrArgs(), SwBaseShell::ExecTextCtrl(), SwEditShell::GetSelectedText(), and sw_CharDialogResult().
bool SwCursorShell::IsSelOnePara | ( | ) | const |
Definition at line 1079 of file crsrsh.cxx.
References sw::FrameContainsNode(), and n.
Referenced by SwEditShell::GetSelectedText(), SwTextShell::GetState(), and SwEditWin::GetSurroundingText().
|
inline |
Definition at line 800 of file crsrsh.hxx.
Referenced by CheckTableBoxContent(), SwWrtShell::DefaultDrag(), SwWrtShell::DefaultEndDrag(), SaveTableBoxContent(), and SwWrtShell::SttLeaveSelect().
bool SwCursorShell::IsStartOfDoc | ( | ) | const |
Definition at line 2751 of file crsrsh.cxx.
References SwNodeIndex::GetNode(), and SwNode::IsContentNode().
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 1098 of file crsrsh.cxx.
References SwTextFrame::MapModelToViewPos().
Referenced by SwWrtShell::BwdSentence_(), SwInsertDBColAutoPilot::DataToDoc(), SwWrtShell::DelLeft(), SwWrtShell::DelPrvWord(), SwWrtShell::DelRight(), SwEditWinUIObject::get_state(), 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 726 of file trvltbl.cxx.
References EndAction(), SwNode::FindTableNode(), GetBoxNms(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SwTableNode::GetTable(), SwTable::IsTableComplexForChart(), m_pCurrentCursor, m_pTableCursor, SwPosition::nNode, and StartAction().
Referenced by SwBaseShell::Execute(), SwTableShell::GetState(), and SwInsertChart::SwInsertChart().
|
inline |
Definition at line 643 of file crsrsh.hxx.
Referenced by SwWrtShell::AddLeaveSelect(), SwSortDlg::Apply(), SwFEShell::CanUnProtectCells(), SwEditWin::changeMousePointer(), SwFEShell::CheckHeadline(), CheckSplitCells(), SwFEShell::Copy(), SwEditShell::CopySelToDoc(), SwEditShell::DeleteGlobalDocContent(), SwEditShell::DelFullPara(), SwTransferable::DragFinished(), SwWrtShell::EnterAddMode(), SwTextShell::ExecCharAttrArgs(), SwTextShell::ExecDelete(), SwBaseShell::ExecDlg(), SwView::ExecSpellPopup(), SwTableShell::Execute(), SwBaseShell::Execute(), SwWrtShell::ExtSelLn(), SwWrtShell::ExtSelWrd(), SwViewShell::FillPrtDoc(), GetAutoSumSel(), SwBaseShell::GetBorderState(), GetBoxNms(), SwEditShell::GetCntType(), GetContentAtPos(), SwEditShell::GetCorrection(), SwEditShell::GetCurrSection(), SwAccessibleFrameBase::GetCursor(), SwAccessibleParagraph::GetCursor(), SwEditShell::GetGrammarCorrection(), GetPostItFieldAtCursor(), SwFEShell::GetRowSelectionFromTop(), SwAccessibleTable::GetSelBoxes(), GetShadowCursorPos(), SwTableShell::GetState(), SwTextShell::GetState(), SwBaseShell::GetState(), SwFEShell::GetTableAutoFormat(), SwEditShell::GetTableBoxFormulaAttrs(), SwEditShell::GetTableBoxText(), GetTableSel(), GetTableSelCrs(), GoNextCell(), GoPrevCell(), SwEditShell::GotoGlobalDocContent(), GotoNxtPrvTableFormula(), GotoNxtPrvTOXMark(), GotoRedline(), SwFEShell::HasBoxSelection(), SwFEShell::HasWholeTabSelection(), SwWrtShell::Insert(), SwEditShell::InsertGlobalDocContent(), SwWrtShell::InsertPostIt(), SwEditShell::InsertSection(), SwBaseShell::InsertTable(), SwEditShell::IsInsRegionAvailable(), IsSelection(), SwEditShell::IsTableBoxTextFormat(), ItemSetToTableParam(), SwEditWin::KeyInput(), lcl_notifyRow(), lcl_TableParamToItemSet(), SwFEShell::MergeTab(), SwEditWin::MouseButtonDown(), SwEditShell::MoveGlobalDocContent(), SwFEShell::NewFlyFrame(), PaMCorrAbs(), PaMCorrRel(), SwFEShell::Paste(), SwTransferable::PasteData(), PrepareBoxInfo(), SwTransferable::PrivateDrop(), SwFEShell::ProtectCells(), SwWrtShell::SelAll(), SelectTextAttr(), SelNextRedline(), SelPrevRedline(), SwFEShell::SelTableRowCol(), SwEditShell::SetAttrItem(), SwEditShell::SetAttrSet(), SetShadowCursorPos(), SwEditShell::SetTableBoxFormulaAttrs(), ShouldWait(), SwTextShell::StateInsert(), SwCallLink::SwCallLink(), SwInsertChart::SwInsertChart(), SwEditShell::TableToText(), SwDoc::TableToText(), SwFEShell::UnProtectCells(), SwFEShell::UpdateTableStyleFormatting(), SwWriter::Write(), and SwCallLink::~SwCallLink().
void SwCursorShell::KillPams | ( | ) |
Definition at line 1025 of file crsrsh.cxx.
References SwPaM::DeleteMark(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), and SCROLLWIN.
Referenced by SwEditShell::ApplyAutoMark(), SwOneExampleFrame::ClearDocument(), SwFormatClipboard::Copy(), SwFEShell::DeleteRow(), SwDoc::DeleteRow(), SwWrtShell::EnterExtMode(), SwWrtShell::EnterStdMode(), SwContentTree::ExecuteContextMenuAction(), SwWrtShell::Insert(), 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(), and SwEditShell::Undo().
|
inline |
Definition at line 349 of file crsrsh.hxx.
Referenced by SwWrtShell::BwdSentence_(), SwWrtShell::DelLeft(), SwWrtShell::InsertPostIt(), SwWrtShell::IntelligentCut(), SwWrtShell::Left(), SwWrtShell::PrvWrd_(), and SwWrtShell::PrvWrdForDelete().
|
inline |
Definition at line 355 of file crsrsh.hxx.
Referenced by SwWrtShell::DelLine(), SwWrtShell::DelToStartOfLine(), GetSmartTagRect(), SwEditShell::HandleCorrectionError(), and SwWrtShell::LeftMargin().
|
private |
Definition at line 327 of file crsrsh.cxx.
References SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), sw::GetParaPropsNode(), SwPaM::GetPoint(), SwNode::GetTextNode(), SwPaM::HasMark(), SwTextNode::HasVisibleNumberingOrBullet(), SwPaM::IsInFrontOfLabel(), SwNode::IsTextNode(), SwCursor::LeftRight(), and SwPosition::nNode.
|
private |
Definition at line 536 of file crsrsh.cxx.
References assert(), sw::GetParaPropsNode(), SwNode::GetTextNode(), SwTextNode::HasVisibleNumberingOrBullet(), LeftMargin, and SwCursor::LeftRightMargin().
|
inlineprotected |
Definition at line 862 of file crsrsh.hxx.
References m_pCurrentCursor, and SwCursor::MakeFindRange().
Referenced by SwEditShell::SetLinguRange().
bool SwCursorShell::MakeOutlineSel | ( | SwOutlineNodes::size_type | nSttPos, |
SwOutlineNodes::size_type | nEndPos, | ||
bool | bWithChildren, | ||
bool | bKillPams = true |
||
) |
Definition at line 1163 of file crstrvl.cxx.
References SwIndex::Assign(), CHKRANGE, o3tl::sorted_vector< Value, Compare, Find, class >::empty(), fnMoveBackward, SwTextNode::GetAttrOutlineLevel(), SwNode::GetContentNode(), SwViewShell::GetDoc(), SwNodes::GetEndOfContent(), SwDoc::GetNodes(), SwNodes::GetOutLineNds(), SwPaM::GetPoint(), SwNode::GetTextNode(), GoInNode(), SwCursor::IsSelOvr(), KillPams(), m_pCurrentCursor, SwPaM::Move(), SwPosition::nContent, SwPosition::nNode, READONLY, SCROLLWIN, SwShellCursor::SetMark(), o3tl::sorted_vector< Value, Compare, Find, class >::size(), and UpdateCursor().
Referenced by SwContentTree::DeleteOutlineSelections(), SwContentTree::ExecCommand(), SwContentTree::ExecuteContextMenuAction(), lcl_OutlineUpDownWithSubPoints(), and SwNavigationPI::MoveOutline().
|
virtual |
show the current selected "object"
Reimplemented in SwFEShell.
Definition at line 3078 of file crsrsh.cxx.
References SwRect::AddHeight(), SwRect::AddWidth(), SwRect::HasArea(), SwRect::Height(), m_aCharRect, m_aCursorHeight, m_bHasFocus, SwViewShell::MakeVisible(), SwRect::Top(), and SwViewShell::VisArea().
Referenced by SwFEShell::MakeSelVisible(), and SelectNxtPrvHyperlink().
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 392 of file crsrsh.cxx.
void SwCursorShell::MoveColumn | ( | SwWhichColumn | fnWhichCol, |
SwPosColumn | fnPosCol | ||
) |
Definition at line 66 of file trvlcol.cxx.
References SwFrame::Calc(), GetColumnEnd(), GetCurrFrame(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwFrame::GetModelPositionForViewPoint(), SwViewShell::GetOut(), SwPaM::GetPoint(), SwFrame::GetUpper(), SwRect::Height(), SwCursor::IsInProtectTable(), SwCursor::IsSelOvr(), m_pCurrentCursor, m_pTableCursor, Point, SwRect::Pos(), UpdateCursor(), and SwRect::Width().
Referenced by SwWrtShell::EndOfColumn(), SwWrtShell::EndOfNextColumn(), SwWrtShell::EndOfPrevColumn(), SwWrtShell::StartOfColumn(), SwWrtShell::StartOfNextColumn(), and SwWrtShell::StartOfPrevColumn().
|
private |
Definition at line 77 of file crstrvl.cxx.
References SwViewShell::ActionPend(), SwFrame::Calc(), SwRect::Center(), ChangePos, CHKRANGE, SwFrame::GetCharRect(), SwPaM::GetContentNode(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwFrame::GetModelPositionForViewPoint(), SwViewShell::GetOut(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), GetUpDownX(), SwCursor::IsSelOvr(), SwFrame::IsVertical(), SwRect::Left(), m_aCharRect, m_pCurrentCursor, Point, READONLY, SCROLLWIN, Toggle, SwRect::Top(), UpdateCursor(), and UPDOWN.
Referenced by GotoNextNum(), and GotoPrevNum().
bool SwCursorShell::MoveFieldType | ( | const SwFieldType * | pFieldType, |
const bool | bNext, | ||
const SwFieldIds | nResType = SwFieldIds::Unknown , |
||
const bool | bAddSetExpressionFieldsToInputFields = true |
||
) |
Definition at line 691 of file crstrvl.cxx.
References o3tl::sorted_vector< Value, Compare, Find, class >::begin(), CheckNodeSection, CHKRANGE, DateTime, o3tl::sorted_vector< Value, Compare, Find, class >::empty(), o3tl::sorted_vector< Value, Compare, Find, class >::end(), SwTextAttr::GetAttr(), SwTextNode::GetFieldTextAttrAt(), SwIndex::GetIndex(), SwViewShell::GetLayout(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SetGetExpField::GetPosOfContent(), getShellCursor(), SwTextAttr::GetStart(), SwNode::GetTextNode(), SwModify::HasWriterListeners(), i, Input, IsReadOnlyAvailable(), SwCursor::IsSelOvr(), lcl_FindField(), lcl_MakeFieldLst(), m_pCurrentCursor, SwViewShell::mxDoc, SwPosition::nContent, SwPosition::nNode, READONLY, RES_TXTATR_INPUTFIELD(), SCROLLWIN, SetExp, Toggle, UpdateCursor(), SwTextAttr::Which(), and SwFieldType::Which().
Referenced by SwTextShell::ExecField(), SwBaseShell::Execute(), SwFieldMgr::GoNextPrev(), IMPL_LINK(), and SwEditWin::KeyInput().
bool SwCursorShell::MovePage | ( | SwWhichPage | fnWhichPage, |
SwPosPage | fnPosPage | ||
) |
Definition at line 637 of file crsrsh.cxx.
References ChangePos, GetFrameInPage(), Point, and Toggle.
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 699 of file crsrsh.cxx.
References IsAtStartOrEndOfFrame(), and SwCursor::MovePara().
Referenced by SwWrtShell::BwdPara_(), SwWrtShell::BwdSentence_(), SwHTMLParser::Continue(), SwWrtShell::DelToEndOfPara(), SwWrtShell::DelToEndOfSentence(), SwWrtShell::DelToStartOfPara(), SwWrtShell::EndPara(), SwWrtShell::EndWrd(), SwWrtShell::FwdPara_(), SwWrtShell::FwdSentence_(), SwMailMergeLayoutPage::InsertGreeting(), SwWrtShell::NxtWrd_(), SwWrtShell::NxtWrdForDelete(), SwWrtShell::PrvWrd_(), SwWrtShell::PrvWrdForDelete(), SwLangHelper::SelectCurrentPara(), SwWrtShell::SelPara(), SwWrtShell::SttPara(), and SwWrtShell::SttWrd().
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 723 of file crsrsh.cxx.
References SwCursor::MoveSection().
Referenced by SwInputWindow::DelBoxContent(), SwWrtShell::GoEnd(), SwWrtShell::GoStart(), SwEditWin::KeyInput(), SwWrtShell::SelAll(), and SwInputWindow::ShowWin().
bool SwCursorShell::MoveTable | ( | SwWhichTable | fnWhichTable, |
SwMoveFnCollection const & | fnPosTable | ||
) |
Definition at line 682 of file trvltbl.cxx.
References CHKRANGE, SwPaM::DeleteMark(), SwIndex::GetIndex(), SwNodeIndex::GetIndex(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), SwPaM::HasMark(), m_pCurrentCursor, m_pTableCursor, SwCursor::MoveTable(), SwPosition::nContent, SwPosition::nNode, Point, READONLY, SCROLLWIN, SwShellTableCursor::SetMark(), and UpdateCursor().
Referenced by SwInsertDBColAutoPilot::DataToDoc(), SwAccessibleTable::deselectAccessibleChild(), SwTextShell::ExecMoveMisc(), SwTableShell::Execute(), SwWrtShell::GoEnd(), SwWrtShell::GoStart(), IMPL_LINK(), SwTableFUNC::InsertChart(), InsertTableImpl(), SwUndoInsTable::RedoImpl(), SwAccessibleTable::selectAccessibleChild(), and SwInsertDBColAutoPilot::SetTabSet().
void SwCursorShell::NormalizePam | ( | bool | bPointFirst = true | ) |
Ensure point and mark of the current PaM are in a specific order.
bPointFirst | true: If the point is behind the mark then swap the PaM. false: If the mark is behind the point then swap the PaM. |
Definition at line 973 of file crsrsh.cxx.
Referenced by SwWrtShell::ClickToField(), SwWrtShell::DelLeft(), SwWrtShell::DelRight(), SwFieldEditDlg::EnsureSelection(), SwEditWin::FlushInBuffer(), SwWrtShell::Insert(), SelNextRedline(), and SelPrevRedline().
void SwCursorShell::NotifyCursor | ( | SfxViewShell * | pViewShell | ) | const |
Definition at line 1322 of file crsrsh.cxx.
References EditView::DrawSelectionXOR(), SfxLokHelper::notifyOtherView(), EditView::RegisterOtherShell(), and EditView::ShowCursor().
|
overridevirtual |
Reimplemented from SwViewShell.
Definition at line 1411 of file crsrsh.cxx.
References SwShellCursor::Invalidate(), SwRect::IsOver(), SwViewShell::Paint(), and SwShellCursor::Show().
Referenced by SwEditWin::Paint().
void SwCursorShell::ParkCursor | ( | const SwNodeIndex & | rIdx | ) |
Remove selections and additional cursors of all shells.
The remaining cursor of the shell is parked.
rIdx | ??? |
Definition at line 2873 of file crsrsh.cxx.
References SwIndex::Assign(), SwPaM::DeleteMark(), SwNode::EndOfSectionNode(), SwNode::FindTableNode(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SwNode::GetStartNode(), SwNode::IsTableNode(), SwPosition::nContent, SwPosition::nNode, and SwNode::StartOfSectionNode().
Referenced by SwDoc::DeleteCol(), SwFEShell::DeleteTableSel(), lcl_DelHFFormat(), and SwFEShell::NewFlyFrame().
|
private |
Definition at line 2798 of file crsrsh.cxx.
References SwIndex::Assign(), SwPaM::DeleteMark(), SwPaM::GetMark(), SwPaM::GetNext(), SwPaM::GetPoint(), SwPosition::nContent, SwPosition::nNode, and SwPaM::Start().
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 2781 of file crsrsh.cxx.
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 2263 of file crsrsh.cxx.
References ChangePos, SwShellCursor::GetNext(), Point, and Toggle.
Referenced by SwEditShell::ApplyAutoMark(), SwEditShell::ApplyChangedSentence(), SwEditShell::AutoFormatBySplitNode(), SwTextNode::Convert(), SwWrtShell::DelLeft(), SwWrtShell::DelRight(), SwWrtShell::ExtSelWrd(), SwEditShell::FieldToText(), GetSmartTagRect(), SwEditShell::HandleCorrectionError(), SwFEShell::PastePages(), SwWrtShell::Pop(), SwInputFieldList::PopCursor(), SwEditShell::Redo(), SwAutoFormat::SwAutoFormat(), SwEditShell::Undo(), and SwWriter::Write().
|
static |
Definition at line 935 of file crstrvl.cxx.
References GetTextFieldAtPos().
Referenced by DocPtInsideInputField(), SwFEShell::FindAnchorPos(), and lcl_FindAnchorPos().
void SwCursorShell::Push | ( | ) |
store a copy of the current cursor on the cursor stack
create a copy of the cursor and save it in the stack
Definition at line 2241 of file crsrsh.cxx.
References SwPaM::GetMark(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), SwPaM::HasMark(), and SwShellCursor::SetMark().
Referenced by SwMailMergeLayoutPage::Activate(), SwEditShell::ApplyAutoMark(), SwEditShell::ApplyChangedSentence(), SwEditShell::AutoFormatBySplitNode(), SwWrtShell::BwdPara_(), SwWrtShell::BwdSentence_(), SwTextNode::Convert(), SwDocShell::ConvertTo(), SwFormatClipboard::Copy(), SwInputWindow::DelBoxContent(), SwWrtShell::DelLeft(), SwWrtShell::DelLine(), SwWrtShell::DelRight(), SwWrtShell::DelToEndOfPara(), SwWrtShell::DelToEndOfSentence(), SwWrtShell::DelToStartOfPara(), SwWrtShell::EndWrd(), SwContentTree::ExecCommand(), SwTextShell::ExecField(), SwView::ExecTabWin(), SwPageBreakWin::execute(), SwTextShell::Execute(), SwWrtShell::ExtSelWrd(), SwEditShell::FieldToText(), SwEditWin::FlushInBuffer(), SwWrtShell::FwdPara_(), SwWrtShell::FwdSentence_(), GetSmartTagRect(), SwEditShell::HandleCorrectionError(), IMPL_LINK(), SwFieldMgr::InsertField(), SwMailMergeLayoutPage::InsertGreeting(), SwModule::InsertLab(), SwWrtShell::InsertPostIt(), SwWrtShell::IntelligentCut(), ItemSetToTableParam(), SwEditWin::KeyInput(), lcl_OutlineUpDownWithSubPoints(), lcl_SelectSameStrings(), lcl_SetAllTextToDefaultLanguage(), lcl_TableParamToItemSet(), SwWrtShell::NxtWrd_(), SwWrtShell::NxtWrdForDelete(), SwFEShell::PastePages(), SwTransferable::PrivateDrop(), SwWrtShell::PrvWrd_(), SwWrtShell::PrvWrdForDelete(), SwInputFieldList::PushCursor(), SwEditShell::Redo(), SwWrtShell::SelAll(), SwLangHelper::SetLanguageStatus(), SwInputWindow::ShowWin(), SwTextShell::StateInsert(), SwWrtShell::SttWrd(), sw_CharDialog(), SwAutoFormat::SwAutoFormat(), SwEditShell::Undo(), SwGrfShell::SwExternalToolEdit::Update(), SwWriter::Write(), and SwHandleAnchorNodeChg::~SwHandleAnchorNodeChg().
|
protected |
Definition at line 2127 of file crsrsh.cxx.
References assert(), SwPaM::DeleteMark(), SwPaM::GetContentNode(), SwSelectionList::getEnd(), SwFrameAreaDefinition::getFrameArea(), SwContentNode::getLayoutFrame(), SwShellCursor::GetMkPos(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), SwSelectionList::getStart(), SwFrame::IsVertical(), SwRect::Justify(), SwRect::Left(), Point, and SwRect::Top().
|
inline |
Definition at line 351 of file crsrsh.hxx.
Referenced by SwWrtShell::DelLeft(), SwWrtShell::DelRight(), SwWrtShell::DelToEndOfSentence(), SwWrtShell::ExtSelLn(), SwWrtShell::FwdSentence_(), IMPL_LINK(), SwWrtShell::IntelligentCut(), SwWrtShell::NxtWrd_(), SwWrtShell::NxtWrdForDelete(), and SwWrtShell::Right().
|
inline |
Definition at line 356 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 870 of file trvltbl.cxx.
References CheckTableBoxContent(), SwNode::FindSttNodeByType(), SwNode::FindTableNode(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SwTableNode::GetTable(), SwTable::GetTableBox(), IsAutoUpdateCells(), IsSelTableCells(), m_pBoxIdx, m_pBoxPtr, m_pCurrentCursor, SwPosition::nNode, and SwTableBoxStartNode.
Referenced by SwEditShell::AutoCorrect(), SwEditShell::Copy(), SwEditShell::DeleteSel(), SwBaseShell::Execute(), SwDoc::InsertGlossary(), SwFEShell::Paste(), SwTransferable::PasteFileContent(), SwEditShell::Redo(), SwEditShell::Replace(), and SwEditShell::Undo().
bool SwCursorShell::SelectHiddenRange | ( | ) |
If the current cursor position is inside a hidden range, the hidden range is selected.
Definition at line 3430 of file crsrsh.cxx.
References COMPLETE_STRING, SwScriptInfo::GetBoundsOfHiddenRange(), SwIndex::GetIndex(), SwPaM::GetMark(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SwNode::GetTextNode(), SwViewShell::GetViewOptions(), SwPaM::HasMark(), m_pCurrentCursor, SwPosition::nContent, SwPosition::nNode, nPos, and SwShellCursor::SetMark().
Referenced by SwEnhancedPDFExportHelper::EnhancedPDFExport(), and SwTextShell::StateInsert().
bool SwCursorShell::SelectNxtPrvHyperlink | ( | bool | bNext | ) |
Definition at line 2421 of file crstrvl.cxx.
References tools::Rectangle::Center(), CHKRANGE, SwPaM::DeleteMark(), SwTextAttr::End(), SwPaM::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(), SwNode::GetNodes(), SwDoc::GetNodes(), SwPaM::GetPoint(), SetGetExpField::GetPosOfContent(), SwDoc::GetSpzFrameFormats(), SwTextAttr::GetStart(), SwFormatURL::GetURL(), SwFormat::GetURL(), SwNodes::IsDocNodes(), SwCursor::IsInProtectTable(), SwCursor::IsSelOvr(), m_pCurrentCursor, MakeSelVisible(), n, SwPosition::nContent, SwIterator< TElementType, TSource, eMode >::Next(), SwPosition::nNode, Point, READONLY, RES_DRAWFRMFMT(), SCROLLWIN, SetGetExpField::SetBodyPos(), SwShellCursor::SetMark(), SwFrameFormats::size(), SwVectorModifyBase< Value >::size(), SwPaM::Start(), SwNode::StartOfSectionNode(), comphelper::string::strip(), UpdateCursor(), and SwFormat::Which().
Referenced by SwWrtShell::SelectNextPrevHyperlink().
bool SwCursorShell::SelectText | ( | const sal_Int32 | nStart, |
const sal_Int32 | nEnd | ||
) |
Definition at line 1949 of file crstrvl.cxx.
References SwPaM::DeleteMark(), SwPaM::GetPoint(), SwCursor::IsSelOvr(), m_pCurrentCursor, SwPosition::nContent, SwShellCursor::SetMark(), and UpdateCursor().
Referenced by SwEditWin::DeleteSurroundingText(), SwTextShell::ExecField(), SwEditWin::MouseButtonDown(), and SelectTextAttr().
bool SwCursorShell::SelectTextAttr | ( | sal_uInt16 | nWhich, |
bool | bExpand, | ||
const SwTextAttr * | pAttr = nullptr |
||
) |
Definition at line 1973 of file crstrvl.cxx.
References SwTextNode::DEFAULT, SwTextAttr::End(), SwTextNode::EXPAND, SwIndex::GetIndex(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SwTextAttr::GetStart(), SwTextNode::GetTextAttrAt(), SwNode::GetTextNode(), IsTableMode(), m_pCurrentCursor, SwPosition::nContent, SwPosition::nNode, and SelectText().
Referenced by SwWrtShell::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 2199 of file crstrvl.cxx.
References CHKRANGE, SwViewShell::GetDoc(), SwDoc::getIDocumentRedlineAccess(), SwCursor::IsInProtectTable(), SwCursor::IsSelOvr(), IsTableMode(), m_pCurrentCursor, NormalizePam(), READONLY, SCROLLWIN, IDocumentRedlineAccess::SelNextRedline(), and UpdateCursor().
Referenced by SwTextShell::ExecField(), IMPL_LINK(), and SwRedlineAcceptDlg::InsertParents().
const SwRangeRedline * SwCursorShell::SelPrevRedline | ( | ) |
Definition at line 2219 of file crstrvl.cxx.
References CHKRANGE, SwViewShell::GetDoc(), SwDoc::getIDocumentRedlineAccess(), 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 SwPaM::DeleteMark(), SwNode::EndOfSectionNode(), SwTabFrame::FindMaster(), fnMoveBackward, fnMoveForward, GetCurrFrame(), SwFrameAreaDefinition::getFrameArea(), SwShellCursor::GetMkPos(), SwPaM::GetPoint(), SwTabFrame::GetTable(), SwTable::GetTableNode(), GoInContent(), SwFrame::ImplFindTabFrame(), SwFlowFrame::IsFollow(), SwFrame::IsInTab(), SwFrame::IsVertical(), m_pCurrentCursor, m_pTableCursor, SwPaM::Move(), SwPosition::nNode, SwShellTableCursor::SetMark(), SwRect::TopLeft(), SwRect::TopRight(), and UpdateCursor().
Referenced by SwFEShell::SelTableRowCol().
bool SwCursorShell::SelTableBox | ( | ) |
Definition at line 286 of file trvltbl.cxx.
References SwPaM::DeleteMark(), SwNode::EndOfSectionNode(), SwPaM::Exchange(), SwNode::FindTableBoxStartNode(), fnMoveBackward, fnMoveForward, GetCurrFrame(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), GoInNode(), SwFrame::IsInTab(), m_pCurrentCursor, m_pTableCursor, SwPaM::Move(), SwPosition::nNode, SwShellTableCursor::SetMark(), and UpdateCursor().
Referenced by SwEditWin::MouseButtonDown(), and SwWrtShell::SelectTableCell().
|
inline |
Definition at line 601 of file crsrsh.hxx.
Referenced by SwWrtShell::SelectTableCol().
|
inline |
Definition at line 600 of file crsrsh.hxx.
Referenced by SwWrtShell::SelectTableRow().
|
protected |
Definition at line 127 of file trvltbl.cxx.
References o3tl::sorted_vector< Value, Compare, Find, class >::back(), Col, SwTable::CreateSelection(), SwPaM::DeleteMark(), o3tl::sorted_vector< Value, Compare, Find, class >::empty(), SwNode::EndOfSectionNode(), eType, SwTabFrame::FindMaster(), SwFrame::FindTabFrame(), fnMoveBackward, fnMoveForward, SwPaM::GetContentNode(), GetCurrFrame(), GetCursor_(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwPaM::GetMark(), SwShellCursor::GetMkPos(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), SwTableBox::GetSttNd(), SwTabFrame::GetTable(), GetTableSel(), GoInContent(), SwFrame::ImplFindTabFrame(), SwFlowFrame::IsFollow(), SwFrame::IsInTab(), SwTable::IsNewModel(), IsReadOnlyAvailable(), SwFrame::IsVertical(), lcl_FindMostUpperCellFrame(), m_eEnhancedTableSel, m_pCurrentCursor, m_pTableCursor, SwPaM::Move(), SwPosition::nNode, Protect, Row, SwTable::SEARCH_COL, SwTable::SEARCH_ROW, SwShellTableCursor::SetMark(), SwRect::TopLeft(), SwRect::TopRight(), and UpdateCursor().
Referenced by SwFEShell::SelTableRowCol().
|
private |
Definition at line 2053 of file crsrsh.cxx.
References aEntries, SwTabCols::Count(), eType, SwFEShell::GetAnyCurRect(), SwTabCols::GetEntry(), SwTabCols::GetLeft(), SwTabCols::GetLeftMin(), SwTabCols::GetRight(), SwWrtShell::GetSelectionType(), SwFEShell::GetTabCols(), SwFEShell::GetTabRows(), i, SwFrame::IsInTab(), SwRect::Left(), Page, Table, and SwRect::Top().
|
inline |
Definition at line 806 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 80 of file crbm.cxx.
References EndAction, sw::mark::New, sw::mark::IBookmark::SetKeyCode(), and sw::mark::IBookmark::SetShortName().
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 102 of file crbm.cxx.
References IDocumentMarkAccess::BOOKMARK, EndAction, sw::mark::IBookmark::Hide(), sw::mark::New, sw::mark::IBookmark::SetHideCondition(), sw::mark::IBookmark::SetKeyCode(), and sw::mark::IBookmark::SetShortName().
|
inline |
Definition at line 483 of file crsrsh.hxx.
Referenced by sw::sidebar::WriterInspectorTextPanel::dispose(), SwTransferable::PasteFileContent(), and sw::sidebar::WriterInspectorTextPanel::WriterInspectorTextPanel().
Definition at line 764 of file crsrsh.cxx.
References ChangePos, CheckNodesRange(), CHKRANGE, CRSR_POSCHG, CRSR_POSOLD, SwFrameAreaDefinition::getFrameArea(), SwPaM::GetMark(), SwShellCursor::GetMkPos(), SwNodeIndex::GetNode(), sw::GetParaPropsNode(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), SwPaM::HasMark(), SwTextNode::HasVisibleNumberingOrBullet(), SwRect::IsInside(), SwCursor::IsSelOvr(), lcl_IsInHeaderFooter(), SwCursorMoveState::m_bInFrontOfLabel, SwCursorMoveState::m_bSetInReadOnly, SwCursorMoveState::m_eState, SwCursorMoveState::m_nCursorBidiLevel, SwPosition::nNode, NONE, Point, RightMargin, SCROLLWIN, SwCursor::SetCursorBidiLevel(), SetOnlyText, SwNode::StartOfSectionNode(), and TableSel.
Referenced by SwWrtShell::ExtSelLn(), SwWrtShell::ExtSelWrd(), lcl_GrabCursor(), SwView::SearchAndWrap(), SwWrtShell::SetCursor(), SwWrtShell::SetCursorKillSel(), and SwEditWin::SetCursorTwipPosition().
bool SwCursorShell::SetCursorInHdFt | ( | size_t | nDescNo, |
bool | bInHeader | ||
) |
Definition at line 192 of file crstrvl.cxx.
References SwIndex::Assign(), CHKRANGE, ClearMark(), SwDoc::ContainsPageDesc(), SwFrame::FindPageFrame(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwNode::GetContentNode(), GetCurrFrame(), SwViewShell::GetDoc(), SwFormat::GetFooter(), SwFormatFooter::GetFooterFormat(), SwFormat::GetHeader(), SwFormatHeader::GetHeaderFormat(), SwViewShell::GetLayout(), SwPageDesc::GetMaster(), SwDoc::GetNodes(), SwPageFrame::GetPageDesc(), SwDoc::GetPageDesc(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), SwNodes::GoNext(), SwCursor::IsSelOvr(), m_pCurrentCursor, SwPosition::nContent, SwPosition::nNode, Point, READONLY, SCROLLWIN, and UpdateCursor().
Referenced by SwWrtShell::ChangeHeaderOrFooter().
|
inline |
Definition at line 479 of file crsrsh.hxx.
Referenced by SwWrtShell::SwWrtShell().
|
inline |
Definition at line 487 of file crsrsh.hxx.
Referenced by SwBaseShell::SwBaseShell(), and SwBaseShell::~SwBaseShell().
|
protected |
Definition at line 1165 of file crsrsh.cxx.
Referenced by SwEditShell::DelNumRules().
|
inline |
Definition at line 833 of file crsrsh.hxx.
|
inline |
Definition at line 875 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(), SwEditWin::GetSurroundingText(), SwModule::InsertLab(), SwTextShell::InsertSymbol(), 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 460 of file crsrsh.hxx.
Referenced by SwWrtShell::SetInsMode().
void SwCursorShell::SetReadOnlyAvailable | ( | bool | bFlag | ) |
is the cursor allowed to enter ReadOnly sections?
Definition at line 3331 of file crsrsh.cxx.
References ClearMark(), SwViewShell::GetDoc(), m_bSetCursorInReadOnly, and UpdateCursor().
Referenced by SwEditWin::KeyInput().
Definition at line 3515 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(), SwTextNode::Convert(), SwTableShell::Execute(), SwPageBreakWin::execute(), SwSpellDialogChildWindow::GetNextWrongSentence(), SwXTextViewCursor::gotoRange(), SwFEShell::PastePages(), SwXTextView::select(), and SwAccessibleContext::Select().
|
inline |
Definition at line 799 of file crsrsh.hxx.
Referenced by SwWrtShell::EndSelTableCells(), and SwWrtShell::SelTableCells().
bool SwCursorShell::SetShadowCursorPos | ( | const Point & | rPt, |
SwFillMode | eFillMode | ||
) |
Definition at line 2056 of file crstrvl.cxx.
References IDocumentContentOperations::AppendTextNode(), EMPTY, EndAction(), SwNode::EndOfSectionNode(), IDocumentUndoRedo::EndUndo(), SwNode::FindSectionNode(), SvxAdjustItem::GetAdjust(), SwContentNode::GetAttr(), SwViewShell::GetAttrPool(), SwNode::GetContentNode(), SwViewShell::GetDoc(), SwDoc::getIDocumentContentOperations(), SwViewShell::GetIDocumentUndoRedo(), SwDoc::GetIDocumentUndoRedo(), SwViewShell::GetLayout(), SwTextFormatColl::GetNextTextFormatColl(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SwTextNode::GetTextColl(), SwNode::GetTextNode(), HasSelection(), Indent, INS_FROM_SHADOWCRSR, IDocumentContentOperations::InsertItemSet(), IDocumentContentOperations::InsertPoolItem(), IDocumentContentOperations::InsertString(), SwNode::IsEndNode(), IsTableMode(), SwContentNode::Len(), m_pCurrentCursor, Margin, n, SwPostItHelper::NONE, comphelper::string::padToLength(), Point, RES_BREAK(), RES_LR_SPACE(), RES_PARATR_ADJUST(), SvxAdjustItem::SetAdjust(), SwDoc::SetTextFormatColl(), SvxLRSpaceItem::SetTextLeft(), Space, StartAction(), IDocumentUndoRedo::StartUndo(), SfxPoolItem::StaticWhichCast(), 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 2660 of file crsrsh.cxx.
References SwNode::FindSectionNode(), SwFrame::GetCharRect(), SwContentNode::getLayoutFrame(), SwSectionNode::GetSection(), SwNode::GetTextNode(), SwSection::IsHiddenFlag(), SwSection::IsProtectFlag(), IsScrollMDI(), Point, SwFrame::PrepareCursor(), and SetOnlyText.
Referenced by SwEditWin::MouseButtonUp().
void SwCursorShell::ShellGetFocus | ( | ) |
Definition at line 2435 of file crsrsh.cxx.
References CHKRANGE, and Width.
Referenced by SwFEShell::ShellGetFocus(), and SwLayIdle::SwLayIdle().
void SwCursorShell::ShellLoseFocus | ( | ) |
Definition at line 2428 of file crsrsh.cxx.
Referenced by SwFEShell::ShellLoseFocus(), and SwLayIdle::SwLayIdle().
bool SwCursorShell::ShouldWait | ( | ) | const |
Should WaitPtr be switched on for the clipboard?
Wait for TableMode, multiple selections and more than x selected paragraphs.
Definition at line 3055 of file crsrsh.cxx.
References SwPaM::End(), GetCursor(), GetCursorCnt(), SwViewShell::GetDrawView(), SwNodeIndex::GetIndex(), SwViewShell::HasDrawView(), IsTableMode(), SwPosition::nNode, and SwPaM::Start().
Referenced by SwTransferable::PrepareForCopy(), and SwTransferable::PrepareForCopyTextRange().
void SwCursorShell::ShowCursor | ( | ) |
Definition at line 2391 of file crsrsh.cxx.
References comphelper::LibreOfficeKit::isActive(), and SfxLokHelper::notifyOtherViews().
Referenced by SwEditWin::DeleteSurroundingText(), SwTransferable::DragFinished(), SwTextShell::Execute(), SwEditWin::GetSurroundingTextSelection(), SwWrtShell::GoNextBookmark(), SwWrtShell::GoPrevBookmark(), SwEditWin::MouseButtonDown(), SwTransferable::PrivateDrop(), SwAccessibleContext::Select(), SwEditWin::SelectMenuPosition(), and SwTransferable::StartDrag().
void SwCursorShell::ShowCursors | ( | bool | bCursorVis | ) |
Definition at line 2378 of file crsrsh.cxx.
References SwShellCursor::Show().
void SwCursorShell::StartAction | ( | ) |
Definition at line 226 of file crsrsh.cxx.
References SwNode::GetIndex(), SwCallLink::getLayoutFrame(), SwNode::GetNodeType(), SwNode::GetTextNode(), SwNode::IsTextNode(), and SwViewShell::StartAction().
Referenced by SwAccessibleParagraph::addSelection(), SwInsFootNoteDlg::Apply(), SwEditShell::ApplyChangedSentence(), SwEditShell::ApplyViewOptions(), SwRedlineAcceptDlg::CallAcceptReject(), CheckTableBoxContent(), SwJavaEditDialog::CheckTravel(), SwAccessibleTable::clearAccessibleSelection(), SwFormatClipboard::Copy(), SwContentTree::DeleteOutlineSelections(), SwAccessibleTable::deselectAccessibleChild(), SwContentTree::EditEntry(), SwDrawShell::ExecDrawDlg(), SwTextShell::ExecField(), SwTextShell::ExecParaAttrArgs(), SwView::ExecTabWin(), SwTableShell::Execute(), SwDrawBaseShell::Execute(), SwTextShell::Execute(), SwBaseShell::Execute(), SwSpellPopup::Execute(), SwGlobalTree::ExecuteContextMenuAction(), SwBaseShell::ExecuteGallery(), SwView::ExecViewOptions(), SwFEShell::GetConnectableFrameFormats(), IMPL_LINK(), IMPL_LINK_NOARG(), SwFieldEditDlg::Init(), SwInsFootNoteDlg::Init(), SwView::InsertGraphic(), SwView::InsertGraphicDlg(), SwTextShell::InsertHyperlink(), SwBaseShell::InsertURLButton(), IsTableComplexForChart(), lcl_InvalidateAllContent(), lcl_InvalidateAllObjPos(), lcl_SetAllTextToDefaultLanguage(), SwOutlineTabDialog::Ok(), SwFormatClipboard::Paste(), SwTransferable::PrivateDrop(), SwAccessibleTable::selectAccessibleChild(), SwWrtShell::SelectNextPrevHyperlink(), SwWrtShell::SetInsMode(), SwLangHelper::SetLanguageStatus(), SetSelection(), SetShadowCursorPos(), SwEditShell::SpellContinue(), SwEditShell::SpellSentence(), SwTextShell::StateInsert(), sw_CharDialog(), sw_CharDialogResult(), sw_ParagraphDialogResult(), SwActContext::SwActContext(), SwAccessibleTable::unselectColumn(), SwAccessibleTable::unselectRow(), SwWordCountFloatDlg::UpdateCounts(), and SwViewShell::UpdateFields().
|
static |
Definition at line 951 of file crstrvl.cxx.
References assert(), SwTextAttr::GetStart(), and GetTextFieldAtPos().
Referenced by SwTextShell::ExecField(), and lcl_FindAnchorPos().
bool SwCursorShell::StartsWithTable | ( | ) |
If document body starts with a table.
Definition at line 629 of file crsrsh.cxx.
References SwNode::FindTableNode(), SwNodes::GetEndOfExtras(), and SwNodes::GoNext().
Referenced by SwEditShell::CopySelToDoc(), SwEditShell::DeleteSel(), SwFEShell::InsertRow(), lcl_notifyRow(), lcl_TableParamToItemSet(), and SwWrtShell::SelAll().
void SwCursorShell::SttCursorMove | ( | ) |
Definition at line 305 of file crsrsh.cxx.
References USHRT_MAX.
Referenced by SwEditWin::Command(), SwBaseShell::ExecDelete(), SwEditShell::GotoGlobalDocContent(), SwIndexMarkPane::InitControls(), SwWrtShell::SimpleMove(), SwLayIdle::SwLayIdle(), SwMvContext::SwMvContext(), and SwIndexMarkPane::UpdateDialog().
bool SwCursorShell::SttEndDoc | ( | bool | bStt | ) |
Definition at line 577 of file crsrsh.cxx.
References CHKRANGE, SwShellCursor::GetPtPos(), READONLY, SCROLLWIN, and SwCursor::SttEndDoc().
Referenced by SwDoc::AppendDoc(), SwModule::ApplyItemSet(), SwBaseShell::Execute(), SwView::ExecViewOptions(), SwWrtShell::GoEnd(), 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 979 of file crsrsh.cxx.
Referenced by SwWrtShell::BeginDrag(), SwWrtShell::CloseMark(), SwWrtShell::DelLeft(), SwWrtShell::DelNxtWord(), SwWrtShell::DelPrvWord(), SwTextShell::ExecField(), SwBaseShell::Execute(), SwWrtShell::ExtSelLn(), SwWrtShell::ExtSelWrd(), IMPL_LINK(), SwTextShell::InsertSymbol(), 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 | ??? |
Reimplemented from SwModify.
Definition at line 2481 of file crsrsh.cxx.
References sw::LegacyModifyHint::GetWhich(), RES_ATTRSET_CHG(), RES_FMT_CHG(), RES_GRAPHIC_SWAPIN(), RES_MSG_BEGIN(), RES_MSG_END(), RES_OBJECTDYING(), and RES_UPDATE_ATTR().
void SwCursorShell::TableCursorToCursor | ( | ) |
enter block mode, change normal cursor into block cursor
Definition at line 899 of file crsrsh.cxx.
References assert().
Referenced by ClearUpCursors(), SwWrtShell::SelAll(), 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 994 of file crsrsh.cxx.
References SwPaM::End(), SwShellCursor::GetNext(), SwPaM::HasMark(), SwCursorMoveState::m_bSetInReadOnly, NONE, Point, and SwPaM::Start().
Referenced by SwEditWin::GetDropDestination(), SwEditWin::MouseButtonDown(), SwEditWin::MouseButtonUp(), SwEditWin::MouseMove(), SwTransferable::PrivateDrop(), SwEditWin::SelectMenuPosition(), SwWrtShell::SetCursor(), and SwEditWin::StartDrag().
|
inline |
Definition at line 802 of file crsrsh.hxx.
References SwTable::SEARCH_NONE.
Referenced by SwWrtShell::ResetSelect().
|
inline |
Definition at line 914 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 757 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 1571 of file crsrsh.cxx.
References a, BEFORE, SwFrame::Calc(), CheckRange(), CHKRANGE, SwPaM::DeleteMark(), SwNode::FindSectionNode(), SwFrame::FindTabFrame(), fnMoveBackward, fnMoveForward, fnSectionEnd, fnSectionStart, SwFrame::GetCharRect(), SwPaM::GetContentNode(), SwCursor::GetCursorBidiLevel(), SwFrameAreaDefinition::getFrameArea(), SwContentNode::getLayoutFrame(), SwPaM::GetMark(), SwShellCursor::GetMkPos(), SwFrame::GetModelPositionForViewPoint(), SwPaM::GetNode(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), sw::Ring< value_type >::GetRingContainer(), SwTable::GetRowsToRepeat(), SwSectionNode::GetSection(), SwTabFrame::GetTable(), SwFrame::GetUpper(), GoCurrSection(), GoInContent(), SwRect::HasArea(), SwPaM::HasMark(), SwFrame::IsCellFrame(), SwFlowFrame::IsFollow(), SwSection::IsHiddenFlag(), SwPaM::IsInFrontOfLabel(), SwTabFrame::IsInHeadline(), SwSection::IsProtectFlag(), SwFrame::IsVertical(), lcl_CheckHiddenPara(), lcl_CheckHiddenSection(), SwRect::Left(), SwCursorMoveState::m_aRealHeight, SwCursorMoveState::m_bRealHeight, SwCursorMoveState::m_bRealWidth, SwCursorMoveState::m_bSetInReadOnly, SwCursorMoveState::m_nCursorBidiLevel, SwCursorMoveState::m_pSpecialPos, SwSpecialPos::nExtendRange, SwPosition::nNode, NONE, Point, SwFrame::PrepareCursor(), READONLY, SAL_WARN, SCROLLWIN, SwNode::StartOfSectionNode(), SwRect::Top(), and UPDOWN.
Referenced by CallCursorFN(), CallCursorShellFN(), SwTextShell::Execute(), SwContentTree::ExecuteContextMenuAction(), Find_Text(), FindAttrs(), FindFormat(), GetContentAtPos(), GoNextCell(), GoPrevCell(), GotoFlyAnchor(), GotoFooterText(), GotoFootnoteAnchor(), GotoFootnoteText(), GotoFormatField(), GotoHeaderText(), GotoINetAttr(), GotoNextOutline(), GotoNextTOXBase(), GotoNxtPrvTableFormula(), GotoNxtPrvTOXMark(), GotoOutline(), GotoPrevOutline(), GotoPrevTOXBase(), GotoRedline_(), GotoRefMark(), GotoRegion(), GotoTable(), GotoTOXMark(), GotoTOXMarkBase(), MakeOutlineSel(), MoveColumn(), MoveCursorToNum(), MoveFieldType(), MoveRegion(), MoveTable(), SelectNxtPrvHyperlink(), SelectText(), SelNextRedline(), SelPrevRedline(), SelTable(), SelTableBox(), SelTableRowOrCol(), SetCursorInHdFt(), SetReadOnlyAvailable(), and SwCursor::UpDown().
void SwCursorShell::UpdateCursorPos | ( | ) |
Set the cursor back into content.
This should only be called if the cursor was move somewhere else (e.g. when deleting a border). The new position is calculated from its current position in the layout.
Definition at line 1491 of file crsrsh.cxx.
References SwPaM::DeleteMark(), SwPaM::GetPoint(), SwShellCursor::GetPtPos(), SwCursorMoveState::m_bSetInReadOnly, NONE, and IGrammarContact::updateCursorPosition().
|
protected |
Updates the marked list level according to the cursor.
Definition at line 410 of file crsrsh.cxx.
References assert(), SwTextNode::GetActualListLevel(), SwTextNode::GetListId(), sw::GetParaPropsNode(), SwTextNode::IsInList(), SwTextNode::IsNumbered(), and MAXLEVEL.
Referenced by SwEditShell::NumUpDown().
size_t SwCursorShell::UpdateTableSelBoxes | ( | ) |
Definition at line 3068 of file crsrsh.cxx.
References SwViewShell::GetLayout(), SwTableCursor::GetSelectedBoxesCount(), SwTableCursor::IsChgd(), m_pTableCursor, and SwRootFrame::MakeTableCursors().
|
private |
Definition at line 506 of file crsrsh.cxx.
References CHKRANGE, SCROLLWIN, UpDown, UPDOWN, and SwShellCursor::UpDown().
Reimplemented from SwViewShell.
Definition at line 1457 of file crsrsh.cxx.
References Bottom, Right, and SwViewShell::VisPortChgd().
|
friend |
Definition at line 693 of file tblsel.cxx.
Referenced by SwFEShell::GetAutoSum().
|
friend |
Definition at line 141 of file crsrsh.hxx.
|
friend |
Definition at line 143 of file crsrsh.hxx.
|
friend |
Definition at line 142 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
Char-SRectangle on which the cursor is located.
Definition at line 164 of file crsrsh.hxx.
Referenced by GotoFlyAnchor(), MakeSelVisible(), MoveCursorToNum(), SwVisibleCursor::SetPosAndShow(), and SwVisibleCursor::Show().
|
private |
link will be called by every attribute/ format changes at cursor position.
Definition at line 171 of file crsrsh.hxx.
Referenced by SwCallLink::~SwCallLink().
|
private |
height & offset from visible Cursor
Definition at line 165 of file crsrsh.hxx.
Referenced by MakeSelVisible(), and SwVisibleCursor::SetPosAndShow().
|
private |
Link will be called, if the Cursor is set into a fly.
A macro can then be called
Definition at line 169 of file crsrsh.hxx.
|
private |
Link calls to UI if a graphic is arrived.
Definition at line 173 of file crsrsh.hxx.
|
private |
Right/Bottom of last VisArea.
Definition at line 166 of file crsrsh.hxx.
Referenced by SwSelPaintRects::Invalidate().
|
private |
Flag for areas.
Definition at line 216 of file crsrsh.hxx.
Referenced by FindValidContentNode(), and SwCursorShell().
|
private |
Definition at line 224 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
Definition at line 225 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
flag for derived classes
Definition at line 213 of file crsrsh.hxx.
Referenced by SwCursorShell(), and SwCallLink::~SwCallLink().
|
private |
attribute change inside Start- and EndAction
Definition at line 209 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
Definition at line 220 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
Shell is "active" in a window.
Definition at line 207 of file crsrsh.hxx.
Referenced by MakeSelVisible(), and SwCursorShell().
|
private |
Definition at line 221 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
|
private |
Definition at line 229 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
Definition at line 227 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
Definition at line 223 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
Definition at line 226 of file crsrsh.hxx.
Referenced by SetReadOnlyAvailable(), and SwCursorShell().
|
private |
SV-Cursor visible/invisible.
Definition at line 208 of file crsrsh.hxx.
Referenced by SwCursorShell().
|
private |
|
private |
Definition at line 202 of file crsrsh.hxx.
Referenced by SelTableRowOrCol().
|
private |
Status for Cursor-Travelling - GetModelPositionForViewPoint.
Definition at line 201 of file crsrsh.hxx.
|
private |
Definition at line 191 of file crsrsh.hxx.
|
private |
Definition at line 192 of file crsrsh.hxx.
|
private |
Definition at line 190 of file crsrsh.hxx.
|
private |
Definition at line 200 of file crsrsh.hxx.
|
private |
Definition at line 189 of file crsrsh.hxx.
|
private |
Definition at line 205 of file crsrsh.hxx.
|
private |
try to move the cursor on up/down always in the same column
Definition at line 187 of file crsrsh.hxx.
|
private |
Definition at line 231 of file crsrsh.hxx.
|
private |
interface of cursor for block (=rectangular) selection
Definition at line 179 of file crsrsh.hxx.
Referenced by getShellCursor(), and ~SwCursorShell().
|
private |
for recognizing of the changed
Definition at line 184 of file crsrsh.hxx.
Referenced by CheckTableBoxContent(), ClearTableBoxContent(), and SaveTableBoxContent().
|
private |
table row
Definition at line 185 of file crsrsh.hxx.
Referenced by CheckTableBoxContent(), ClearTableBoxContent(), and SaveTableBoxContent().
|
private |
current cursor
Definition at line 175 of file crsrsh.hxx.
Referenced by CheckTableBoxContent(), dumpAsXml(), ExpandToSentenceBorders(), Find_Text(), FindAttrs(), FindFormat(), FindValidContentNode(), GetAutoSumSel(), GetContentAtPos(), GetCursorDocPos(), GetShadowCursorPos(), getShellCursor(), GetTextDirection(), GoNextCell(), GoPrevCell(), GotoFlyAnchor(), GotoFootnoteAnchor(), GotoNextNum(), GotoNextTOXBase(), GotoNxtPrvTableFormula(), GotoNxtPrvTOXMark(), GotoPrevNum(), GotoPrevTOXBase(), GotoRedline(), GotoRedline_(), GotoRefMark(), GotoRegion(), GotoTable(), GotoTOXMark(), GotoTOXMarkBase(), HasMark(), HasReadonlySel(), IsCursorInTable(), IsCursorPtAtEnd(), IsEndSentence(), IsEndWord(), IsInWord(), IsMultiSelection(), IsSelection(), IsSelFullPara(), IsStartSentence(), IsStartWord(), IsTableComplexForChart(), MakeFindRange(), MakeOutlineSel(), MoveColumn(), MoveCursorToNum(), MoveFieldType(), MoveRegion(), MoveTable(), SaveTableBoxContent(), SelectHiddenRange(), SelectNxtPrvHyperlink(), SelectText(), SelectTextAttr(), SelectWord(), SelNextRedline(), SelPrevRedline(), SelTable(), SelTableBox(), SelTableRowOrCol(), SetCursorInHdFt(), SetMark(), SetShadowCursorPos(), SwCursorShell(), and ~SwCursorShell().
|
private |
stack for the cursor
Definition at line 176 of file crsrsh.hxx.
Referenced by GetStackCursor(), and ~SwCursorShell().
|
private |
table Cursor; only in tables when the selection lays over 2 columns
Definition at line 181 of file crsrsh.hxx.
Referenced by ClearUpCursors(), Find_Text(), FindAttrs(), FindFormat(), FindValidContentNode(), GetAutoSumSel(), GetBoxNms(), getShellCursor(), GetTableCrs(), GoNextCell(), GoPrevCell(), GotoRegion(), GotoTable(), HasReadonlySel(), IsTableComplexForChart(), MoveColumn(), MoveRegion(), MoveTable(), SelTable(), SelTableBox(), SelTableRowOrCol(), UpdateTableSelBoxes(), and ~SwCursorShell().
|
private |
the visible cursor
Definition at line 177 of file crsrsh.hxx.
Referenced by SwCursorShell(), UnSetVisibleCursor(), and ~SwCursorShell().
|
private |
table rows or columns selected by not cell by cell
Definition at line 204 of file crsrsh.hxx.