LibreOffice Module sw (master) 1
|
#include <swcrsr.hxx>
Public Types | |
enum | SentenceMoveType { NEXT_SENT , PREV_SENT , START_SENT , END_SENT } |
Public Types inherited from sw::Ring< SwPaM > | |
typedef std::add_const< SwPaM >::type | const_value_type |
typedef RingContainer< SwPaM > | ring_container |
typedef RingContainer< const_value_type > | const_ring_container |
Public Member Functions | |
SwCursor (const SwPosition &rPos, SwPaM *pRing) | |
virtual | ~SwCursor () override |
SwCursor & | operator= (SwCursor const &) |
SwCursor (SwCursor const &rCursor, SwPaM *pRing) | |
this takes a second parameter, which indicates the Ring that the new cursor should be part of (may be null) More... | |
virtual SwCursor * | Create (SwPaM *pRing=nullptr) const |
virtual short | MaxReplaceArived () |
virtual void | SaveTableBoxContent (const SwPosition *pPos) |
void | FillFindPos (SwDocPositions ePos, SwPosition &rPos) const |
SwMoveFnCollection const & | MakeFindRange (SwDocPositions, SwDocPositions, SwPaM *) const |
set range for search in document More... | |
sal_Int32 | Find_Text (const i18nutil::SearchOptions2 &rSearchOpt, bool bSearchInNotes, SwDocPositions nStart, SwDocPositions nEnd, bool &bCancel, FindRanges, bool bReplace=false, SwRootFrame const *const pLayout=nullptr) |
sal_Int32 | FindFormat (const SwTextFormatColl &rFormatColl, SwDocPositions nStart, SwDocPositions nEnd, bool &bCancel, FindRanges, const SwTextFormatColl *pReplFormat, SwRootFrame const *const pLayout=nullptr) |
search for Format-Collections More... | |
sal_Int32 | FindAttrs (const SfxItemSet &rSet, bool bNoCollections, SwDocPositions nStart, SwDocPositions nEnd, bool &bCancel, FindRanges, const i18nutil::SearchOptions2 *pSearchOpt, const SfxItemSet *rReplSet=nullptr, SwRootFrame const *const pLayout=nullptr) |
search for attributes More... | |
bool | IsStartEndSentence (bool bEnd, SwRootFrame const *pLayout) const |
bool | SelectWord (SwViewShell const *pViewShell, const Point *pPt) |
bool | IsStartWordWT (sal_Int16 nWordType, SwRootFrame const *pLayout=nullptr) const |
bool | IsEndWordWT (sal_Int16 nWordType, SwRootFrame const *pLayout=nullptr) const |
bool | IsInWordWT (sal_Int16 nWordType, SwRootFrame const *pLayout=nullptr) const |
bool | GoStartWordWT (sal_Int16 nWordType, SwRootFrame const *pLayout=nullptr) |
bool | GoEndWordWT (sal_Int16 nWordType, SwRootFrame const *pLayout=nullptr) |
bool | GoNextWordWT (sal_Int16 nWordType, SwRootFrame const *pLayout=nullptr) |
bool | GoPrevWordWT (sal_Int16 nWordType, SwRootFrame const *pLayout=nullptr) |
bool | SelectWordWT (SwViewShell const *pViewShell, sal_Int16 nWordType, const Point *pPt) |
bool | GoSentence (SentenceMoveType eMoveType, SwRootFrame const *pLayout=nullptr) |
void | ExpandToSentenceBorders (SwRootFrame const *pLayout) |
virtual bool | LeftRight (bool bLeft, sal_uInt16 nCnt, SwCursorSkipMode nMode, bool bAllowVisual, bool bSkipHidden, bool bInsertCursor, SwRootFrame const *pLayout, bool isFieldNames) |
bool | UpDown (bool bUp, sal_uInt16 nCnt, Point const *pPt, tools::Long nUpDownX, SwRootFrame &rLayout) |
bool | LeftRightMargin (SwRootFrame const &rLayout, bool bLeftMargin, bool bAPI) |
bool | IsAtLeftRightMargin (SwRootFrame const &rLayout, bool bLeftMargin, bool bAPI) const |
bool | SttEndDoc (bool bSttDoc) |
bool | GoPrevNextCell (bool bNext, sal_uInt16 nCnt) |
bool | Left (sal_uInt16 nCnt) |
bool | Right (sal_uInt16 nCnt) |
bool | GoNextCell (sal_uInt16 nCnt=1) |
bool | GoPrevCell (sal_uInt16 nCnt=1) |
virtual bool | GotoTable (const OUString &rName) |
bool | GotoTableBox (const OUString &rName) |
bool | GotoRegion (std::u16string_view rName) |
bool | GotoFootnoteAnchor () |
bool | GotoFootnoteText () |
bool | GotoNextFootnoteAnchor () |
bool | GotoPrevFootnoteAnchor () |
bool | MovePara (SwWhichPara, SwMoveFnCollection const &) |
bool | MoveSection (SwWhichSection, SwMoveFnCollection const &) |
bool | MoveTable (SwWhichTable, SwMoveFnCollection const &) |
bool | MoveRegion (SwWhichRegion, SwMoveFnCollection const &) |
virtual bool | IsSelOvr (SwCursorSelOverFlags eFlags=SwCursorSelOverFlags::CheckNodeSection|SwCursorSelOverFlags::Toggle|SwCursorSelOverFlags::ChangePos) |
bool | IsInProtectTable (bool bMove=false, bool bChgCursor=true) |
bool | IsNoContent () const |
determine if point is outside of the node-array's content area More... | |
void | RestoreSavePos () |
Restore cursor state to the one saved by SwCursorSaveState. More... | |
virtual bool | IsAtValidPos (bool bPoint=true) const |
Return <true> if cursor can be set to this position. More... | |
virtual bool | IsReadOnlyAvailable () const |
virtual bool | IsSkipOverProtectSections () const |
virtual bool | IsSkipOverHiddenSections () const |
sal_uInt8 | GetCursorBidiLevel () const |
void | SetCursorBidiLevel (sal_uInt8 nNewLevel) |
bool | IsColumnSelection () const |
void | SetColumnSelection (bool bNew) |
sal_Int32 | GetCursorRowSpanOffset () const |
SwCursor * | GetNext () |
const SwCursor * | GetNext () const |
SwCursor * | GetPrev () |
const SwCursor * | GetPrev () const |
Public Member Functions inherited from SwPaM | |
SwPaM (const SwPosition &rPos, SwPaM *pRing=nullptr) | |
SwPaM (const SwPosition &rMk, const SwPosition &rPt, SwPaM *pRing=nullptr) | |
SwPaM (const SwNodeIndex &rMk, const SwNodeIndex &rPt, SwNodeOffset nMkOffset=SwNodeOffset(0), SwNodeOffset nPtOffset=SwNodeOffset(0), SwPaM *pRing=nullptr) | |
SwPaM (const SwNode &rMk, const SwNode &rPt, SwNodeOffset nMkOffset=SwNodeOffset(0), SwNodeOffset nPtOffset=SwNodeOffset(0), SwPaM *pRing=nullptr) | |
SwPaM (const SwNodeIndex &rMk, sal_Int32 nMkContent, const SwNodeIndex &rPt, sal_Int32 nPtContent, SwPaM *pRing=nullptr) | |
SwPaM (const SwNode &rMk, sal_Int32 nMkContent, const SwNode &rPt, sal_Int32 nPtContent, SwPaM *pRing=nullptr) | |
SwPaM (const SwNode &rMk, SwNodeOffset nMkOffset, sal_Int32 nMkContent, const SwNode &rPt, SwNodeOffset nPtOffset, sal_Int32 nPtContent, SwPaM *pRing=nullptr) | |
SwPaM (const SwNode &rNd, SwNodeOffset nNdOffset, sal_Int32 nContent=0, SwPaM *pRing=nullptr) | |
SwPaM (const SwNode &rNd, sal_Int32 nContent=0, SwPaM *pRing=nullptr) | |
SwPaM (const SwNodeIndex &rNd, sal_Int32 nContent=0, SwPaM *pRing=nullptr) | |
SwPaM (SwNodes &rNds, SwNodeOffset nMkOffset=SwNodeOffset(0), SwPaM *pRing=nullptr) | |
virtual | ~SwPaM () override |
SwPaM (SwPaM const &rPaM, SwPaM *pRing) | |
this takes a second parameter, which indicates the Ring that the new PaM should be part of (may be null) More... | |
SwPaM & | operator= (const SwPaM &) |
@@ semantic: no copy assignment for super class Ring. More... | |
bool | Move (SwMoveFnCollection const &fnMove=fnMoveForward, SwGoInDoc fnGo=GoInContent) |
Movement of cursor. More... | |
bool | IsInFrontOfLabel () const |
void | SetInFrontOfLabel_ (bool bNew) |
virtual void | SetMark () |
Unless this is called, the getter method of Mark will return Point. More... | |
void | DeleteMark () |
void | Exchange () |
bool | HasMark () const |
A PaM marks a selection if Point and Mark are distinct positions. More... | |
const SwPosition * | GetPoint () const |
SwPosition * | GetPoint () |
const SwPosition * | GetMark () const |
SwPosition * | GetMark () |
const SwPosition * | Start () const |
SwPosition * | Start () |
const SwPosition * | End () const |
SwPosition * | End () |
std::pair< const SwPosition *, const SwPosition * > | StartEnd () const |
Because sometimes the cost of the operator<= can add up. More... | |
std::pair< SwPosition *, SwPosition * > | StartEnd () |
SwNode & | GetPointNode () const |
SwNode & | GetMarkNode () const |
SwContentNode * | GetPointContentNode () const |
SwContentNode * | GetMarkContentNode () const |
void | Normalize (bool bPointFirst=true) |
Normalizes PaM, i.e. More... | |
SwDoc & | GetDoc () const |
SwPosition & | GetBound (bool bOne=true) |
const SwPosition & | GetBound (bool bOne=true) const |
sal_uInt16 | GetPageNum (bool bAtPoint=true, const Point *pLayPos=nullptr) |
Get number of page which contains cursor. More... | |
bool | HasReadonlySel (bool bFormView, bool isReplace) const |
Is in something protected (readonly) or selection contains something protected. More... | |
bool | HasHiddenSections () const |
Is there hidden sections in the selected area. More... | |
bool | ContainsPosition (const SwPosition &rPos) const |
OUString | GetText () const |
void | InvalidatePaM () |
SwPaM * | GetNext () |
const SwPaM * | GetNext () const |
SwPaM * | GetPrev () |
const SwPaM * | GetPrev () const |
bool | IsMultiSelection () const |
void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Public Member Functions inherited from sw::Ring< SwPaM > | |
virtual | ~Ring () COVERITY_NOEXCEPT_FALSE |
void | unlink () |
algo::unlink is buggy! don't call it directly! More... | |
void | MoveTo (SwPaM *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 |
Protected Member Functions | |
void | SaveState () |
void | RestoreState () |
const SwCursor_SavePos * | GetSavePos () const |
virtual const SwContentFrame * | DoSetBidiLevelLeftRight (bool &io_rbLeft, bool bVisualAllowed, bool bInsertCursor) |
virtual void | DoSetBidiLevelUpDown () |
virtual bool | IsSelOvrCheck (SwCursorSelOverFlags eFlags) |
Protected Member Functions inherited from sw::Ring< SwPaM > | |
Ring () | |
Creates a new item in a ring container all by itself. More... | |
Ring (SwPaM *pRing) | |
Creates a new item and add it to an existing ring container. More... | |
SwPaM * | GetNextInRing () |
const_value_type * | GetNextInRing () const |
SwPaM * | GetPrevInRing () |
const_value_type * | GetPrevInRing () const |
bool | unique () const |
Private Member Functions | |
sal_Int32 | FindAll (SwFindParas &, SwDocPositions, SwDocPositions, FindRanges, bool &bCancel) |
SwCursor (SwCursor const &rPaM)=delete | |
Private Attributes | |
std::vector< SwCursor_SavePos > | m_vSavePos |
sal_Int32 | m_nRowSpanOffset |
sal_uInt8 | m_nCursorBidiLevel |
bool | m_bColumnSelection |
Friends | |
class | SwCursorSaveState |
Definition at line 70 of file swcrsr.hxx.
Enumerator | |
---|---|
NEXT_SENT | |
PREV_SENT | |
START_SENT | |
END_SENT |
Definition at line 153 of file swcrsr.hxx.
SwCursor::SwCursor | ( | const SwPosition & | rPos, |
SwPaM * | pRing | ||
) |
Definition at line 124 of file swcrsr.cxx.
|
overridevirtual |
Definition at line 141 of file swcrsr.cxx.
this takes a second parameter, which indicates the Ring that the new cursor should be part of (may be null)
Definition at line 133 of file swcrsr.cxx.
Reimplemented in SwShellCursor, and SwShellTableCursor.
Definition at line 145 of file swcrsr.cxx.
References SwPaM::GetPoint(), and SwCursor().
Referenced by FindAll(), lcl_FindSelection(), and SwTableCursor::MakeBoxSels().
|
protectedvirtual |
Reimplemented in SwUnoCursor.
Definition at line 1677 of file swcrsr.cxx.
References SwScriptInfo::DirType(), SwPosition::GetContentIndex(), SvtCTLOptions::GetCTLCursorMovement(), GetCursorBidiLevel(), SwPaM::GetDoc(), SwContentNode::getLayoutFrame(), SwPosition::GetNode(), SwPaM::GetPoint(), SwScriptInfo::GetScriptInfo(), SwNode::GetTextNode(), SvtCTLOptions::IsCTLFontEnabled(), SwNode::IsTextNode(), SwTextFrame::MapModelToView(), SwTextFrame::MapModelToViewPos(), SwTextFrame::MapViewToModelPos(), SvtCTLOptions::MOVEMENT_VISUAL, nIndex, nPos, SwTextFrame::PrepareVisualMove(), and SetCursorBidiLevel().
Referenced by LeftRight().
|
protectedvirtual |
Reimplemented in SwUnoCursor.
Definition at line 1959 of file swcrsr.cxx.
References SwScriptInfo::DirType(), SwPosition::GetContentIndex(), SwPosition::GetNode(), SwPaM::GetPoint(), SwScriptInfo::GetScriptInfo(), SwTextNode::GetText(), SwNode::GetTextNode(), SwNode::IsTextNode(), SwTextFrame::MapModelToView(), min(), nIndex, nPos, and SetCursorBidiLevel().
Referenced by UpDown().
void SwCursor::ExpandToSentenceBorders | ( | SwRootFrame const * | pLayout | ) |
Definition at line 1623 of file swcrsr.cxx.
References SwPosition::Assign(), SwPaM::End(), g_pBreakIt, SwBreakIt::GetBreakIter(), SwPosition::GetContentIndex(), SwTextNode::GetLang(), getLength(), SwBreakIt::GetLocale(), SwPaM::GetMark(), SwPosition::GetNode(), SwPaM::GetPoint(), SwPaM::GetText(), SwNode::GetTextNode(), SwPaM::HasMark(), lcl_MaskDeletedRedlines(), SwPaM::SetMark(), SwPaM::Start(), and w.
Referenced by SwCursorShell::ExpandToSentenceBorders().
void SwCursor::FillFindPos | ( | SwDocPositions | ePos, |
SwPosition & | rPos | ||
) | const |
Definition at line 1102 of file swcrsr.cxx.
References SwPosition::Assign(), SwPosition::AssignEndIndex(), End, ePos, SwPaM::GetDoc(), SwNodes::GetEndOfContent(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwNodes::GoNext(), SwNodes::GoPrevious(), OtherEnd, OtherStart, Start, and SwNode::StartOfSectionNode().
Referenced by MakeFindRange(), and SwEditShell::SpellStart().
sal_Int32 SwCursor::Find_Text | ( | const i18nutil::SearchOptions2 & | rSearchOpt, |
bool | bSearchInNotes, | ||
SwDocPositions | nStart, | ||
SwDocPositions | nEnd, | ||
bool & | bCancel, | ||
FindRanges | eFndRngs, | ||
bool | bReplace = false , |
||
SwRootFrame const *const | pLayout = nullptr |
||
) |
Definition at line 1004 of file findtxt.cxx.
References FindAll(), SwPaM::GetDoc(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwDoc::GetOle2Link(), InSel, MakeUndoReplaceRewriter(), REPLACE, i18nutil::SearchOptions2::replaceString, i18nutil::SearchOptions2::searchFlag, i18nutil::SearchOptions2::searchString, IDocumentState::SetModified(), and SwDoc::SetOle2Link().
Referenced by SwCursorShell::Find_Text().
|
private |
Definition at line 949 of file swcrsr.cxx.
References Create(), SwPaM::DeleteMark(), SwFindParas::DoFind(), fnMoveBackward, SwPaM::GetDoc(), SwNodes::GetEndOfContent(), SwNodes::GetEndOfExtras(), SwNodes::GetEndOfPostIts(), SwNode::GetIndex(), SwPaM::GetMark(), GetNext(), SwDoc::GetNodes(), SwPaM::GetPoint(), sw::Ring< SwPaM >::GetRingContainer(), sw::Ring< value_type >::GetRingContainer(), SwPaM::HasMark(), InBody, InBodyOnly, InOther, InSel, InSelAll, IsReadOnlyAvailable(), IsSelOvr(), lcl_FindSelection(), lcl_MakeSelBkwrd(), lcl_MakeSelFwrd(), MakeFindRange(), sw::RingContainer< value_type >::merge(), SwPaM::SetMark(), SwNode::StartOfSectionNode(), and Toggle.
Referenced by Find_Text(), FindAttrs(), and FindFormat().
sal_Int32 SwCursor::FindAttrs | ( | const SfxItemSet & | rSet, |
bool | bNoCollections, | ||
SwDocPositions | nStart, | ||
SwDocPositions | nEnd, | ||
bool & | bCancel, | ||
FindRanges | eFndRngs, | ||
const i18nutil::SearchOptions2 * | pSearchOpt, | ||
const SfxItemSet * | rReplSet = nullptr , |
||
SwRootFrame const *const | pLayout = nullptr |
||
) |
search for attributes
Definition at line 1409 of file findattr.cxx.
References SfxItemSet::Count(), FindAll(), SwPaM::GetDoc(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwDoc::GetOle2Link(), REPLACE, i18nutil::SearchOptions2::replaceString, rSet, IDocumentState::SetModified(), and SwDoc::SetOle2Link().
Referenced by SwCursorShell::FindAttrs().
sal_Int32 SwCursor::FindFormat | ( | const SwTextFormatColl & | rFormatColl, |
SwDocPositions | nStart, | ||
SwDocPositions | nEnd, | ||
bool & | bCancel, | ||
FindRanges | eFndRngs, | ||
const SwTextFormatColl * | pReplFormat, | ||
SwRootFrame const *const | pLayout = nullptr |
||
) |
search for Format-Collections
Definition at line 75 of file findcoll.cxx.
References SwRewriter::AddRule(), END, FindAll(), SwPaM::GetDoc(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwFormat::GetName(), SwDoc::GetOle2Link(), IDocumentState::SetModified(), SwDoc::SetOle2Link(), SwResId(), UI_REPLACE_STYLE, UndoArg1, UndoArg2, and UndoArg3.
Referenced by SwCursorShell::FindFormat().
|
inline |
Definition at line 211 of file swcrsr.hxx.
Referenced by DoSetBidiLevelLeftRight(), SwVisibleCursor::SetPosAndShow(), and SwCursorShell::UpdateCursor().
|
inline |
Definition at line 217 of file swcrsr.hxx.
Referenced by SwCursorShell::GoNextCell().
|
inline |
Definition at line 219 of file swcrsr.hxx.
References sw::Ring< SwPaM >::GetNextInRing().
Referenced by CheckRange(), SwEditWin::Command(), SwEditShell::Delete(), FindAll(), SwCursorShell::GetCursorCnt(), SwTableCursor::MakeBoxSels(), SwContentTree::SelectOutlinesWithSelection(), SwUnoCursor::~SwUnoCursor(), and SwUnoTableCursor::~SwUnoTableCursor().
|
inline |
Definition at line 220 of file swcrsr.hxx.
References sw::Ring< SwPaM >::GetNextInRing().
|
inline |
Definition at line 221 of file swcrsr.hxx.
References sw::Ring< SwPaM >::GetPrevInRing().
Referenced by lcl_FindSelection(), and SwTableCursor::MakeBoxSels().
|
inline |
Definition at line 222 of file swcrsr.hxx.
References sw::Ring< SwPaM >::GetPrevInRing().
|
inlineprotected |
Definition at line 315 of file swcrsr.hxx.
References m_vSavePos.
Referenced by SwUnoCursor::IsSelOvr(), SwUnoTableCursor::IsSelOvr(), and SwTableCursor::IsSelOvrCheck().
bool SwCursor::GoEndWordWT | ( | sal_Int16 | nWordType, |
SwRootFrame const * | pLayout = nullptr |
||
) |
Definition at line 1320 of file swcrsr.cxx.
References SwPosition::Assign(), g_pBreakIt, SwBreakIt::GetBreakIter(), SwPosition::GetContentIndex(), SwTextNode::GetLang(), getLength(), SwBreakIt::GetLocale(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwPaM::GetText(), SwNode::GetTextNode(), IsSelOvr(), and w.
Referenced by SwCursorShell::GoEndWordImpl(), and SwXTextCursor::gotoEndOfWord().
|
inline |
Definition at line 174 of file swcrsr.hxx.
Referenced by SwCursorShell::GoNextCell(), IsInProtectTable(), SwTableCursor::LeftRight(), and SwFEShell::ParkCursorInTab().
bool SwCursor::GoNextWordWT | ( | sal_Int16 | nWordType, |
SwRootFrame const * | pLayout = nullptr |
||
) |
Definition at line 1350 of file swcrsr.cxx.
References SwPosition::Assign(), g_pBreakIt, SwBreakIt::GetBreakIter(), SwPosition::GetContentIndex(), SwTextNode::GetLang(), getLength(), SwBreakIt::GetLocale(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwPaM::GetText(), SwNode::GetTextNode(), IsSelOvr(), and w.
Referenced by SwCursorShell::GoNextWordImpl(), SwXTextCursor::gotoNextSentence(), and SwXTextCursor::gotoNextWord().
|
inline |
Definition at line 175 of file swcrsr.hxx.
Referenced by SwCursorShell::GoPrevCell(), IsInProtectTable(), SwTableCursor::LeftRight(), and SwFEShell::ParkCursorInTab().
bool SwCursor::GoPrevNextCell | ( | bool | bNext, |
sal_uInt16 | nCnt | ||
) |
Definition at line 2182 of file swcrsr.cxx.
References SwPosition::Adjust(), SwPosition::Assign(), SwNode::EndOfSectionNode(), SwTableBox::FindEndOfRowSpan(), SwTableBox::FindStartOfRowSpan(), SwNode::FindTableBoxStartNode(), SwNode::FindTableNode(), SwPaM::GetDoc(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwTableBox::getRowSpan(), SwTableBox::GetSttNd(), SwTableNode::GetTable(), SwNode::GetTableBox(), SwNodes::GoNextSection(), SwNode::IsContentNode(), SwNode::IsEndNode(), IsInProtectTable(), SwNode::IsStartNode(), m_nRowSpanOffset, SwPosition::SetContent(), and SwNode::StartOfSectionNode().
bool SwCursor::GoPrevWordWT | ( | sal_Int16 | nWordType, |
SwRootFrame const * | pLayout = nullptr |
||
) |
Definition at line 1378 of file swcrsr.cxx.
References SwPosition::Assign(), g_pBreakIt, SwBreakIt::GetBreakIter(), SwPosition::GetContentIndex(), SwTextNode::GetLang(), getLength(), SwBreakIt::GetLocale(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwPaM::GetText(), SwNode::GetTextNode(), IsSelOvr(), and w.
Referenced by SwCursorShell::GoPrevWordImpl(), and SwXTextCursor::gotoPreviousWord().
bool SwCursor::GoSentence | ( | SentenceMoveType | eMoveType, |
SwRootFrame const * | pLayout = nullptr |
||
) |
Definition at line 1552 of file swcrsr.cxx.
References SwPosition::Assign(), END_SENT, g_pBreakIt, SwBreakIt::GetBreakIter(), SwPosition::GetContentIndex(), SwTextNode::GetLang(), getLength(), SwBreakIt::GetLocale(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwPaM::GetText(), SwNode::GetTextNode(), IsSelOvr(), lcl_MaskDeletedRedlines(), NEXT_SENT, PREV_SENT, START_SENT, and w.
Referenced by SwCursorShell::GoEndSentenceImpl(), SwCursorShell::GoNextSentenceImpl(), SwCursorShell::GoStartSentenceImpl(), SwXTextCursor::gotoEndOfSentence(), SwXTextCursor::gotoNextSentence(), SwXTextCursor::gotoPreviousSentence(), SwXTextCursor::gotoStartOfSentence(), SwXTextCursor::isEndOfSentence(), IsStartEndSentence(), SwXTextCursor::isStartOfSentence(), and SwDoc::Spell().
bool SwCursor::GoStartWordWT | ( | sal_Int16 | nWordType, |
SwRootFrame const * | pLayout = nullptr |
||
) |
Definition at line 1291 of file swcrsr.cxx.
References SwPosition::Assign(), g_pBreakIt, SwBreakIt::GetBreakIter(), SwPosition::GetContentIndex(), SwTextNode::GetLang(), getLength(), SwBreakIt::GetLocale(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwPaM::GetText(), SwNode::GetTextNode(), IsSelOvr(), and w.
Referenced by SwCursorShell::GoStartWordImpl(), and SwXTextCursor::gotoStartOfWord().
bool SwCursor::GotoFootnoteAnchor | ( | ) |
Definition at line 140 of file trvlfnfl.cxx.
References SwPosition::Assign(), CheckNodeSection, SwNode::FindFootnoteStartNode(), SwNode::GetDoc(), SwDoc::GetFootnoteIdxs(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwTextAttr::GetStart(), SwTextFootnote::GetStartNode(), SwTextFootnote::GetTextNode(), IsSelOvr(), n, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), and Toggle.
Referenced by SwCursorShell::GotoFootnoteAnchor().
bool SwCursor::GotoFootnoteText | ( | ) |
Definition at line 62 of file trvlfnfl.cxx.
References SwPosition::Assign(), CheckNodeSection, SwPaM::GetDoc(), SwPosition::GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), GetStartNode(), SwTextNode::GetTextAttrForCharAt(), SwNode::GetTextNode(), SwNodes::GoNextSection(), IsReadOnlyAvailable(), IsSelOvr(), RES_TXTATR_FTN(), and Toggle.
Referenced by SwCursorShell::GotoFootnoteText().
bool SwCursor::GotoNextFootnoteAnchor | ( | ) |
Definition at line 197 of file trvlfnfl.cxx.
References SwPosition::Assign(), CmpLE(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwPosition::GetContentIndex(), SwPaM::GetDoc(), SwDoc::GetFootnoteIdxs(), GetNode(), SwPosition::GetNodeIndex(), SwPaM::GetPoint(), SwTextAttr::GetStart(), SwTextFootnote::GetTextNode(), IsSelOvr(), nPos, SwFootnoteIdxs::SeekEntry(), SvxSearchDialogWrapper::SetSearchLabel(), and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by SwCursorShell::GotoNextFootnoteAnchor().
bool SwCursor::GotoPrevFootnoteAnchor | ( | ) |
Definition at line 269 of file trvlfnfl.cxx.
References SwPosition::Assign(), CmpL(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwPosition::GetContentIndex(), SwPaM::GetDoc(), SwDoc::GetFootnoteIdxs(), GetNode(), SwPosition::GetNodeIndex(), SwPaM::GetPoint(), SwTextAttr::GetStart(), SwTextFootnote::GetTextNode(), IsSelOvr(), nPos, SwFootnoteIdxs::SeekEntry(), SvxSearchDialogWrapper::SetSearchLabel(), and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by SwCursorShell::GotoPrevFootnoteAnchor().
bool SwCursor::GotoRegion | ( | std::u16string_view | rName | ) |
Definition at line 245 of file trvlreg.cxx.
References SwPosition::Assign(), fnMoveForward, SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwPaM::GetDoc(), SwNodeIndex::GetNode(), SwNode::GetNodes(), SwPaM::GetPoint(), SwSectionFormat::GetSection(), SwSection::GetSectionName(), SwDoc::GetSections(), GoInContent(), SwNodes::IsDocNodes(), IsSelOvr(), SwPaM::Move(), n, and SwVectorModifyBase< Value >::size().
Referenced by SwCursorShell::GotoRegion().
|
virtual |
Reimplemented in SwTableCursor.
Definition at line 2250 of file swcrsr.cxx.
References SwPosition::Assign(), SwTable::FindTable(), fnMoveForward, SwPaM::GetDoc(), SwPaM::GetPoint(), SwTable::GetTabSortBoxes(), GoInContent(), SwPaM::HasMark(), IsSelOvr(), and SwPaM::Move().
Referenced by SwCursorShell::GotoTable().
bool SwCursor::GotoTableBox | ( | const OUString & | rName | ) |
Definition at line 2269 of file swcrsr.cxx.
References SwPosition::Assign(), SwNode::FindTableNode(), fnMoveForward, SwTableBox::GetFrameFormat(), SwPosition::GetNode(), SwPaM::GetPoint(), SwFormat::GetProtect(), SwTableBox::GetSttNd(), SwTableNode::GetTable(), SwTable::GetTableBox(), GoInContent(), SvxProtectItem::IsContentProtected(), IsReadOnlyAvailable(), IsSelOvr(), and SwPaM::Move().
bool SwCursor::IsAtLeftRightMargin | ( | SwRootFrame const & | rLayout, |
bool | bLeftMargin, | ||
bool | bAPI | ||
) | const |
Definition at line 2146 of file swcrsr.cxx.
References SwPosition::AdjustContent(), SwPosition::GetContentIndex(), SwContentNode::getLayoutFrame(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwFrame::IsTextFrame(), SwContentFrame::LeftMargin(), SwTextFrame::MapModelToViewPos(), and SwContentFrame::RightMargin().
Referenced by SwCursorShell::IsAtLRMargin(), and SwCursorShell::LRMargin().
|
virtual |
Return <true> if cursor can be set to this position.
Reimplemented in SwShellCursor, and SwShellTableCursor.
Definition at line 715 of file swcrsr.cxx.
References SwNode::FindSectionNode(), IDocumentLayoutAccess::GetCurrentLayout(), SwPaM::GetDoc(), SwDoc::GetDocShell(), SwDoc::getIDocumentLayoutAccess(), SwContentNode::getLayoutFrame(), SwPaM::GetMark(), SwPosition::GetNode(), SwPaM::GetPoint(), SwSectionNode::GetSection(), SwNode::IsContentNode(), SwSection::IsHiddenFlag(), SwNode::IsProtect(), SwSection::IsProtectFlag(), IsReadOnlyAvailable(), and SfxObjectShell::IsReadOnlyUI().
Referenced by SwShellCursor::IsAtValidPos().
|
inline |
Definition at line 214 of file swcrsr.hxx.
Referenced by SwEditShell::CopySelToDoc().
bool SwCursor::IsEndWordWT | ( | sal_Int16 | nWordType, |
SwRootFrame const * | pLayout = nullptr |
||
) | const |
Definition at line 1225 of file swcrsr.cxx.
References g_pBreakIt, SwBreakIt::GetBreakIter(), SwPosition::GetContentIndex(), SwTextNode::GetLang(), SwBreakIt::GetLocale(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwNode::GetTextNode(), and w.
Referenced by SwXTextCursor::gotoEndOfWord(), SwXTextCursor::isEndOfWord(), and SwCursorShell::IsEndWord().
bool SwCursor::IsInProtectTable | ( | bool | bMove = false , |
bool | bChgCursor = true |
||
) |
Definition at line 557 of file swcrsr.cxx.
References SwPosition::Assign(), SwNodeIndex::Assign(), ChangePos, SwNode::EndOfSectionNode(), SwNode::FindTableBoxStartNode(), SwNode::FindTableNode(), SwNode::GetContentNode(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwNode::GetNodes(), SwNodeIndex::GetNodes(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwPaM::GetPointNode(), SwTableBox::getRowSpan(), SwTableNode::GetTable(), SwTable::GetTableBox(), SwNodes::GoNext(), GoNextCell(), GoPrevCell(), SwPaM::HasMark(), SwNode::IsEndNode(), SwNode::IsProtect(), IsReadOnlyAvailable(), IsSelOvr(), SwNode::IsStartNode(), SwNode::IsTableNode(), m_vSavePos, RestoreSavePos(), SwPosition::SetContent(), SwNode::StartOfSectionNode(), and Toggle.
Referenced by SwCursorShell::Combine(), SwCursorShell::FindValidContentNode(), GoPrevNextCell(), SwCursorShell::GotoFlyAnchor(), SwCursorShell::GotoRedline_(), SwCursorShell::GotoTOXMarkBase(), LeftRight(), SwCursorShell::MoveColumn(), MovePara(), MoveSection(), SwCursorShell::SelectNxtPrvHyperlink(), SwCursorShell::SelNextRedline(), SwCursorShell::SelPrevRedline(), SwFEShell::SelTableRowCol(), and SttEndDoc().
bool SwCursor::IsInWordWT | ( | sal_Int16 | nWordType, |
SwRootFrame const * | pLayout = nullptr |
||
) | const |
Definition at line 1244 of file swcrsr.cxx.
References g_pBreakIt, GetAppCharClass(), SwBreakIt::GetBreakIter(), SwPosition::GetContentIndex(), SwTextNode::GetLang(), SwBreakIt::GetLocale(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwTextNode::GetText(), SwNode::GetTextNode(), CharClass::isLetterNumeric(), and w.
Referenced by SwCursorShell::IsInWord().
bool SwCursor::IsNoContent | ( | ) | const |
determine if point is outside of the node-array's content area
Definition at line 181 of file swcrsr.cxx.
References SwPaM::GetDoc(), SwNodes::GetEndOfExtras(), SwNode::GetIndex(), SwPosition::GetNodeIndex(), SwDoc::GetNodes(), and SwPaM::GetPoint().
Referenced by SwCursorShell::MovePage(), and SttEndDoc().
|
virtual |
Reimplemented in SwUnoCursor, and SwShellCursor.
Definition at line 150 of file swcrsr.cxx.
Referenced by FindAll(), GotoFootnoteText(), GotoTableBox(), IsAtValidPos(), IsInProtectTable(), IsSkipOverProtectSections(), SwRootFrame::MakeTableCursors(), MoveRegion(), MoveTable(), and UpDown().
|
virtual |
Reimplemented in SwUnoCursor, and SwUnoTableCursor.
Definition at line 222 of file swcrsr.cxx.
References SwPosition::Assign(), ChangePos, CheckNodesRange(), EnableRevDirection, SwNode::FindSectionNode(), SwNode::GetContentNode(), SwPaM::GetDoc(), SwDoc::GetDocShell(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwSectionNode::GetSection(), SwNodes::GoNextSection(), SwNodes::GoPrevSection(), SwSection::IsHiddenFlag(), SwSection::IsProtectFlag(), SfxObjectShell::IsReadOnlyUI(), IsSelOvrCheck(), IsSkipOverHiddenSections(), IsSkipOverProtectSections(), m_vSavePos, and RestoreSavePos().
Referenced by SwCursorShell::Combine(), FindAll(), SwCursorShell::GetContentAtPos(), GoEndWordWT(), GoNextWordWT(), GoPrevWordWT(), GoSentence(), GoStartWordWT(), SwCursorShell::GotoFlyAnchor(), SwCursorShell::GotoFooterText(), GotoFootnoteAnchor(), SwWrtShell::GotoFootnoteAnchor(), GotoFootnoteText(), SwCursorShell::GotoFormatField(), SwCursorShell::GotoHeaderText(), SwCursorShell::GotoINetAttr(), GotoNextFootnoteAnchor(), SwCursorShell::GotoNextOutline(), SwCursorShell::GotoNextTOXBase(), SwCursorShell::GotoNxtPrvTableFormula(), SwCursorShell::GotoNxtPrvTOXMark(), SwCursorShell::GotoOutline(), SwCursorShell::GotoPage(), GotoPrevFootnoteAnchor(), SwCursorShell::GotoPrevOutline(), SwCursorShell::GotoPrevTOXBase(), SwCursorShell::GotoRedline_(), SwCursorShell::GotoRefMark(), GotoRegion(), GotoTable(), GotoTableBox(), SwCursorShell::GotoTOXMark(), SwCursorShell::GotoTOXMarkBase(), IsInProtectTable(), SwUnoCursor::IsSelOvr(), LeftRight(), LeftRightMargin(), SwCursorShell::MakeOutlineSel(), SwCursorShell::MoveColumn(), SwCursorShell::MoveCursorToNum(), SwCursorShell::MoveFieldType(), SwCursorShell::MovePage(), MovePara(), MoveRegion(), MoveSection(), MoveTable(), SwCursorShell::SelectNxtPrvHyperlink(), SwCursorShell::SelectTextModel(), SelectWordWT(), SwCursorShell::SelNextRedline(), SwCursorShell::SelPrevRedline(), SwCursorShell::SetCursor(), SwCursorShell::SetCursorInHdFt(), SttEndDoc(), and UpDown().
|
protectedvirtual |
Reimplemented in SwTableCursor.
Definition at line 187 of file swcrsr.cxx.
Referenced by IsSelOvr(), and SwTableCursor::IsSelOvrCheck().
|
virtual |
|
virtual |
Reimplemented in SwUnoCursor.
Definition at line 160 of file swcrsr.cxx.
References IsReadOnlyAvailable().
Referenced by IsSelOvr().
bool SwCursor::IsStartEndSentence | ( | bool | bEnd, |
SwRootFrame const * | pLayout | ||
) | const |
Definition at line 1275 of file swcrsr.cxx.
References END_SENT, SwPosition::GetContentIndex(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), GoSentence(), SwRootFrame::HasMergedParas(), SwContentNode::Len(), and START_SENT.
Referenced by SwCursorShell::IsEndSentence(), and SwCursorShell::IsStartSentence().
bool SwCursor::IsStartWordWT | ( | sal_Int16 | nWordType, |
SwRootFrame const * | pLayout = nullptr |
||
) | const |
Definition at line 1207 of file swcrsr.cxx.
References g_pBreakIt, SwBreakIt::GetBreakIter(), SwPosition::GetContentIndex(), SwTextNode::GetLang(), SwBreakIt::GetLocale(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwNode::GetTextNode(), and w.
Referenced by SwXTextCursor::gotoNextSentence(), SwXTextCursor::gotoStartOfWord(), SwXTextCursor::isStartOfWord(), and SwCursorShell::IsStartWord().
|
inline |
Definition at line 172 of file swcrsr.hxx.
References Chars.
Referenced by SwXTextRange::DeleteAndInsert(), SwXTextTableCursor::goLeft(), SwXTextCursor::goLeft(), SwXTextCursor::gotoPreviousWord(), SwXText::insertControlCharacter(), sw::MakeInsertText(), and SwUnoCursorHelper::SetString().
|
virtual |
Reimplemented in SwTableCursor.
Definition at line 1730 of file swcrsr.cxx.
References SwPosition::Assign(), Cells, CH_TXT_ATR_FIELDEND, CH_TXT_ATR_FIELDSTART, ChangePos, DoSetBidiLevelLeftRight(), SwTableBox::FindEndOfRowSpan(), sw::mark::FindFieldSep(), SwTableBox::FindStartOfRowSpan(), SwNode::FindTableBoxStartNode(), SwNode::FindTableNode(), fnMoveBackward, fnMoveForward, SwNode::GetContentNode(), GetContentNode(), SwPaM::GetDoc(), SwDoc::GetEditShell(), IDocumentMarkAccess::getFieldmarkAt(), SwRootFrame::GetFieldmarkMode(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), SwPosition::GetNode(), GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwTableBox::getRowSpan(), SwTableBox::GetSttNd(), SwTableNode::GetTable(), SwNode::GetTableBox(), SwTextNode::GetText(), SwTextNode::GetTextAttrAt(), SwNode::GetTextNode(), SwViewShell::GetViewOptions(), GoInContent(), GoInContentCells(), GoInContentCellsSkipHidden(), GoInContentSkipHidden(), SwNodes::GoNextSection(), IsInProtectTable(), SwFrame::IsRightToLeft(), IsSelOvr(), SwViewOption::IsShowOutlineContentVisibilityButton(), SwNode::IsTextNode(), SwContentFrame::LeftMargin(), SwContentNode::Len(), SwTextNode::Len(), m_nRowSpanOffset, SwTextFrame::MapModelToViewPos(), SwPaM::Move(), sw::Parent, RES_TXTATR_INPUTFIELD(), RestoreSavePos(), SwContentFrame::RightMargin(), SwPosition::SetContent(), sw::ShowCommand, sw::ShowResult, and Toggle.
Referenced by SwCursorShell::LeftRight().
bool SwCursor::LeftRightMargin | ( | SwRootFrame const & | rLayout, |
bool | bLeftMargin, | ||
bool | bAPI | ||
) |
Definition at line 2129 of file swcrsr.cxx.
References ChangePos, SwContentNode::getLayoutFrame(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwFrame::IsRightToLeft(), IsSelOvr(), SwContentFrame::LeftMargin(), SwContentFrame::RightMargin(), SetCursorBidiLevel(), and Toggle.
Referenced by SwCursorShell::LRMargin().
SwMoveFnCollection const & SwCursor::MakeFindRange | ( | SwDocPositions | nStart, |
SwDocPositions | nEnd, | ||
SwPaM * | pRange | ||
) | const |
set range for search in document
Definition at line 744 of file swcrsr.cxx.
References Curr, End, FillFindPos(), fnMoveBackward, fnMoveForward, SwPaM::GetMark(), SwPaM::GetPoint(), OtherEnd, OtherStart, SwPaM::SetMark(), and Start.
Referenced by FindAll(), and SwCursorShell::MakeFindRange().
|
virtual |
Reimplemented in SwShellCursor, and SwShellTableCursor.
Definition at line 1138 of file swcrsr.cxx.
References RET_YES.
Referenced by lcl_FindSelection().
bool SwCursor::MovePara | ( | SwWhichPara | fnWhichPara, |
SwMoveFnCollection const & | fnPosPara | ||
) |
Definition at line 2290 of file swcrsr.cxx.
References ChangePos, fnMoveForward, SwNode::GetContentNode(), SwNode::GetIndex(), SwPosition::GetNode(), SwNode::GetNodes(), SwPaM::GetPoint(), GoCurrPara(), GoNextPara(), IsInProtectTable(), IsSelOvr(), SwNode::IsTextNode(), SwContentNode::Len(), and Toggle.
Referenced by SwXText::convertToTextFrame(), SwXTextCursor::gotoEndOfParagraph(), SwXTextCursor::gotoEndOfSentence(), SwXTextCursor::gotoNextParagraph(), SwXTextCursor::gotoNextSentence(), SwXTextCursor::gotoNextWord(), SwXTextCursor::gotoPreviousParagraph(), SwXTextCursor::gotoPreviousSentence(), SwXTextCursor::gotoStartOfParagraph(), SwCursorShell::MovePara(), and SwXParagraph::setString().
bool SwCursor::MoveRegion | ( | SwWhichRegion | fnWhichRegion, |
SwMoveFnCollection const & | fnPosRegion | ||
) |
Definition at line 226 of file trvlreg.cxx.
References SwPosition::GetContentIndex(), SwPosition::GetNodeIndex(), SwPaM::GetPoint(), IsReadOnlyAvailable(), IsSelOvr(), and m_vSavePos.
Referenced by SwCursorShell::MoveRegion().
bool SwCursor::MoveSection | ( | SwWhichSection | fnWhichSect, |
SwMoveFnCollection const & | fnPosSect | ||
) |
Definition at line 2329 of file swcrsr.cxx.
References ChangePos, IsInProtectTable(), IsSelOvr(), and Toggle.
Referenced by SwXTextCursor::gotoEnd(), SwXTextCursor::gotoStart(), and SwCursorShell::MoveSection().
bool SwCursor::MoveTable | ( | SwWhichTable | fnWhichTable, |
SwMoveFnCollection const & | fnPosTable | ||
) |
Definition at line 664 of file trvltbl.cxx.
References CheckNodeSection, SwPaM::HasMark(), IsReadOnlyAvailable(), IsSelOvr(), and Toggle.
Referenced by SwXTextTableCursor::gotoEnd(), SwXTextTableCursor::gotoStart(), and SwCursorShell::MoveTable().
void SwCursor::RestoreSavePos | ( | ) |
Restore cursor state to the one saved by SwCursorSaveState.
Definition at line 2339 of file swcrsr.cxx.
References SwPosition::Assign(), Count, SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwContentNode::Len(), m_vSavePos, and SwPosition::SetContent().
Referenced by SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwCursorShell::GotoRedline_(), IMPL_LINK(), IsInProtectTable(), IsSelOvr(), LeftRight(), SwWrtShell::SelectNextPrevHyperlink(), SelectWordWT(), and SwFEShell::SelTableRowCol().
|
protected |
Definition at line 172 of file swcrsr.cxx.
References m_vSavePos.
Referenced by SwCursorSaveState::~SwCursorSaveState().
|
inline |
Definition at line 173 of file swcrsr.hxx.
References Chars.
Referenced by SwXTextTableCursor::goRight(), SwXTextCursor::goRight(), SwXTextCursor::gotoNextWord(), lcl_CreatePortions(), lcl_ExportFieldMark(), and lcl_ExportHints().
|
protected |
Definition at line 167 of file swcrsr.cxx.
References m_vSavePos.
Referenced by SwCursorSaveState::SwCursorSaveState().
|
virtual |
Reimplemented in SwShellCursor, and SwShellTableCursor.
Definition at line 741 of file swcrsr.cxx.
bool SwCursor::SelectWord | ( | SwViewShell const * | pViewShell, |
const Point * | pPt | ||
) |
Definition at line 1202 of file swcrsr.cxx.
References SelectWordWT().
Referenced by SwCursorShell::SelectWord().
bool SwCursor::SelectWordWT | ( | SwViewShell const * | pViewShell, |
sal_Int16 | nWordType, | ||
const Point * | pPt | ||
) |
Definition at line 1413 of file swcrsr.cxx.
References SwPosition::AdjustContent(), SwPosition::Assign(), IDocumentMarkAccess::DATE_FIELDMARK, SwPaM::DeleteMark(), sw::mark::FindFieldSep(), g_pBreakIt, IDocumentMarkAccess::getAnnotationMarkFor(), SwBreakIt::GetBreakIter(), SwPosition::GetContentIndex(), SwPaM::GetDoc(), SwDoc::getIDocumentMarkAccess(), IDocumentMarkAccess::getInnerFieldmarkFor(), SwTextNode::GetLang(), SwViewShell::GetLayout(), SwBreakIt::GetLocale(), SwPaM::GetMark(), SwRootFrame::GetModelPositionForViewPoint(), SwPosition::GetNode(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwNode::GetTextNode(), IDocumentMarkAccess::GetType(), comphelper::LibreOfficeKit::isActive(), IsSelOvr(), RestoreSavePos(), SwPaM::SetMark(), IDocumentMarkAccess::TEXT_FIELDMARK, and w.
Referenced by SelectWord().
|
inline |
Definition at line 215 of file swcrsr.hxx.
Referenced by SwCursorShell::KillPams(), and SwCursorShell::RefreshBlockCursor().
|
inline |
Definition at line 212 of file swcrsr.hxx.
Referenced by DoSetBidiLevelLeftRight(), DoSetBidiLevelUpDown(), SwEditShell::Insert2(), LeftRightMargin(), and SwCursorShell::SetCursor().
bool SwCursor::SttEndDoc | ( | bool | bSttDoc | ) |
Definition at line 2167 of file swcrsr.cxx.
References ChangePos, EnableRevDirection, fnMoveBackward, fnMoveForward, GoInDoc(), SwPaM::HasMark(), IsInProtectTable(), IsNoContent(), IsSelOvr(), SwPaM::Move(), and Toggle.
Referenced by SwCursorShell::SttEndDoc().
bool SwCursor::UpDown | ( | bool | bUp, |
sal_uInt16 | nCnt, | ||
Point const * | pPt, | ||
tools::Long | nUpDownX, | ||
SwRootFrame & | rLayout | ||
) |
Definition at line 1989 of file swcrsr.cxx.
References a, SwPosition::Assign(), SwFrame::Calc(), SwRect::Center(), ChangePos, CheckNodesRange(), DoSetBidiLevelUpDown(), SwPaM::End(), SwNode::EndOfSectionNode(), SwPaM::Exchange(), SwNode::FindTableBoxStartNode(), fnMoveBackward, SwFrame::GetCharRect(), SwPosition::GetContentIndex(), SwRootFrame::GetCurrShell(), SwPaM::GetDoc(), SwFrameAreaDefinition::getFrameArea(), SwContentNode::getLayoutFrame(), SwPaM::GetMarkNode(), SwFrame::GetModelPositionForViewPoint(), SwPosition::GetNode(), GetNode(), SwViewShell::GetOut(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwPaM::GetPointNode(), SwTextNode::GetText(), SwNode::GetTextNode(), Point::getX(), Point::getY(), GoInNode(), SwPaM::HasMark(), SwFrame::IsInFootnote(), IsReadOnlyAvailable(), IsSelOvr(), SwFrame::IsVertical(), SwRect::Left(), SwCursorMoveState::m_bSetInReadOnly, SwPaM::Move(), SwRect::Pos(), Point::setX(), Point::setY(), SwNode::StartOfSectionNode(), Toggle, SwRect::Top(), SwContentFrame::UnitDown(), SwContentFrame::UnitUp(), and UpDown.
Referenced by SwXTextTableCursor::goDown(), SwXTextTableCursor::goUp(), SwFEShell::Paste(), and SwShellCursor::UpDown().
|
friend |
Definition at line 72 of file swcrsr.hxx.
|
private |
Definition at line 77 of file swcrsr.hxx.
|
private |
Definition at line 76 of file swcrsr.hxx.
|
private |
Definition at line 75 of file swcrsr.hxx.
Referenced by GoPrevNextCell(), and LeftRight().
|
private |
Definition at line 74 of file swcrsr.hxx.
Referenced by GetSavePos(), IsInProtectTable(), IsSelOvr(), MoveRegion(), RestoreSavePos(), RestoreState(), and SaveState().