Lines Matching refs:pWrtShell

177     SwWrtShell* pWrtShell = GetWrtShell_Impl();  in ~SwSpellDialogChildWindow()  local
178 if(!m_pSpellState->m_bInitialCall && pWrtShell) in ~SwSpellDialogChildWindow()
179 pWrtShell->SpellEnd(); in ~SwSpellDialogChildWindow()
200 SwWrtShell* pWrtShell = GetWrtShell_Impl(); in GetNextWrongSentence() local
201 if(pWrtShell) in GetNextWrongSentence()
207 pWrtShell->MoveContinuationPosToEndOfCheckedSentence(); in GetNextWrongSentence()
210 ShellModes eSelMode = pWrtShell->GetView().GetShellMode(); in GetNextWrongSentence()
225 if(!MakeTextSelection_Impl(*pWrtShell, eSelMode)) in GetNextWrongSentence()
230 if(0 != (pWrtShell->GetSelectionType()& nsSelectionType::SEL_DRW_TXT)) in GetNextWrongSentence()
238 if(!pWrtShell->HasSelection()) in GetNextWrongSentence()
239 pWrtShell->GoStartSentence(); in GetNextWrongSentence()
242 pWrtShell->ExpandToSentenceBorders(); in GetNextWrongSentence()
246 bOtherText = !(pWrtShell->GetFrmType(0,sal_True) & FRMTYPE_BODY); in GetNextWrongSentence()
250 m_pSpellState->pOtherCursor = new SwPaM(*pWrtShell->GetCrsr()->GetPoint()); in GetNextWrongSentence()
252 pWrtShell->SpellStart( DOCPOS_OTHERSTART, DOCPOS_OTHEREND, DOCPOS_CURR, NULL ); in GetNextWrongSentence()
256 SwPaM* pCrsr = pWrtShell->GetCrsr(); in GetNextWrongSentence()
258 if(!pWrtShell->IsStartOfDoc()) in GetNextWrongSentence()
262 *pWrtShell->GetDoc(), in GetNextWrongSentence()
265 pWrtShell->SpellStart( DOCPOS_START, DOCPOS_END, DOCPOS_CURR, NULL ); in GetNextWrongSentence()
270 SdrView* pSdrView = pWrtShell->GetDrawView(); in GetNextWrongSentence()
299 if(!SpellDrawText_Impl(*pWrtShell, aRet)) in GetNextWrongSentence()
301 if(!FindNextDrawTextError_Impl(*pWrtShell) || !SpellDrawText_Impl(*pWrtShell, aRet)) in GetNextWrongSentence()
303 lcl_LeaveDrawText(*pWrtShell); in GetNextWrongSentence()
308 if(!m_pSpellState->m_bOtherSpelled && pWrtShell->HasOtherCnt()) in GetNextWrongSentence()
310pWrtShell->SpellStart(DOCPOS_OTHERSTART, DOCPOS_OTHEREND, DOCPOS_OTHERSTART, NULL ); in GetNextWrongSentence()
311 if(!pWrtShell->SpellSentence(aRet, m_bIsGrammarCheckingOn)) in GetNextWrongSentence()
313 pWrtShell->SpellEnd(); in GetNextWrongSentence()
322 pWrtShell->SpellStart(DOCPOS_START, DOCPOS_END, DOCPOS_START, NULL ); in GetNextWrongSentence()
323 if(!pWrtShell->SpellSentence(aRet, m_bIsGrammarCheckingOn)) in GetNextWrongSentence()
326 pWrtShell->SpellEnd(); in GetNextWrongSentence()
336 if(!pWrtShell->SpellSentence(aRet, m_bIsGrammarCheckingOn)) in GetNextWrongSentence()
343 bOtherText = !(pWrtShell->GetFrmType(0,sal_True) & FRMTYPE_BODY); in GetNextWrongSentence()
347 pWrtShell->SetSelection(*m_pSpellState->pOtherCursor); in GetNextWrongSentence()
348 pWrtShell->SpellEnd(); in GetNextWrongSentence()
351pWrtShell->SpellStart(DOCPOS_OTHERSTART, DOCPOS_CURR, DOCPOS_OTHERSTART, NULL ); in GetNextWrongSentence()
352 pWrtShell->SpellSentence(aRet, m_bIsGrammarCheckingOn); in GetNextWrongSentence()
357 pWrtShell->SpellEnd(); in GetNextWrongSentence()
364pWrtShell->SpellStart(DOCPOS_START, DOCPOS_END, DOCPOS_START, NULL ); in GetNextWrongSentence()
365 if(!pWrtShell->SpellSentence(aRet, m_bIsGrammarCheckingOn)) in GetNextWrongSentence()
368 pWrtShell->SpellEnd(); in GetNextWrongSentence()
375 if(!m_pSpellState->m_bOtherSpelled && pWrtShell->HasOtherCnt()) in GetNextWrongSentence()
377pWrtShell->SpellStart(DOCPOS_OTHERSTART, DOCPOS_OTHEREND, DOCPOS_OTHERSTART, NULL ); in GetNextWrongSentence()
378 if(!pWrtShell->SpellSentence(aRet, m_bIsGrammarCheckingOn)) in GetNextWrongSentence()
380 pWrtShell->SpellEnd(); in GetNextWrongSentence()
392 … !FindNextDrawTextError_Impl(*pWrtShell) || !SpellDrawText_Impl(*pWrtShell, aRet))) in GetNextWrongSentence()
394 lcl_LeaveDrawText(*pWrtShell); in GetNextWrongSentence()
415 SwUnoInternalPaM aPam(*pWrtShell->GetDoc()); in GetNextWrongSentence()
419 pWrtShell->SetSelection(aPam); in GetNextWrongSentence()
420 pWrtShell->SpellStart(DOCPOS_START, DOCPOS_CURR, DOCPOS_START); in GetNextWrongSentence()
421 if(!pWrtShell->SpellSentence(aRet, m_bIsGrammarCheckingOn)) in GetNextWrongSentence()
422 pWrtShell->SpellEnd(); in GetNextWrongSentence()
459 SwWrtShell* pWrtShell = GetWrtShell_Impl(); in ApplyChangedSentence() local
461 if(pWrtShell && !m_pSpellState->m_bInitialCall) in ApplyChangedSentence()
463 ShellModes eSelMode = pWrtShell->GetView().GetShellMode(); in ApplyChangedSentence()
474 bRecheck |= pWrtShell->HasLastSentenceGotGrammarChecked(); in ApplyChangedSentence()
477 pWrtShell->ApplyChangedSentence(rChanged, bRecheck); in ApplyChangedSentence()
480 SdrView* pDrView = pWrtShell->GetDrawView(); in ApplyChangedSentence()
528 SwWrtShell* pWrtShell = GetWrtShell_Impl(); in SetGrammarChecking() local
529 if(pWrtShell) in SetGrammarChecking()
531 ShellModes eSelMode = pWrtShell->GetView().GetShellMode(); in SetGrammarChecking()
539 pWrtShell->PutSpellingToSentenceStart(); in SetGrammarChecking()
542 SdrView* pSdrView = pWrtShell->GetDrawView(); in SetGrammarChecking()
560 SwWrtShell* pWrtShell = GetWrtShell_Impl(); in GetFocus() local
561 if(pWrtShell && !m_pSpellState->m_bInitialCall) in GetFocus()
563 ShellModes eSelMode = pWrtShell->GetView().GetShellMode(); in GetFocus()
579 SwPaM* pCursor = pWrtShell->GetCrsr(); in GetFocus()
589 SdrView* pSdrView = pWrtShell->GetDrawView(); in GetFocus()
622 SwWrtShell* pWrtShell = GetWrtShell_Impl(); in LoseFocus() local
623 if(pWrtShell) in LoseFocus()
625 m_pSpellState->m_eSelMode = pWrtShell->GetView().GetShellMode(); in LoseFocus()
638 SwPaM* pCursor = pWrtShell->GetCrsr(); in LoseFocus()
648 SdrView* pSdrView = pWrtShell->GetDrawView(); in LoseFocus()
670 SwWrtShell* pWrtShell = GetWrtShell_Impl(); in InvalidateSpellDialog() local
671 if(!m_pSpellState->m_bInitialCall && pWrtShell) in InvalidateSpellDialog()
672 pWrtShell->SpellEnd(0, false); in InvalidateSpellDialog()