Lines Matching refs:m_pSpellState

166                     m_pSpellState(new SpellState)  in SwSpellDialogChildWindow()
178 if(!m_pSpellState->m_bInitialCall && pWrtShell) in ~SwSpellDialogChildWindow()
180 delete m_pSpellState; in ~SwSpellDialogChildWindow()
220 if( m_pSpellState->m_bInitialCall ) in GetNextWrongSentence()
243 m_pSpellState->m_bStartedInSelection = true; in GetNextWrongSentence()
247m_pSpellState->m_SpellStartPosition = bOtherText ? SPELL_START_OTHER : SPELL_START_BODY; in GetNextWrongSentence()
250 m_pSpellState->pOtherCursor = new SwPaM(*pWrtShell->GetCrsr()->GetPoint()); in GetNextWrongSentence()
251 m_pSpellState->m_bStartedInOther = true; in GetNextWrongSentence()
260 m_pSpellState->m_xStartRange = in GetNextWrongSentence()
271 m_pSpellState->m_SpellStartPosition = SPELL_START_DRAWTEXT; in GetNextWrongSentence()
272m_pSpellState->m_pStartDrawing = pSdrView->GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj(); in GetNextWrongSentence()
276 m_pSpellState->m_aStartDrawingSelection = ESelection(); in GetNextWrongSentence()
294 m_pSpellState->m_bInitialCall = false; in GetNextWrongSentence()
305 m_pSpellState->m_bDrawingsSpelled = true; in GetNextWrongSentence()
308 if(!m_pSpellState->m_bOtherSpelled && pWrtShell->HasOtherCnt()) in GetNextWrongSentence()
314 m_pSpellState->m_bOtherSpelled = true; in GetNextWrongSentence()
318 m_pSpellState->m_bOtherSpelled = true; in GetNextWrongSentence()
320 if(!m_pSpellState->m_bBodySpelled && !aRet.size()) in GetNextWrongSentence()
325 m_pSpellState->m_bBodySpelled = true; in GetNextWrongSentence()
340 if (!m_pSpellState->m_bStartedInSelection) in GetNextWrongSentence()
344 … if(bOtherText && m_pSpellState->m_bStartedInOther && m_pSpellState->pOtherCursor) in GetNextWrongSentence()
346 m_pSpellState->m_bStartedInOther = false; in GetNextWrongSentence()
347 pWrtShell->SetSelection(*m_pSpellState->pOtherCursor); in GetNextWrongSentence()
349 delete m_pSpellState->pOtherCursor; in GetNextWrongSentence()
350 m_pSpellState->pOtherCursor = 0; in GetNextWrongSentence()
360 m_pSpellState->m_bOtherSpelled = true; in GetNextWrongSentence()
362 if(!m_pSpellState->m_bBodySpelled) in GetNextWrongSentence()
367 m_pSpellState->m_bBodySpelled = true; in GetNextWrongSentence()
374 m_pSpellState->m_bBodySpelled = true; in GetNextWrongSentence()
375 if(!m_pSpellState->m_bOtherSpelled && pWrtShell->HasOtherCnt()) in GetNextWrongSentence()
381 m_pSpellState->m_bOtherSpelled = true; in GetNextWrongSentence()
385 m_pSpellState->m_bOtherSpelled = true; in GetNextWrongSentence()
391 (m_pSpellState->m_bDrawingsSpelled || in GetNextWrongSentence()
395 m_pSpellState->m_bDrawingsSpelled = true; in GetNextWrongSentence()
404 if(!aRet.size() && !m_pSpellState->m_bStartedInSelection) in GetNextWrongSentence()
406 DBG_ASSERT(m_pSpellState->m_bDrawingsSpelled && in GetNextWrongSentence()
407 m_pSpellState->m_bOtherSpelled && m_pSpellState->m_bBodySpelled, in GetNextWrongSentence()
409 if(m_pSpellState->m_xStartRange.is()) in GetNextWrongSentence()
417 m_pSpellState->m_xStartRange)) in GetNextWrongSentence()
424 m_pSpellState->m_xStartRange = 0; in GetNextWrongSentence()
460 …DBG_ASSERT(!m_pSpellState->m_bInitialCall, "ApplyChangedSentence in initial call or after resume"); in ApplyChangedSentence()
461 if(pWrtShell && !m_pSpellState->m_bInitialCall) in ApplyChangedSentence()
557 if(m_pSpellState->m_bLockFocus) in GetFocus()
561 if(pWrtShell && !m_pSpellState->m_bInitialCall) in GetFocus()
564 if(eSelMode != m_pSpellState->m_eSelMode) in GetFocus()
567 if(m_pSpellState->m_bLostFocus) in GetFocus()
572 switch(m_pSpellState->m_eSelMode) in GetFocus()
580 if(m_pSpellState->m_pPointNode != pCursor->GetNode(sal_True) || in GetFocus()
581 m_pSpellState->m_pMarkNode != pCursor->GetNode(sal_False)|| in GetFocus()
582 m_pSpellState->m_nPointPos != pCursor->GetPoint()->nContent.GetIndex()|| in GetFocus()
583 m_pSpellState->m_nMarkPos != pCursor->GetMark()->nContent.GetIndex()) in GetFocus()
591 if(!pOutliner || m_pSpellState->m_pOutliner != pOutliner) in GetFocus()
597 if(!pOLV || !m_pSpellState->m_aESelection.IsEqual(pOLV->GetSelection())) in GetFocus()
619 m_pSpellState->m_bLostFocus = true; in LoseFocus()
620 if(m_pSpellState->m_bLockFocus) in LoseFocus()
625 m_pSpellState->m_eSelMode = pWrtShell->GetView().GetShellMode(); in LoseFocus()
626 m_pSpellState->m_pPointNode = m_pSpellState->m_pMarkNode = 0; in LoseFocus()
627 m_pSpellState->m_nPointPos = m_pSpellState->m_nMarkPos = 0; in LoseFocus()
628 m_pSpellState->m_pOutliner = 0; in LoseFocus()
630 switch(m_pSpellState->m_eSelMode) in LoseFocus()
639 m_pSpellState->m_pPointNode = pCursor->GetNode(sal_True); in LoseFocus()
640 m_pSpellState->m_pMarkNode = pCursor->GetNode(sal_False); in LoseFocus()
641 m_pSpellState->m_nPointPos = pCursor->GetPoint()->nContent.GetIndex(); in LoseFocus()
642 m_pSpellState->m_nMarkPos = pCursor->GetMark()->nContent.GetIndex(); in LoseFocus()
650 m_pSpellState->m_pOutliner = pOutliner; in LoseFocus()
655 m_pSpellState->m_aESelection = pOLV->GetSelection(); in LoseFocus()
663 m_pSpellState->m_eSelMode = SHELL_MODE_OBJECT; in LoseFocus()
671 if(!m_pSpellState->m_bInitialCall && pWrtShell) in InvalidateSpellDialog()
673 m_pSpellState->Reset(); in InvalidateSpellDialog()
788 if(!m_pSpellState->m_bTextObjectsCollected ) in FindNextDrawTextError_Impl()
790 m_pSpellState->m_bTextObjectsCollected = true; in FindNextDrawTextError_Impl()
795 m_pSpellState->m_aTextObjects.remove(pCurrentTextObj); in FindNextDrawTextError_Impl()
796 m_pSpellState->m_aTextObjects.push_back(pCurrentTextObj); in FindNextDrawTextError_Impl()
799 if(m_pSpellState->m_aTextObjects.size()) in FindNextDrawTextError_Impl()
802 while(!bNextDoc && m_pSpellState->m_aTextObjects.size()) in FindNextDrawTextError_Impl()
804 std::list<SdrTextObj*>::iterator aStart = m_pSpellState->m_aTextObjects.begin(); in FindNextDrawTextError_Impl()
806 if(m_pSpellState->m_pStartDrawing == pTextObj) in FindNextDrawTextError_Impl()
807 m_pSpellState->m_bRestartDrawing = true; in FindNextDrawTextError_Impl()
808 m_pSpellState->m_aTextObjects.erase(aStart); in FindNextDrawTextError_Impl()
870 if(bRet && m_pSpellState->m_bRestartDrawing) in SpellDrawText_Impl()
874 if(m_pSpellState->m_aStartDrawingSelection.nEndPara < aCurrentSelection.nEndPara || in SpellDrawText_Impl()
875 (m_pSpellState->m_aStartDrawingSelection.nEndPara == aCurrentSelection.nEndPara && in SpellDrawText_Impl()
876 m_pSpellState->m_aStartDrawingSelection.nEndPos < aCurrentSelection.nEndPos)) in SpellDrawText_Impl()
890 DBG_ASSERT(m_pSpellState->m_bLockFocus != bLock, "invalid locking - no change of state"); in LockFocusNotification()
891 m_pSpellState->m_bLockFocus = bLock; in LockFocusNotification()