Lines Matching refs:pWrtShell

189 							pWrtShell->StartAction();  in ExecLingu()
192 const SwPosition *pPoint = pWrtShell->GetCrsr()->GetPoint(); in ExecLingu()
199 pWrtShell->StartUndo( UNDO_OVERWRITE ); in ExecLingu()
203 pWrtShell->EndUndo( UNDO_OVERWRITE ); in ExecLingu()
214 pWrtShell->GetCrsr()->GetPoint()->nContent.Assign( pTxtNode, nPointIndex ); in ExecLingu()
218 pWrtShell->EndAction(); in ExecLingu()
256 const SwViewOption* pVOpt = pWrtShell->GetViewOptions(); in StartTextConversion()
260 sal_Bool bOldIns = pWrtShell->IsInsMode(); in StartTextConversion()
261 pWrtShell->SetInsMode( sal_True ); in StartTextConversion()
263 sal_Bool bSelection = ((SwCrsrShell*)pWrtShell)->HasSelection() || in StartTextConversion()
264 pWrtShell->GetCrsr() != pWrtShell->GetCrsr()->GetNext(); in StartTextConversion()
266 sal_Bool bStart = bSelection || pWrtShell->IsStartOfDoc(); in StartTextConversion()
267 sal_Bool bOther = !bSelection && !(pWrtShell->GetFrmType(0,sal_True) & FRMTYPE_BODY); in StartTextConversion()
278 pWrtShell->SetInsMode( bOldIns ); in StartTextConversion()
343 pWrtShell->SpellStart( eStart, eEnde, eCurr, pConvArgs ); in SpellStart()
359 if ( pWrtShell->ActionPend() ) in IMPL_LINK()
361 pWrtShell->Push(); in IMPL_LINK()
362 pWrtShell->ClearMark(); in IMPL_LINK()
365 pWrtShell->EndAction(); in IMPL_LINK()
368 while( pWrtShell->ActionPend() ); in IMPL_LINK()
400 pWrtShell->StartAction(); in IMPL_LINK()
401 pWrtShell->Combine(); in IMPL_LINK()
418 pWrtShell->SpellEnd( pConvArgs ); in SpellEnd()
419 if( pWrtShell->IsExtMode() ) in SpellEnd()
420 pWrtShell->SetMark(); in SpellEnd()
429 pWrtShell->HyphStart( DOCPOS_START, DOCPOS_END ); in HyphStart()
432 pWrtShell->HyphStart( DOCPOS_CURR, DOCPOS_END ); in HyphStart()
435 pWrtShell->HyphStart( DOCPOS_START, DOCPOS_CURR ); in HyphStart()
438 pWrtShell->HyphStart( DOCPOS_OTHERSTART, DOCPOS_OTHEREND ); in HyphStart()
470 if (pWrtShell->GetSelectionType() & (nsSelectionType::SEL_DRW_TXT|nsSelectionType::SEL_DRW)) in HyphenateDocument()
477 SwViewOption* pVOpt = (SwViewOption*)pWrtShell->GetViewOptions(); in HyphenateDocument()
484 pWrtShell->StartUndo(UNDO_INSATTR); // spaeter gueltig in HyphenateDocument()
488 sal_Bool bSelection = ((SwCrsrShell*)pWrtShell)->HasSelection() || in HyphenateDocument()
489 pWrtShell->GetCrsr() != pWrtShell->GetCrsr()->GetNext(); in HyphenateDocument()
490 sal_Bool bOther = pWrtShell->HasOtherCnt() && bHyphSpecial && !bSelection; in HyphenateDocument()
491 sal_Bool bStart = bSelection || ( !bOther && pWrtShell->IsStartOfDoc() ); in HyphenateDocument()
493 if( !bOther && !(pWrtShell->GetFrmType(0,sal_True) & FRMTYPE_BODY) && !bSelection ) in HyphenateDocument()
516 pWrtShell->EndUndo(UNDO_INSATTR); in HyphenateDocument()
530 const bool bMultiSel = pWrtShell->GetCrsr() != pWrtShell->GetCrsr()->GetNext(); in IsValidSelectionForThesaurus()
531 const sal_Bool bSelection = ((SwCrsrShell*)pWrtShell)->HasSelection(); in IsValidSelectionForThesaurus()
532 return !bMultiSel && (!bSelection || pWrtShell->IsSelOnePara() ); in IsValidSelectionForThesaurus()
538 return bSelection ? pWrtShell->GetSelTxt() : pWrtShell->GetCurWord(); in GetThesaurusLookUpText()
544 sal_Bool bOldIns = pWrtShell->IsInsMode(); in InsertThesaurusSynonym()
545 pWrtShell->SetInsMode( sal_True ); in InsertThesaurusSynonym()
547 pWrtShell->StartAllAction(); in InsertThesaurusSynonym()
548 pWrtShell->StartUndo(UNDO_DELETE); in InsertThesaurusSynonym()
552 if(pWrtShell->IsEndWrd()) in InsertThesaurusSynonym()
553 pWrtShell->Left(CRSR_SKIP_CELLS, sal_False, 1, sal_False ); in InsertThesaurusSynonym()
555 pWrtShell->SelWrd(); in InsertThesaurusSynonym()
572 SwPaM *pCrsr = pWrtShell->GetCrsr(); in InsertThesaurusSynonym()
577 pWrtShell->Insert( rSynonmText ); in InsertThesaurusSynonym()
579 pWrtShell->EndUndo(UNDO_DELETE); in InsertThesaurusSynonym()
580 pWrtShell->EndAllAction(); in InsertThesaurusSynonym()
582 pWrtShell->SetInsMode( bOldIns ); in InsertThesaurusSynonym()
601 LanguageType eLang = pWrtShell->GetCurLang(); in StartThesaurus()
612 SwViewOption* pVOpt = (SwViewOption*)pWrtShell->GetViewOptions(); in StartThesaurus()
617 const sal_Bool bSelection = ((SwCrsrShell*)pWrtShell)->HasSelection(); in StartThesaurus()
685 const SwViewOption* pVOpt = pWrtShell->GetViewOptions(); in ExecSpellPopup()
687 !pWrtShell->IsSelection()) in ExecSpellPopup()
689 if (pWrtShell->GetSelectionType() & nsSelectionType::SEL_DRW_TXT) in ExecSpellPopup()
691 else if (!pWrtShell->IsSelFrmMode()) in ExecSpellPopup()
693 const sal_Bool bOldViewLock = pWrtShell->IsViewLocked(); in ExecSpellPopup()
694 pWrtShell->LockView( sal_True ); in ExecSpellPopup()
695 pWrtShell->Push(); in ExecSpellPopup()
702 Reference< XSpellAlternatives > xAlt( pWrtShell->GetCorrection(&rPt, aToFill) ); in ExecSpellPopup()
710 …bCorrectionRes = pWrtShell->GetGrammarCorrection( aGrammarCheckRes, nErrorPosInText, nErrorInResul… in ExecSpellPopup()
726 SwPosition aPoint( *pWrtShell->GetCrsr()->GetPoint() ); in ExecSpellPopup()
737 pWrtShell->SttSelect(); in ExecSpellPopup()
743 …pPopup = std::auto_ptr< SwSpellPopup >(new SwSpellPopup( pWrtShell, aGrammarCheckRes, nErrorInResu… in ExecSpellPopup()
746 … pPopup = std::auto_ptr< SwSpellPopup >(new SwSpellPopup( pWrtShell, xAlt, aParaText )); in ExecSpellPopup()
820 pWrtShell->Pop( sal_False ); in ExecSpellPopup()
821 pWrtShell->LockView( bOldViewLock ); in ExecSpellPopup()
836 const sal_Bool bOldViewLock = pWrtShell->IsViewLocked(); in ExecSmartTagPopup()
837 pWrtShell->LockView( sal_True ); in ExecSmartTagPopup()
838 pWrtShell->Push(); in ExecSmartTagPopup()
848 pWrtShell->GetSmartTagTerm( rPt, aToFill, aSmartTagTypes, aStringKeyMaps, xRange); in ExecSmartTagPopup()
852 pWrtShell->SttSelect(); in ExecSmartTagPopup()
857 pWrtShell->Pop( sal_False ); in ExecSmartTagPopup()
858 pWrtShell->LockView( bOldViewLock ); in ExecSmartTagPopup()
980 const sal_Bool bOldViewLock = pWrtShell->IsViewLocked(); in ExecFieldPopup()
981 pWrtShell->LockView( sal_True ); in ExecFieldPopup()
982 pWrtShell->Push(); in ExecFieldPopup()
996 pWrtShell->Pop( sal_False ); in ExecFieldPopup()
997 pWrtShell->LockView( bOldViewLock ); in ExecFieldPopup()