Lines Matching refs:pWrtShell

122     if( pWrtShell->IsBlockMode() )  in ExecSearch()
123 pWrtShell->LeaveBlockMode(); in ExecSearch()
214 Scroll(pWrtShell->GetCharRect().SVRect()); in ExecSearch()
274 pWrtShell->Push(); in ExecSearch()
277 String *pBackRef = ReplaceBackReferences( aTmp, pWrtShell->GetCrsr() ); in ExecSearch()
288 pWrtShell->Pop(); in ExecSearch()
289 pWrtShell->SwapPam(); in ExecSearch()
301 Scroll( pWrtShell->GetCharRect().SVRect()); in ExecSearch()
320 SwSearchOptions aOpts( pWrtShell, pSrchItem->GetBackward() ); in ExecSearch()
327 (pWrtShell->*pWrtShell->fnKillSel)(0, sal_False); in ExecSearch()
329 pWrtShell->EndDoc(); in ExecSearch()
331 pWrtShell->SttDoc(); in ExecSearch()
339 pWrtShell->StartAllAction(); in ExecSearch()
341 pWrtShell->EndAllAction(); in ExecSearch()
432 SfxItemSet aSet( pWrtShell->GetAttrPool(), aArr.GetData() ); in ExecSearch()
470 SwSearchOptions aOpts( pWrtShell, pSrchItem->GetBackward() ); in SearchAndWrap()
475 pWrtShell->StartAllAction(); in SearchAndWrap()
476 pWrtShell->Push(); in SearchAndWrap()
480 (pWrtShell->*pWrtShell->fnKillSel)(0, sal_False); in SearchAndWrap()
486 if(pWrtShell->IsSelFrmMode()) in SearchAndWrap()
488 pWrtShell->UnSelectFrm(); in SearchAndWrap()
489 pWrtShell->LeaveSelFrmMode(); in SearchAndWrap()
491 pWrtShell->Pop(); in SearchAndWrap()
492 pWrtShell->EndAllAction(); in SearchAndWrap()
508 pWrtShell->Pop(); in SearchAndWrap()
509 pWrtShell->EndAllAction(); in SearchAndWrap()
524 pWrtShell->EndAllAction(); in SearchAndWrap()
531 pWrtShell->Pop(); in SearchAndWrap()
534 pWrtShell->EndAllAction(); in SearchAndWrap()
544 pWrtShell->Pop(); in SearchAndWrap()
547 pWrtShell->StartAllAction(); in SearchAndWrap()
548 pWrtShell->Pop(sal_False); in SearchAndWrap()
558 pWrtShell->ClearMark(); in SearchAndWrap()
560 pWrtShell->EndDoc(); in SearchAndWrap()
562 pWrtShell->SttDoc(); in SearchAndWrap()
566 pWrtShell->EndAllAction(); in SearchAndWrap()
582 pWrtShell->StartAllAction(); in SearchAll()
584 SwSearchOptions aOpts( pWrtShell, pSrchItem->GetBackward() ); in SearchAll()
590 (pWrtShell->*pWrtShell->fnKillSel)(0, sal_False); in SearchAll()
593 pWrtShell->EndDoc(); in SearchAll()
595 pWrtShell->SttDoc(); in SearchAll()
603 pWrtShell->EndAllAction(); in SearchAll()
612 pWrtShell->StartAllAction(); in Replace()
621 pWrtShell->StartUndo(UNDO_UI_REPLACE_STYLE, &aRewriter); // #111827# in Replace()
623 pWrtShell->SetTxtFmtColl( pWrtShell->GetParaStyle( in Replace()
627 pWrtShell->EndUndo(); // #111827# in Replace()
633 sal_Bool bReplaced = pWrtShell->SwEditShell::Replace( pSrchItem->GetReplaceString(), in Replace()
636 if( bReplaced && pReplList && pReplList->Count() && pWrtShell->HasSelection() ) in Replace()
638 SfxItemSet aReplSet( pWrtShell->GetAttrPool(), in Replace()
642 ::SfxToSwPageDescAttr( *pWrtShell, aReplSet ); in Replace()
643 pWrtShell->SwEditShell::SetAttrSet( aReplSet ); in Replace()
648 pWrtShell->EndAllAction(); in Replace()
679 pWrtShell->SttSelect(); in FUNC_Search()
688 SfxItemSet aSrchSet( pWrtShell->GetAttrPool(), aSearchAttrRange); in FUNC_Search()
694 ::SfxToSwPageDescAttr( *pWrtShell, aSrchSet ); in FUNC_Search()
700 pReplSet = new SfxItemSet( pWrtShell->GetAttrPool(), in FUNC_Search()
705 ::SfxToSwPageDescAttr( *pWrtShell, *pReplSet ); in FUNC_Search()
722 nFound = pWrtShell->SearchAttr( in FUNC_Search()
735 nFound = pWrtShell->SearchTempl( pSrchItem->GetSearchString(), in FUNC_Search()
744 nFound = pWrtShell->SearchPattern(aSearchOpt, pSrchItem->GetNotes(), in FUNC_Search()
750 pWrtShell->EndSelect(); in FUNC_Search()
789 pSrchItem->SetSearchString( pWrtShell->GetSelTxt() ); in StateSearch()
792 if( bJustOpened && pWrtShell->IsSelection() ) in StateSearch()
795 if( 1 == pWrtShell->GetCrsrCnt() && in StateSearch()
796 ( aTxt = pWrtShell->SwCrsrShell::GetSelTxt() ).Len() ) in StateSearch()