LibreOffice Module sw (master)
1
|
#include <swcrsr.hxx>
Public Types | |
enum | SentenceMoveType { NEXT_SENT, PREV_SENT, START_SENT, END_SENT } |
![]() | |
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 &)=default |
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_uLong | Find_Text (const i18nutil::SearchOptions2 &rSearchOpt, bool bSearchInNotes, SwDocPositions nStart, SwDocPositions nEnd, bool &bCancel, FindRanges, bool bReplace=false, SwRootFrame const *const pLayout=nullptr) |
sal_uLong | 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_uLong | 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) |
bool | ExpandToSentenceBorders (SwRootFrame const *pLayout) |
virtual bool | LeftRight (bool bLeft, sal_uInt16 nCnt, sal_uInt16 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) |
tools::Long | GetCursorRowSpanOffset () const |
SwCursor * | GetNext () |
const SwCursor * | GetNext () const |
SwCursor * | GetPrev () |
const SwCursor * | GetPrev () const |
![]() | |
SwPaM (const SwPosition &rPos, SwPaM *pRing=nullptr) | |
SwPaM (const SwPosition &rMk, const SwPosition &rPt, SwPaM *pRing=nullptr) | |
SwPaM (const SwNodeIndex &rMk, const SwNodeIndex &rPt, tools::Long nMkOffset=0, tools::Long nPtOffset=0, SwPaM *pRing=nullptr) | |
SwPaM (const SwNode &rMk, const SwNode &rPt, tools::Long nMkOffset=0, tools::Long nPtOffset=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 &rNd, sal_Int32 nContent=0, SwPaM *pRing=nullptr) | |
SwPaM (const SwNodeIndex &rNd, sal_Int32 nContent=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 () |
SwNode & | GetNode (bool bPoint=true) const |
SwContentNode * | GetContentNode (bool bPoint=true) 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) const |
Is in something protected (readonly) or selection contains something protected. 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 |
![]() | |
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) |
![]() | |
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_uLong | FindAll (SwFindParas &, SwDocPositions, SwDocPositions, FindRanges, bool &bCancel) |
SwCursor (SwCursor const &rPaM)=delete | |
Private Attributes | |
std::vector< SwCursor_SavePos > | m_vSavePos |
tools::Long | 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 126 of file swcrsr.cxx.
|
overridevirtual |
Definition at line 143 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 135 of file swcrsr.cxx.
Reimplemented in SwShellTableCursor, and SwShellCursor.
Definition at line 147 of file swcrsr.cxx.
References SwPaM::GetPoint(), and SwCursor().
Referenced by FindAll(), lcl_FindSelection(), and SwTableCursor::MakeBoxSels().
|
protectedvirtual |
Reimplemented in SwUnoCursor.
Definition at line 1688 of file swcrsr.cxx.
References SwScriptInfo::DirType(), SvtCTLOptions::GetCTLCursorMovement(), GetCursorBidiLevel(), SwPaM::GetDoc(), SwIndex::GetIndex(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SwScriptInfo::GetScriptInfo(), SwNode::GetTextNode(), SvtCTLOptions::IsCTLFontEnabled(), SwNode::IsTextNode(), SwTextFrame::MapModelToView(), SwTextFrame::MapModelToViewPos(), SwTextFrame::MapViewToModelPos(), SvtCTLOptions::MOVEMENT_VISUAL, SwPosition::nContent, nIndex, SwPosition::nNode, nPos, Point, SwTextFrame::PrepareVisualMove(), SetCursorBidiLevel(), and SW_MOD.
Referenced by LeftRight().
|
protectedvirtual |
Reimplemented in SwUnoCursor.
Definition at line 1959 of file swcrsr.cxx.
References SwScriptInfo::DirType(), SwIndex::GetIndex(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SwScriptInfo::GetScriptInfo(), SwTextNode::GetText(), SwNode::GetTextNode(), SwNode::IsTextNode(), SwTextFrame::MapModelToView(), SwPosition::nContent, nIndex, SwPosition::nNode, nPos, and SetCursorBidiLevel().
Referenced by UpDown().
bool SwCursor::ExpandToSentenceBorders | ( | SwRootFrame const * | pLayout | ) |
Definition at line 1627 of file swcrsr.cxx.
References SwPaM::End(), g_pBreakIt, SwBreakIt::GetBreakIter(), SwIndex::GetIndex(), SwTextNode::GetLang(), getLength(), SwBreakIt::GetLocale(), SwPaM::GetMark(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SwPaM::GetText(), SwNode::GetTextNode(), SwPaM::HasMark(), IsSelOvr(), lcl_MaskDeletedRedlines(), SwPosition::nContent, SwPosition::nNode, SwPaM::SetMark(), SwPaM::Start(), and w.
Referenced by SwCursorShell::ExpandToSentenceBorders().
void SwCursor::FillFindPos | ( | SwDocPositions | ePos, |
SwPosition & | rPos | ||
) | const |
Definition at line 1105 of file swcrsr.cxx.
References SwIndex::Assign(), End, SwPaM::GetDoc(), SwNodes::GetEndOfContent(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwNodes::GoNext(), SwNodes::GoPrevious(), SwContentNode::Len(), SwPosition::nContent, SwPosition::nNode, OtherEnd, OtherStart, Start, and SwNode::StartOfSectionNode().
Referenced by MakeFindRange(), and SwEditShell::SpellStart().
sal_uLong 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 1013 of file findtxt.cxx.
References IDocumentUndoRedo::DoesUndo(), IDocumentUndoRedo::EndUndo(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwDoc::GetOle2Link(), InSel, MakeUndoReplaceRewriter(), REPLACE, i18nutil::SearchOptions::replaceString, i18nutil::SearchOptions::searchFlag, i18nutil::SearchOptions::searchString, IDocumentState::SetModified(), SwDoc::SetOle2Link(), and IDocumentUndoRedo::StartUndo().
Referenced by SwCursorShell::Find_Text().
|
private |
Definition at line 952 of file swcrsr.cxx.
References Create(), SwPaM::DeleteMark(), SwFindParas::DoFind(), fnMoveBackward, SwPaM::GetDoc(), SwNodes::GetEndOfContent(), SwNodes::GetEndOfExtras(), SwNodes::GetEndOfPostIts(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwPaM::GetMark(), GetNext(), SwDoc::GetNodes(), SwPaM::GetPoint(), sw::Ring< value_type >::GetRingContainer(), sw::Ring< SwPaM >::GetRingContainer(), SwPaM::HasMark(), InBody, InBodyOnly, InOther, InSel, InSelAll, IsReadOnlyAvailable(), IsSelOvr(), lcl_FindSelection(), lcl_MakeSelBkwrd(), lcl_MakeSelFwrd(), MakeFindRange(), sw::RingContainer< value_type >::merge(), SwPosition::nNode, SwPaM::SetMark(), SwNode::StartOfSectionNode(), and Toggle.
Referenced by FindAttrs(), and FindFormat().
sal_uLong 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 1413 of file findattr.cxx.
References SfxItemSet::Count(), IDocumentUndoRedo::DoesUndo(), IDocumentUndoRedo::EndUndo(), FindAll(), SwPaM::GetDoc(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwDoc::GetOle2Link(), REPLACE, i18nutil::SearchOptions::replaceString, IDocumentState::SetModified(), SwDoc::SetOle2Link(), and IDocumentUndoRedo::StartUndo().
Referenced by SwCursorShell::FindAttrs().
sal_uLong 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(), IDocumentUndoRedo::DoesUndo(), END, IDocumentUndoRedo::EndUndo(), FindAll(), SwPaM::GetDoc(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwFormat::GetName(), SwDoc::GetOle2Link(), IDocumentState::SetModified(), SwDoc::SetOle2Link(), IDocumentUndoRedo::StartUndo(), 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(), FindAll(), 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().
|
inline |
Definition at line 222 of file swcrsr.hxx.
References sw::Ring< SwPaM >::GetPrevInRing().
|
inlineprotected |
Definition at line 87 of file swcrsr.hxx.
Referenced by SwUnoCursor::IsSelOvr(), SwUnoTableCursor::IsSelOvr(), and SwTableCursor::IsSelOvrCheck().
bool SwCursor::GoEndWordWT | ( | sal_Int16 | nWordType, |
SwRootFrame const * | pLayout = nullptr |
||
) |
Definition at line 1323 of file swcrsr.cxx.
References g_pBreakIt, SwBreakIt::GetBreakIter(), SwIndex::GetIndex(), SwTextNode::GetLang(), SwBreakIt::GetLocale(), SwPaM::GetNode(), SwPaM::GetPoint(), SwPaM::GetText(), SwNode::GetTextNode(), IsSelOvr(), SwPosition::nContent, and w.
Referenced by SwCursorShell::GoEndWordImpl().
|
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 1353 of file swcrsr.cxx.
References g_pBreakIt, SwBreakIt::GetBreakIter(), SwIndex::GetIndex(), SwTextNode::GetLang(), SwBreakIt::GetLocale(), SwPaM::GetNode(), SwPaM::GetPoint(), SwPaM::GetText(), SwNode::GetTextNode(), IsSelOvr(), SwPosition::nContent, and w.
Referenced by SwCursorShell::GoNextWordImpl().
|
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 2178 of file swcrsr.cxx.
References SwIndex::Assign(), SwNodeIndex::Assign(), SwNode::EndOfSectionNode(), SwTableBox::FindEndOfRowSpan(), SwTableBox::FindStartOfRowSpan(), SwNode::FindTableBoxStartNode(), SwNode::FindTableNode(), SwPaM::GetContentNode(), SwPaM::GetDoc(), SwNodeIndex::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::nContent, SwPosition::nNode, and SwNode::StartOfSectionNode().
bool SwCursor::GoPrevWordWT | ( | sal_Int16 | nWordType, |
SwRootFrame const * | pLayout = nullptr |
||
) |
Definition at line 1381 of file swcrsr.cxx.
References g_pBreakIt, SwBreakIt::GetBreakIter(), SwIndex::GetIndex(), SwTextNode::GetLang(), SwBreakIt::GetLocale(), SwPaM::GetNode(), SwPaM::GetPoint(), SwPaM::GetText(), SwNode::GetTextNode(), IsSelOvr(), SwPosition::nContent, and w.
Referenced by SwCursorShell::GoPrevWordImpl().
bool SwCursor::GoSentence | ( | SentenceMoveType | eMoveType, |
SwRootFrame const * | pLayout = nullptr |
||
) |
Definition at line 1556 of file swcrsr.cxx.
References END_SENT, g_pBreakIt, SwBreakIt::GetBreakIter(), SwIndex::GetIndex(), SwTextNode::GetLang(), SwBreakIt::GetLocale(), SwPaM::GetNode(), SwPaM::GetPoint(), SwPaM::GetText(), SwNode::GetTextNode(), IsSelOvr(), lcl_MaskDeletedRedlines(), SwPosition::nContent, NEXT_SENT, PREV_SENT, START_SENT, and w.
Referenced by SwCursorShell::GoEndSentenceImpl(), SwCursorShell::GoNextSentenceImpl(), SwCursorShell::GoStartSentenceImpl(), IsStartEndSentence(), and SwDoc::Spell().
bool SwCursor::GoStartWordWT | ( | sal_Int16 | nWordType, |
SwRootFrame const * | pLayout = nullptr |
||
) |
Definition at line 1294 of file swcrsr.cxx.
References g_pBreakIt, SwBreakIt::GetBreakIter(), SwIndex::GetIndex(), SwTextNode::GetLang(), SwBreakIt::GetLocale(), SwPaM::GetNode(), SwPaM::GetPoint(), SwPaM::GetText(), SwNode::GetTextNode(), IsSelOvr(), SwPosition::nContent, and w.
Referenced by SwCursorShell::GoStartWordImpl().
bool SwCursor::GotoFootnoteAnchor | ( | ) |
Definition at line 134 of file trvlfnfl.cxx.
References SwIndex::Assign(), CheckNodeSection, SwNode::FindFootnoteStartNode(), SwNode::GetDoc(), SwDoc::GetFootnoteIdxs(), SwNodeIndex::GetNode(), SwPaM::GetNode(), SwPaM::GetPoint(), SwTextAttr::GetStart(), SwTextFootnote::GetStartNode(), SwTextFootnote::GetTextNode(), IsSelOvr(), n, SwPosition::nContent, SwPosition::nNode, o3tl::sorted_vector< Value, Compare, Find, class >::size(), and Toggle.
Referenced by SwCursorShell::GotoFootnoteAnchor().
bool SwCursor::GotoFootnoteText | ( | ) |
Definition at line 55 of file trvlfnfl.cxx.
References SwIndex::Assign(), CheckNodeSection, SwPaM::GetDoc(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), GetStartNode(), SwTextNode::GetTextAttrForCharAt(), SwNode::GetTextNode(), SwNodes::GoNextSection(), IsReadOnlyAvailable(), IsSelOvr(), SwPosition::nContent, SwPosition::nNode, RES_TXTATR_FTN(), and Toggle.
Referenced by SwCursorShell::GotoFootnoteText().
bool SwCursor::GotoNextFootnoteAnchor | ( | ) |
Definition at line 189 of file trvlfnfl.cxx.
References SwIndex::Assign(), CmpLE(), o3tl::sorted_vector< Value, Compare, Find, class >::empty(), SwPaM::GetDoc(), SwDoc::GetFootnoteIdxs(), SwIndex::GetIndex(), SwNodeIndex::GetIndex(), SwPaM::GetPoint(), SwTextAttr::GetStart(), SwTextFootnote::GetTextNode(), IsSelOvr(), SwPosition::nContent, SwPosition::nNode, nPos, SwFootnoteIdxs::SeekEntry(), SvxSearchDialogWrapper::SetSearchLabel(), and o3tl::sorted_vector< Value, Compare, Find, class >::size().
Referenced by SwCursorShell::GotoNextFootnoteAnchor().
bool SwCursor::GotoPrevFootnoteAnchor | ( | ) |
Definition at line 262 of file trvlfnfl.cxx.
References SwIndex::Assign(), CmpL(), o3tl::sorted_vector< Value, Compare, Find, class >::empty(), SwPaM::GetDoc(), SwDoc::GetFootnoteIdxs(), SwIndex::GetIndex(), SwNodeIndex::GetIndex(), SwPaM::GetPoint(), SwTextAttr::GetStart(), SwTextFootnote::GetTextNode(), IsSelOvr(), SwPosition::nContent, SwPosition::nNode, nPos, SwFootnoteIdxs::SeekEntry(), SvxSearchDialogWrapper::SetSearchLabel(), and o3tl::sorted_vector< Value, Compare, Find, class >::size().
Referenced by SwCursorShell::GotoPrevFootnoteAnchor().
bool SwCursor::GotoRegion | ( | std::u16string_view | rName | ) |
Definition at line 245 of file trvlreg.cxx.
References 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, SwPosition::nNode, and SwVectorModifyBase< Value >::size().
Referenced by SwCursorShell::GotoRegion().
|
virtual |
Reimplemented in SwTableCursor.
Definition at line 2248 of file swcrsr.cxx.
References SwTable::FindTable(), fnMoveForward, SwPaM::GetDoc(), SwPaM::GetPoint(), SwTable::GetTabSortBoxes(), GoInContent(), SwPaM::HasMark(), IsSelOvr(), SwPaM::Move(), and SwPosition::nNode.
Referenced by SwCursorShell::GotoTable().
bool SwCursor::GotoTableBox | ( | const OUString & | rName | ) |
Definition at line 2267 of file swcrsr.cxx.
References SwNode::FindTableNode(), fnMoveForward, SwTableBox::GetFrameFormat(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SwFormat::GetProtect(), SwTableBox::GetSttNd(), SwTableNode::GetTable(), SwTable::GetTableBox(), GoInContent(), SvxProtectItem::IsContentProtected(), IsReadOnlyAvailable(), IsSelOvr(), SwPaM::Move(), and SwPosition::nNode.
bool SwCursor::IsAtLeftRightMargin | ( | SwRootFrame const & | rLayout, |
bool | bLeftMargin, | ||
bool | bAPI | ||
) | const |
Definition at line 2142 of file swcrsr.cxx.
References SwPaM::GetContentNode(), SwIndex::GetIndex(), SwContentNode::getLayoutFrame(), SwPaM::GetPoint(), SwFrame::IsTextFrame(), SwContentFrame::LeftMargin(), SwTextFrame::MapModelToViewPos(), SwPosition::nContent, Point, and SwContentFrame::RightMargin().
Referenced by SwCursorShell::IsAtLRMargin().
|
virtual |
Return <true> if cursor can be set to this position.
Reimplemented in SwShellTableCursor, and SwShellCursor.
Definition at line 718 of file swcrsr.cxx.
References SwNode::FindSectionNode(), IDocumentLayoutAccess::GetCurrentLayout(), SwPaM::GetDoc(), SwDoc::GetDocShell(), SwDoc::getIDocumentLayoutAccess(), SwPaM::GetMark(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), SwSectionNode::GetSection(), SwNode::IsContentNode(), SwSection::IsHiddenFlag(), SwNode::IsProtect(), SwSection::IsProtectFlag(), IsReadOnlyAvailable(), SfxObjectShell::IsReadOnlyUI(), and SwPosition::nNode.
Referenced by SwShellCursor::IsAtValidPos(), and IsSelOvr().
|
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 1228 of file swcrsr.cxx.
References g_pBreakIt, SwBreakIt::GetBreakIter(), SwIndex::GetIndex(), SwTextNode::GetLang(), SwBreakIt::GetLocale(), SwPaM::GetNode(), SwPaM::GetPoint(), SwNode::GetTextNode(), SwPosition::nContent, and w.
Referenced by SwXTextCursor::isEndOfWord(), and SwCursorShell::IsEndWord().
bool SwCursor::IsInProtectTable | ( | bool | bMove = false , |
bool | bChgCursor = true |
||
) |
Definition at line 566 of file swcrsr.cxx.
References SwIndex::Assign(), SwNodeIndex::Assign(), ChangePos, SwNode::EndOfSectionNode(), SwNode::FindTableBoxStartNode(), SwNode::FindTableNode(), SwNode::GetContentNode(), SwPaM::GetContentNode(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwPaM::GetNode(), SwNodeIndex::GetNodes(), SwNode::GetNodes(), SwPaM::GetPoint(), SwTableBox::getRowSpan(), SwTableNode::GetTable(), SwTable::GetTableBox(), SwNodes::GoNext(), GoNextCell(), GoPrevCell(), SwPaM::HasMark(), SwNode::IsEndNode(), SwNode::IsProtect(), IsReadOnlyAvailable(), IsSelOvr(), SwNode::IsStartNode(), SwNode::IsTableNode(), m_vSavePos, SwPosition::nContent, SwPosition::nNode, RestoreSavePos(), SwNode::StartOfSectionNode(), and Toggle.
Referenced by SwCursorShell::FindValidContentNode(), GoPrevNextCell(), SwCursorShell::GotoFlyAnchor(), SwCursorShell::GotoRedline_(), SwCursorShell::GotoTOXMarkBase(), IsSelOvr(), 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 1247 of file swcrsr.cxx.
References g_pBreakIt, GetAppCharClass(), SwBreakIt::GetBreakIter(), SwIndex::GetIndex(), SwTextNode::GetLang(), SwBreakIt::GetLocale(), SwPaM::GetNode(), SwPaM::GetPoint(), SwTextNode::GetText(), SwNode::GetTextNode(), CharClass::isLetterNumeric(), SwPosition::nContent, 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 183 of file swcrsr.cxx.
References SwPaM::GetDoc(), SwNodes::GetEndOfExtras(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwDoc::GetNodes(), SwPaM::GetPoint(), and SwPosition::nNode.
Referenced by SttEndDoc().
|
virtual |
Reimplemented in SwShellCursor, and SwUnoCursor.
Definition at line 152 of file swcrsr.cxx.
Referenced by FindAll(), GotoFootnoteText(), GotoTableBox(), IsAtValidPos(), IsInProtectTable(), IsSkipOverProtectSections(), SwRootFrame::MakeTableCursors(), MoveRegion(), MoveTable(), and UpDown().
|
virtual |
Reimplemented in SwUnoTableCursor, and SwUnoCursor.
Definition at line 224 of file swcrsr.cxx.
References assert(), SwIndex::Assign(), ChangePos, CheckNodesRange(), Content, SwPaM::DeleteMark(), EnableRevDirection, SwTextAttr::End(), SwNode::EndOfSectionIndex(), SwNode::FindSectionNode(), SwNode::FindTableNode(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwNode::GetContentNode(), IDocumentLayoutAccess::GetCurrentLayout(), SwPaM::GetDoc(), SwDoc::GetDocShell(), SwNodes::GetEndOfExtras(), SwFrameAreaDefinition::getFrameArea(), SwDoc::getIDocumentLayoutAccess(), SwIndex::GetIndex(), SwNodeIndex::GetIndex(), SwPaM::GetMark(), SwContentFrame::GetNextContentFrame(), SwNodeIndex::GetNode(), SwPaM::GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwContentFrame::GetPrevContentFrame(), SwFormat::GetProtect(), SwSectionFormat::GetSection(), SwSectionNode::GetSection(), SwDoc::GetSections(), SwTextAttr::GetStart(), SwNode::GetTableNode(), SwTextFrame::GetText(), SwNode::GetTextNode(), SwSection::GetType(), SwNodes::GoNext(), SwNodes::GoNextSection(), SwNodes::GoPrevSection(), SwPaM::HasMark(), SwRect::Height(), IsAtValidPos(), SwNode::IsContentNode(), SvxProtectItem::IsContentProtected(), SwNode::IsEndNode(), SwFrameAreaDefinition::isFrameAreaDefinitionValid(), SwSection::IsHiddenFlag(), IsInProtectTable(), SwFrame::IsNoTextFrame(), SwSection::IsProtectFlag(), SfxObjectShell::IsReadOnlyUI(), SwNode::IsSectionNode(), IsSelOvrCheck(), IsSkipOverHiddenSections(), IsSkipOverProtectSections(), SwFrame::IsTextFrame(), SwContentNode::Len(), m_vSavePos, SwTextFrame::MapViewToModelPos(), n, SwPosition::nContent, SwPosition::nNode, RestoreSavePos(), SwVectorModifyBase< Value >::size(), SwNode::StartOfSectionNode(), and Toggle.
Referenced by ExpandToSentenceBorders(), FindAll(), SwCursorShell::GetContentAtPos(), GoEndWordWT(), GoNextWordWT(), GoPrevWordWT(), GoSentence(), GoStartWordWT(), SwCursorShell::GotoFlyAnchor(), SwCursorShell::GotoFooterText(), GotoFootnoteAnchor(), GotoFootnoteText(), SwCursorShell::GotoFormatField(), SwCursorShell::GotoHeaderText(), SwCursorShell::GotoINetAttr(), GotoNextFootnoteAnchor(), SwCursorShell::GotoNextOutline(), SwCursorShell::GotoNextTOXBase(), SwCursorShell::GotoNxtPrvTableFormula(), SwCursorShell::GotoNxtPrvTOXMark(), SwCursorShell::GotoOutline(), 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(), MovePara(), MoveRegion(), MoveSection(), MoveTable(), SwCursorShell::SelectNxtPrvHyperlink(), SwCursorShell::SelectText(), SelectWordWT(), SwCursorShell::SelNextRedline(), SwCursorShell::SelPrevRedline(), SwCursorShell::SetCursor(), SwCursorShell::SetCursorInHdFt(), SttEndDoc(), and UpDown().
|
protectedvirtual |
Reimplemented in SwTableCursor.
Definition at line 189 of file swcrsr.cxx.
Referenced by IsSelOvr(), and SwTableCursor::IsSelOvrCheck().
|
virtual |
|
virtual |
Reimplemented in SwUnoCursor.
Definition at line 162 of file swcrsr.cxx.
References IsReadOnlyAvailable().
Referenced by IsSelOvr().
bool SwCursor::IsStartEndSentence | ( | bool | bEnd, |
SwRootFrame const * | pLayout | ||
) | const |
Definition at line 1278 of file swcrsr.cxx.
References END_SENT, SwPaM::GetContentNode(), SwIndex::GetIndex(), SwPaM::GetPoint(), GoSentence(), SwRootFrame::HasMergedParas(), SwContentNode::Len(), SwPosition::nContent, and START_SENT.
Referenced by SwCursorShell::IsEndSentence(), and SwCursorShell::IsStartSentence().
bool SwCursor::IsStartWordWT | ( | sal_Int16 | nWordType, |
SwRootFrame const * | pLayout = nullptr |
||
) | const |
Definition at line 1210 of file swcrsr.cxx.
References g_pBreakIt, SwBreakIt::GetBreakIter(), SwIndex::GetIndex(), SwTextNode::GetLang(), SwBreakIt::GetLocale(), SwPaM::GetNode(), SwPaM::GetPoint(), SwNode::GetTextNode(), SwPosition::nContent, and w.
Referenced by SwXTextCursor::isStartOfWord(), and SwCursorShell::IsStartWord().
|
inline |
Definition at line 172 of file swcrsr.hxx.
References CRSR_SKIP_CHARS.
Referenced by SwXTextRange::DeleteAndInsert(), SwXTextTableCursor::goLeft(), and SwUnoCursorHelper::SetString().
|
virtual |
Reimplemented in SwTableCursor.
Definition at line 1744 of file swcrsr.cxx.
References assert(), SwIndex::Assign(), CH_TXT_ATR_FIELDEND, CH_TXT_ATR_FIELDSTART, ChangePos, CRSR_SKIP_CELLS, DoSetBidiLevelLeftRight(), SwTableBox::FindEndOfRowSpan(), sw::mark::FindFieldSep(), SwTableBox::FindStartOfRowSpan(), SwNode::FindTableBoxStartNode(), SwNode::FindTableNode(), fnMoveBackward, fnMoveForward, SwNode::GetContentNode(), SwPaM::GetContentNode(), SwPaM::GetDoc(), IDocumentMarkAccess::getFieldmarkAt(), SwRootFrame::GetFieldmarkMode(), SwIndex::GetIndex(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwFlowFrame::GetPrecede(), SwTableBox::getRowSpan(), SwTableBox::GetSttNd(), SwTableNode::GetTable(), SwNode::GetTableBox(), SwNode::GetTextNode(), GoInContent(), GoInContentCells(), GoInContentCellsSkipHidden(), GoInContentSkipHidden(), SwNodes::GoNextSection(), SwFlowFrame::IsAnFollow(), IsInProtectTable(), SwFrame::IsRightToLeft(), IsSelOvr(), SwNode::IsTextNode(), SwContentFrame::LeftMargin(), SwContentNode::Len(), m_nRowSpanOffset, SwTextFrame::MapModelToViewPos(), SwPaM::Move(), SwPosition::nContent, SwPosition::nNode, SwTextNode::PARENT, Point, RES_TXTATR_INPUTFIELD(), SwContentFrame::RightMargin(), sw::ShowCommand, sw::ShowResult, and Toggle.
Referenced by SwCursorShell::LeftRight().
bool SwCursor::LeftRightMargin | ( | SwRootFrame const & | rLayout, |
bool | bLeftMargin, | ||
bool | bAPI | ||
) |
Definition at line 2125 of file swcrsr.cxx.
References ChangePos, SwPaM::GetContentNode(), SwContentNode::getLayoutFrame(), SwPaM::GetPoint(), SwFrame::IsRightToLeft(), IsSelOvr(), SwContentFrame::LeftMargin(), Point, 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 747 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 SwShellTableCursor, and SwShellCursor.
Definition at line 1141 of file swcrsr.cxx.
References RET_YES.
Referenced by lcl_FindSelection().
bool SwCursor::MovePara | ( | SwWhichPara | fnWhichPara, |
SwMoveFnCollection const & | fnPosPara | ||
) |
Definition at line 2288 of file swcrsr.cxx.
References ChangePos, fnMoveForward, SwNode::GetContentNode(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwNode::GetNodes(), SwPaM::GetPoint(), GoCurrPara(), GoNextPara(), IsInProtectTable(), IsSelOvr(), SwNode::IsTextNode(), SwContentNode::Len(), SwPosition::nNode, and Toggle.
Referenced by SwCursorShell::MovePara(), and SwXParagraph::setString().
bool SwCursor::MoveRegion | ( | SwWhichRegion | fnWhichRegion, |
SwMoveFnCollection const & | fnPosRegion | ||
) |
Definition at line 226 of file trvlreg.cxx.
References SwIndex::GetIndex(), SwNodeIndex::GetIndex(), SwPaM::GetPoint(), IsReadOnlyAvailable(), IsSelOvr(), m_vSavePos, SwPosition::nContent, and SwPosition::nNode.
Referenced by SwCursorShell::MoveRegion().
bool SwCursor::MoveSection | ( | SwWhichSection | fnWhichSect, |
SwMoveFnCollection const & | fnPosSect | ||
) |
Definition at line 2327 of file swcrsr.cxx.
References ChangePos, IsInProtectTable(), IsSelOvr(), and Toggle.
Referenced by SwCursorShell::MoveSection().
bool SwCursor::MoveTable | ( | SwWhichTable | fnWhichTable, |
SwMoveFnCollection const & | fnPosTable | ||
) |
Definition at line 667 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 2337 of file swcrsr.cxx.
References SwIndex::Assign(), SwNodes::Count(), SwPaM::GetContentNode(), SwNodeIndex::GetNodes(), SwPaM::GetPoint(), SwContentNode::Len(), m_vSavePos, SwPosition::nContent, and SwPosition::nNode.
Referenced by SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwCursorShell::GotoRedline_(), IsInProtectTable(), IsSelOvr(), SwWrtShell::SelectNextPrevHyperlink(), SelectWordWT(), and SwFEShell::SelTableRowCol().
|
protected |
Definition at line 174 of file swcrsr.cxx.
References m_vSavePos.
Referenced by SwCursorSaveState::~SwCursorSaveState().
|
inline |
Definition at line 173 of file swcrsr.hxx.
References CRSR_SKIP_CHARS.
Referenced by SwXTextTableCursor::goRight(), lcl_CreatePortions(), lcl_ExportFieldMark(), and lcl_ExportHints().
|
protected |
Definition at line 169 of file swcrsr.cxx.
References m_vSavePos.
Referenced by SwCursorSaveState::SwCursorSaveState().
|
virtual |
Reimplemented in SwShellTableCursor, and SwShellCursor.
Definition at line 744 of file swcrsr.cxx.
bool SwCursor::SelectWord | ( | SwViewShell const * | pViewShell, |
const Point * | pPt | ||
) |
Definition at line 1205 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 1416 of file swcrsr.cxx.
References assert(), IDocumentMarkAccess::DATE_FIELDMARK, SwPaM::DeleteMark(), sw::mark::FindFieldSep(), g_pBreakIt, IDocumentMarkAccess::getAnnotationMarkFor(), SwBreakIt::GetBreakIter(), SwPaM::GetDoc(), IDocumentMarkAccess::getFieldmarkFor(), SwDoc::getIDocumentMarkAccess(), SwIndex::GetIndex(), SwTextNode::GetLang(), SwViewShell::GetLayout(), SwBreakIt::GetLocale(), SwPaM::GetMark(), SwRootFrame::GetModelPositionForViewPoint(), SwPaM::GetNode(), SwPaM::GetPoint(), SwNode::GetTextNode(), IDocumentMarkAccess::GetType(), comphelper::LibreOfficeKit::isActive(), IsSelOvr(), SwPosition::nContent, SwPosition::nNode, Point, RestoreSavePos(), SwPaM::SetMark(), IDocumentMarkAccess::TEXT_FIELDMARK, and w.
Referenced by SelectWord().
|
inline |
Definition at line 215 of file swcrsr.hxx.
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 2163 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 1990 of file swcrsr.cxx.
References a, SwFrame::Calc(), SwRect::Center(), ChangePos, CheckNodesRange(), DoSetBidiLevelUpDown(), SwPaM::End(), SwNode::EndOfSectionNode(), SwPaM::Exchange(), SwNode::FindTableBoxStartNode(), fnMoveBackward, SwFrame::GetCharRect(), SwPaM::GetContentNode(), SwRootFrame::GetCurrShell(), SwPaM::GetDoc(), SwDoc::GetEditShell(), SwFrameAreaDefinition::getFrameArea(), SwIndex::GetIndex(), SwContentNode::getLayoutFrame(), SwFrame::GetModelPositionForViewPoint(), SwNodeIndex::GetNode(), SwPaM::GetNode(), SwViewShell::GetOut(), SwPaM::GetPoint(), SwTextNode::GetText(), SwNode::GetTextNode(), GoInNode(), SwPaM::HasMark(), SwFrame::IsInFootnote(), IsReadOnlyAvailable(), IsSelOvr(), SwFrame::IsVertical(), SwRect::Left(), SwCursorMoveState::m_bSetInReadOnly, SwPaM::Move(), SwPosition::nContent, SwPosition::nNode, Point, SwRect::Pos(), SwNode::StartOfSectionNode(), Toggle, SwRect::Top(), SwContentFrame::UnitDown(), SwContentFrame::UnitUp(), SwCursorShell::UpdateCursor(), and UpDown.
Referenced by SwEditShell::Copy(), 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 IsInProtectTable(), IsSelOvr(), MoveRegion(), RestoreSavePos(), RestoreState(), and SaveState().