/aoo41x/main/sw/source/core/edit/ |
H A D | edlingu.cxx | 241 if( pShell->HasSelection() || pCrsr != pCrsr->GetNext() ) in _Start() 266 if ( *pCrsr->GetPoint() > *pCrsr->GetMark() ) in _Start() 384 if ( *pCrsr->GetPoint() > *pCrsr->GetMark() ) in Continue() 568 if ( *pCrsr->GetPoint() < *pCrsr->GetMark() ) in Continue() 598 if ( *pCrsr->GetPoint() > *pCrsr->GetMark() ) in Continue() 625 pCrsr->Start()->nContent = pCrsr->End()->nContent; in Ignore() 733 if( *pCrsr->GetPoint() > *pCrsr->GetMark() ) in SetLinguRange() 1437 *pCrsr->Start() = *pCrsr->End(); in ApplyChangedSentence() 1448 *pCrsr->Start() = *pCrsr->End(); in ApplyChangedSentence() 1613 if ( *pCrsr->GetPoint() > *pCrsr->GetMark() ) in SpellSentence() [all …]
|
H A D | ednumber.cxx | 151 if( pCrsr->GetNext() != pCrsr ) // Mehrfachselektion ? in NoNum() 296 if( pCrsr->GetNext() != pCrsr ) // Mehrfachselektion ? in DelNumRules() 332 if( pCrsr->GetNext() == pCrsr ) // keine Mehrfachselektion ? in NumUpDown() 361 if (pCrsr->GetNext() == pCrsr) in IsFirstOfNumRule() 459 pCrsr->SetMark(); in MoveParagraph() 460 pCrsr->DeleteMark(); in MoveParagraph() 488 if( pCrsr->HasMark() ) in GetCurrentOutlineLevels() 503 if( pCrsr->HasMark() ) in MoveNumParas() 594 if( pCrsr->GetNext() == pCrsr ) // keine Mehrfachselektion ? in OutlineUpDown() 828 if( pCrsr->GetNext() != pCrsr ) // Mehrfachselektion ? in SetNumRuleStart() [all …]
|
H A D | edglbldc.cxx | 155 SwPaM* pCrsr = GetCrsr(); in InsertGlobalDocContent() local 156 if( pCrsr->GetNext() != pCrsr || IsTableMode() ) in InsertGlobalDocContent() 173 pCrsr->SetMark(); in InsertGlobalDocContent() 196 SwPaM* pCrsr = GetCrsr(); in InsertGlobalDocContent() local 197 if( pCrsr->GetNext() != pCrsr || IsTableMode() ) in InsertGlobalDocContent() 236 SwPaM* pCrsr = GetCrsr(); in InsertGlobalDocContent() local 237 if( pCrsr->GetNext() != pCrsr || IsTableMode() ) in InsertGlobalDocContent() 261 if( pCrsr->GetNext() != pCrsr || IsTableMode() ) in DeleteGlobalDocContent() 284 pCrsr->SetMark(); in DeleteGlobalDocContent() 329 if( pCrsr->GetNext() != pCrsr || IsTableMode() ) in MoveGlobalDocContent() [all …]
|
H A D | editsh.cxx | 252 SwPaM* pCrsr = GetCrsr(); in _GetGrfNode() local 253 if( !pCrsr->HasMark() || in _GetGrfNode() 254 pCrsr->GetPoint()->nNode == pCrsr->GetMark()->nNode ) in _GetGrfNode() 588 SwTxtNode* pTxtNd = pCrsr->GetNode( !pCrsr->HasMark() )->GetTxtNode(); in GetDropTxt() 602 if( pCrsr->GetPoint()->nNode == pCrsr->GetMark()->nNode && in ReplaceDropTxt() 713 if ( !pCrsr->HasMark() ) in GetIMapGraphic() 757 if( pCrsr->HasMark() && *pCrsr->GetPoint() != *pCrsr->GetMark() ) in InsertURL() 761 if( pCrsr->GetNext() == pCrsr ) in InsertURL() 775 else if( pCrsr->GetNext() != pCrsr && rFmt.GetValue() == rStr ) in InsertURL() 889 SwPosition* pSttPos = pCrsr->Start(), *pEndPos = pCrsr->End(); in SetNumberingRestart() [all …]
|
H A D | edtab.cxx | 150 SwPaM* pCrsr = GetCrsr(); in TableToText() local 156 pCrsr = GetCrsr(); in TableToText() 158 else if( !pTblNd || pCrsr->GetNext() != pCrsr ) in TableToText() 170 pCrsr->DeleteMark(); in TableToText() 174 pCrsr->SetMark(); in TableToText() 175 pCrsr->DeleteMark(); in TableToText() 182 pCrsr->GetPoint()->nNode = aTabIdx; in TableToText() 443 SwPaM *pCrsr = GetCrsr(); in SplitTable() local 444 if( pCrsr->GetNode()->FindTableNode() ) in SplitTable() 461 SwPaM *pCrsr = GetCrsr(); in MergeTable() local [all …]
|
H A D | edattr.cxx | 220 SwPaM* pCrsr = GetCrsr(); in GetCurFtn() local 243 SwPaM* pCrsr = GetCrsr(), *pFirst = pCrsr; in SetCurFtn() local 248 } while( pFirst != ( pCrsr = (SwPaM*)pCrsr->GetNext() )); in SetCurFtn() 383 SwPaM* pCrsr = GetCrsr(); in MoveLeftMargin() local 384 if( pCrsr->GetNext() != pCrsr ) // Mehrfachselektion ? in MoveLeftMargin() 386 SwPamRanges aRangeArr( *pCrsr ); in MoveLeftMargin() 612 const SwPaM* pCrsr = GetCrsr(); in GetCurLang() local 621 if( nPos && !pCrsr->HasMark() ) in GetCurLang() 632 const SwPaM* pCrsr = GetCrsr(); in GetScalingOfSelectedText() local 642 ? pCrsr->GetMark() in GetScalingOfSelectedText() [all …]
|
H A D | eddel.cxx | 264 SwPaM* pCrsr = pDestShell->GetCrsr(); in Copy() local 265 pCrsr->SetMark(); in Copy() 266 pCrsr->GetPoint()->nNode = aSttNdIdx.GetIndex()+1; in Copy() 267 pCrsr->GetPoint()->nContent.Assign( pCrsr->GetCntntNode(),nSttCntIdx); in Copy() 268 pCrsr->Exchange(); in Copy() 341 SwPaM* pCrsr = GetCrsr(); in DelFullPara() local 343 if( pCrsr->GetNext() == pCrsr && !HasReadonlySel() ) in DelFullPara() 347 bRet = GetDoc()->DelFullPara( *pCrsr ); in DelFullPara()
|
H A D | edatmisc.cxx | 134 SwPaM* pCrsr = GetCrsr(); in SetAttrItem() local 135 if( pCrsr->GetNext() != pCrsr ) // Ring von Cursorn in SetAttrItem() 154 GetDoc()->InsertPoolItem( *pCrsr, rHint, nFlags ); in SetAttrItem() 164 SwPaM* pCrsr = GetCrsr(); in SetAttrSet() local 165 if( pCrsr->GetNext() != pCrsr ) // Ring von Cursorn in SetAttrSet() 184 GetDoc()->InsertItemSet( *pCrsr, rSet, nFlags ); in SetAttrSet()
|
H A D | edws.cxx | 317 SwPaM* pCrsr = getShellCrsr( true ); in AutoCorrect() local 318 SwTxtNode* pTNd = pCrsr->GetNode()->GetTxtNode(); in AutoCorrect() 320 SwAutoCorrDoc aSwAutoCorrDoc( *this, *pCrsr, cChar ); in AutoCorrect() 322 pTNd->GetTxt(), pCrsr->GetPoint()->nContent.GetIndex(), in AutoCorrect() 325 SaveTblBoxCntnt( pCrsr->GetPoint() ); in AutoCorrect() 341 SwPaM* pCrsr = getShellCrsr( true ); in GetPrevAutoCorrWord() local 342 xub_StrLen nPos = pCrsr->GetPoint()->nContent.GetIndex(); in GetPrevAutoCorrWord() 343 SwTxtNode* pTNd = pCrsr->GetNode()->GetTxtNode(); in GetPrevAutoCorrWord() 346 SwAutoCorrDoc aSwAutoCorrDoc( *this, *pCrsr, 0 ); in GetPrevAutoCorrWord()
|
H A D | edglss.cxx | 121 SwPaM* pCrsr = GetCrsr(); in SaveGlossaryDoc() local 129 pCrsr->GetPoint()->nNode = *pNd; in SaveGlossaryDoc() 131 pCrsr->GetPoint()->nContent.Assign( pCntntNd, 0 ); in SaveGlossaryDoc() 132 pCrsr->SetMark(); in SaveGlossaryDoc() 135 pCrsr->GetPoint()->nNode = pMyDoc->GetNodes().GetEndOfContent().GetIndex()-1; in SaveGlossaryDoc() 136 pCntntNd = pCrsr->GetCntntNode(); in SaveGlossaryDoc() 138 pCrsr->GetPoint()->nContent.Assign( pCntntNd, pCntntNd->Len() ); in SaveGlossaryDoc()
|
H A D | autofmt.cxx | 2689 SwPaM* pCrsr = GetCrsr(); in AutoFormat() local 2691 if( pCrsr->GetNext() != pCrsr || pCrsr->HasMark() ) in AutoFormat() 2716 SwPaM* pCrsr = GetCrsr(); in AutoFmtBySplitNode() local 2717 if( pCrsr->GetNext() == pCrsr && pCrsr->Move( fnMoveBackward, fnGoNode ) ) in AutoFmtBySplitNode() 2723 pCrsr->SetMark(); in AutoFmtBySplitNode() 2724 SwIndex* pCntnt = &pCrsr->GetMark()->nContent; in AutoFmtBySplitNode() 2738 pCrsr->GetMark()->nNode = aNdIdx; in AutoFmtBySplitNode() 2750 &pCrsr->GetPoint()->nNode ); in AutoFmtBySplitNode() 2755 pCrsr = GetCrsr(); in AutoFmtBySplitNode() 2757 pCrsr->DeleteMark(); in AutoFmtBySplitNode() [all …]
|
H A D | edsect.cxx | 69 SwPaM* pCrsr = GetCrsr(); in IsInsRegionAvailable() local 70 if( pCrsr->GetNext() != pCrsr ) in IsInsRegionAvailable() 72 if( pCrsr->HasMark() ) in IsInsRegionAvailable() 73 return 0 != GetDoc()->IsInsRegionAvailable( *pCrsr ); in IsInsRegionAvailable()
|
/aoo41x/main/sw/source/core/crsr/ |
H A D | crstrvl.cxx | 795 bRet = !pCrsr->IsSelOvr(); in GotoFld() 820 const SwPaM* pCrsr, in GetFieldAtCrsr() argument 827 && pCrsr->Start()->nNode == pCrsr->End()->nNode ) in GetFieldAtCrsr() 845 SwPaM* pCrsr = GetCrsr(); in GetCurFld() local 846 if ( pCrsr->GetNext() != pCrsr ) in GetCurFld() 870 const SwPaM* pFirst = pCrsr; in CrsrInsideInputFld() 875 pCrsr = static_cast<SwPaM*>(pCrsr->GetNext()); in CrsrInsideInputFld() 938 if( !pCrsr->IsSelOvr() ) in GotoOutline() 952 if( pDoc->GotoOutline( *pCrsr->GetPoint(), rName ) && !pCrsr->IsSelOvr() ) in GotoOutline() 1014 bRet = !pCrsr->IsSelOvr(); in GotoPrevOutline() [all …]
|
H A D | trvltbl.cxx | 57 SwCursor* pCrsr = pTblCrsr ? pTblCrsr : pCurCrsr; in GoNextCell() local 66 if ( pCrsr->GetCrsrRowSpanOffset() ) in GoNextCell() 86 if( pCrsr->HasMark() || !bAppendLine ) in GoNextCell() 94 pCrsr->GetPoint()->nNode.GetNode(). in GoNextCell() 123 bRet = pCrsr->GoPrevCell(); in GoPrevCell() 179 const SwShellCrsr *pCrsr = _GetCrsr(); in _SelTblRowOrCol() local 190 const SwShellCrsr *pCrsr = _GetCrsr(); in _SelTblRowOrCol() local 212 *pCrsr->GetPoint() <= *pCrsr->GetMark(); in _SelTblRowOrCol() 676 pCrsr = pTblCrsr; in MoveTable() 682 nPtNd = pCrsr->GetPoint()->nNode.GetIndex(); in MoveTable() [all …]
|
H A D | crsrsh.cxx | 734 !pCrsr->HasMark() && in SetCrsr() 772 if( !pCrsr->HasMark() ) in SetCrsr() 812 *pCrsr->GetPoint() = aPos; in SetCrsr() 2252 *pCrsr->GetPoint() != *pCrsr->GetMark()) in HasSelection() 3078 pCrsr = (SwPaM*)pCrsr->GetNext(); in HasReadonlySel() 3220 SwPaM* pCrsr = GetCrsr(); in SetSelection() local 3224 pCrsr->SetMark(); in SetSelection() 3306 delete pCrsr; in ClearUpCrsrs() 3311 pCrsr = pTmpCrsr; in ClearUpCrsrs() 3438 SwPaM* pCrsr = GetCrsr(); in GetSmartTagTerm() local [all …]
|
H A D | findattr.cxx | 1122 SwPaM aSrchPam( *pCrsr->GetPoint() ); in Find() 1200 *pCrsr->GetPoint() = *aSrchPam.GetPoint(); in Find() 1201 pCrsr->SetMark(); in Find() 1202 *pCrsr->GetMark() = *aSrchPam.GetMark(); in Find() 1209 SwIndex& rSttCntIdx = pCrsr->Start()->nContent; in Find() 1222 ReplaceBackReferences( *pSearchOpt, pCrsr ) : 0 ); in Find() 1223 rCursor.GetDoc()->ReplaceRange( *pCrsr, in Find() 1226 rCursor.SaveTblBoxCntnt( pCrsr->GetPoint() ); in Find() 1247 pCrsr->GetDoc()->Insert( *pCrsr, *pReplSet, 0 ); in Find() 1254 pCrsr->GetDoc()->InsertItemSet( *pCrsr, *pReplSet, 0 ); in Find() [all …]
|
H A D | viscrs.cxx | 227 SwShellCrsr* pCrsr = 0; in FillRects() local 234 if( !pCrsr ) in FillRects() 236 pCrsr = new SwShellCrsr( *GetShell(), *rRed.GetPoint() ); in FillRects() 237 pCrsr->SetMark(); in FillRects() 240 *pCrsr->GetPoint() = *rRed.GetPoint(); in FillRects() 241 *pCrsr->GetMark() = *rRed.GetMark(); in FillRects() 242 pCrsr->FillRects(); in FillRects() 243 for( sal_uInt16 i = 0; i < pCrsr->Count(); ++i ) in FillRects() 244 aReg -= (*pCrsr)[ i ]; in FillRects() 246 pCrsr->Remove( 0, i ); in FillRects() [all …]
|
H A D | callnk.cxx | 60 SwPaM* pCrsr = rShell.IsTableMode() ? rShell.GetTblCrs() : rShell.GetCrsr(); in SwCallLink() local 61 SwNode& rNd = pCrsr->GetPoint()->nNode.GetNode(); in SwCallLink() 63 nCntnt = pCrsr->GetPoint()->nContent.GetIndex(); in SwCallLink() 65 bHasSelection = ( *pCrsr->GetPoint() != *pCrsr->GetMark() ); in SwCallLink()
|
H A D | findcoll.cxx | 53 int SwFindParaFmtColl::Find( SwPaM* pCrsr, SwMoveFn fnMove, const SwPaM* pRegion, in Find() argument 60 if( !pCrsr->Find( *pFmtColl, fnMove, pRegion, bInReadOnly ) ) in Find() 64 pCrsr->GetDoc()->SetTxtFmtColl( *pCrsr, (SwTxtFmtColl*)pReplColl ); in Find()
|
H A D | findtxt.cxx | 572 int SwFindParaText::Find( SwPaM* pCrsr, SwMoveFn fnMove, in Find() argument 578 …sal_Bool bFnd = (sal_Bool)pCrsr->Find( rSearchOpt, bSearchInNotes, aSTxt, fnMove, pRegion, bInRead… in Find() 589 SwIndex& rSttCntIdx = pCrsr->Start()->nContent; in Find() 601 ? ReplaceBackReferences( rSearchOpt, pCrsr ) : 0 ); in Find() 602 rCursor.GetDoc()->ReplaceRange( *pCrsr, in Find() 605 rCursor.SaveTblBoxCntnt( pCrsr->GetPoint() ); in Find() 617 pCrsr->Start()->nContent = nSttCnt; in Find()
|
/aoo41x/main/sw/source/ui/uiview/ |
H A D | formatclipboard.cxx | 361 SwPaM* pCrsr = rWrtShell.GetCrsr(); in Copy() local 363 sal_Bool bHasSelection = pCrsr->HasMark(); in Copy() 368 if( pCrsr->GetPrev() != pCrsr && pCrsr->GetPrev() != 0) in Copy() 370 pCrsr = (SwPaM*)pCrsr->GetPrev(); in Copy() 371 bForwardSelection = (*pCrsr->GetPoint()) > (*pCrsr->GetMark()); in Copy() 373 pCrsr->DeleteMark(); in Copy() 374 pCrsr->SetMark(); in Copy() 376 pCrsr = rWrtShell.GetCrsr(); in Copy() 380 bForwardSelection = (*pCrsr->GetPoint()) > (*pCrsr->GetMark()); in Copy() 381 pCrsr->DeleteMark(); in Copy() [all …]
|
/aoo41x/main/sw/source/core/access/ |
H A D | accframebase.cxx | 305 SwPaM* pCrsr = NULL; in GetCrsr() local 315 pCrsr = pCrsrShell->GetCrsr( sal_False /* ??? */ ); in GetCrsr() 319 return pCrsr; in GetCrsr() 342 SwPaM* pCrsr = GetCrsr(); in GetSelectedState() local 343 if( pCrsr != NULL ) in GetSelectedState() 349 SwPaM* pRingStart = pCrsr; in GetSelectedState() 353 if( pCrsr->HasMark() ) in GetSelectedState() 356 SwPosition* pStart = pCrsr->Start(); in GetSelectedState() 358 SwPosition* pEnd = pCrsr->End(); in GetSelectedState() 381 pCrsr = static_cast<SwPaM*>( pCrsr->GetNext() ); in GetSelectedState() [all …]
|
H A D | accpara.cxx | 234 if( pCrsr != NULL ) in GetSelection() 343 pCrsr = static_cast<SwPaM*>( pCrsr->GetNext() ); in GetSelection() 357 SwPaM* pCrsr = NULL; in GetCursor() local 376 return pCrsr; in GetCursor() 1178 ( pCrsr == 0 || in grabFocus() 3734 pCrsr = static_cast<SwPaM*>( pCrsr->GetNext() ); in getSelectedPortionCount() 3777 SwPaM* pPrev = pCrsr; in removeSelection() 3803 delete pCrsr; in removeSelection() 3813 pPrev = pCrsr; in removeSelection() 3815 pCrsr = static_cast<SwPaM*>( pCrsr->GetNext() ); in removeSelection() [all …]
|
/aoo41x/main/sw/source/ui/lingu/ |
H A D | hhcwrp.cxx | 217 SwPaM* pCrsr = rWrtShell.GetCrsr(); in GetNextPortion() local 218 nLastPos = pCrsr->Start()->nContent.GetIndex(); in GetNextPortion() 224 SwPaM *pCrsr = rWrtShell.GetCrsr(); in SelectNewUnit_impl() local 225 pCrsr->GetPoint()->nContent = nLastPos; in SelectNewUnit_impl() 226 pCrsr->DeleteMark(); in SelectNewUnit_impl() 230 pCrsr->SetMark(); in SelectNewUnit_impl() 261 SwPaM *pCrsr ) in ChangeText() argument 273 const SwPosition *pStart = pCrsr->Start(); in ChangeText() 589 SwPaM *pCrsr = pView->GetWrtShell().GetCrsr(); in Convert() local 590 SwPosition* pSttPos = pCrsr->Start(); in Convert() [all …]
|
/aoo41x/main/sw/source/filter/basflt/ |
H A D | shellio.cxx | 78 po->bInsertMode = 0 != pCrsr; in Read() 109 if( pCrsr ) in Read() 110 pPam = pCrsr; in Read() 133 sal_Bool bSaveUndo = bDocUndo && pCrsr; in Read() 168 if( bDocUndo || pCrsr ) in Read() 176 if( pCrsr ) in Read() 212 if( pCrsr ) in Read() 291 else if( pCrsr ) in Read() 366 if( !pCrsr ) in Read() 386 if( pCrsr ) // das Doc ist jetzt modifiziert in Read() [all …]
|