Lines Matching refs:m_pSpellState

168                     m_pSpellState(new SpellState)  in SwSpellDialogChildWindow()
180 if(!m_pSpellState->m_bInitialCall && pWrtShell) in ~SwSpellDialogChildWindow()
182 delete m_pSpellState; in ~SwSpellDialogChildWindow()
222 if( m_pSpellState->m_bInitialCall ) in GetNextWrongSentence()
245 m_pSpellState->m_bStartedInSelection = true; in GetNextWrongSentence()
249m_pSpellState->m_SpellStartPosition = bOtherText ? SPELL_START_OTHER : SPELL_START_BODY; in GetNextWrongSentence()
252 m_pSpellState->pOtherCursor = new SwPaM(*pWrtShell->GetCrsr()->GetPoint()); in GetNextWrongSentence()
253 m_pSpellState->m_bStartedInOther = true; in GetNextWrongSentence()
262 m_pSpellState->m_xStartRange = in GetNextWrongSentence()
273 m_pSpellState->m_SpellStartPosition = SPELL_START_DRAWTEXT; in GetNextWrongSentence()
274m_pSpellState->m_pStartDrawing = pSdrView->GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj(); in GetNextWrongSentence()
278 m_pSpellState->m_aStartDrawingSelection = ESelection(); in GetNextWrongSentence()
296 m_pSpellState->m_bInitialCall = false; in GetNextWrongSentence()
307 m_pSpellState->m_bDrawingsSpelled = true; in GetNextWrongSentence()
310 if(!m_pSpellState->m_bOtherSpelled && pWrtShell->HasOtherCnt()) in GetNextWrongSentence()
316 m_pSpellState->m_bOtherSpelled = true; in GetNextWrongSentence()
320 m_pSpellState->m_bOtherSpelled = true; in GetNextWrongSentence()
322 if(!m_pSpellState->m_bBodySpelled && !aRet.size()) in GetNextWrongSentence()
327 m_pSpellState->m_bBodySpelled = true; in GetNextWrongSentence()
342 if (!m_pSpellState->m_bStartedInSelection) in GetNextWrongSentence()
346 … if(bOtherText && m_pSpellState->m_bStartedInOther && m_pSpellState->pOtherCursor) in GetNextWrongSentence()
348 m_pSpellState->m_bStartedInOther = false; in GetNextWrongSentence()
349 pWrtShell->SetSelection(*m_pSpellState->pOtherCursor); in GetNextWrongSentence()
351 delete m_pSpellState->pOtherCursor; in GetNextWrongSentence()
352 m_pSpellState->pOtherCursor = 0; in GetNextWrongSentence()
362 m_pSpellState->m_bOtherSpelled = true; in GetNextWrongSentence()
364 if(!m_pSpellState->m_bBodySpelled) in GetNextWrongSentence()
369 m_pSpellState->m_bBodySpelled = true; in GetNextWrongSentence()
376 m_pSpellState->m_bBodySpelled = true; in GetNextWrongSentence()
377 if(!m_pSpellState->m_bOtherSpelled && pWrtShell->HasOtherCnt()) in GetNextWrongSentence()
383 m_pSpellState->m_bOtherSpelled = true; in GetNextWrongSentence()
387 m_pSpellState->m_bOtherSpelled = true; in GetNextWrongSentence()
393 (m_pSpellState->m_bDrawingsSpelled || in GetNextWrongSentence()
397 m_pSpellState->m_bDrawingsSpelled = true; in GetNextWrongSentence()
406 if(!aRet.size() && !m_pSpellState->m_bStartedInSelection) in GetNextWrongSentence()
408 DBG_ASSERT(m_pSpellState->m_bDrawingsSpelled && in GetNextWrongSentence()
409 m_pSpellState->m_bOtherSpelled && m_pSpellState->m_bBodySpelled, in GetNextWrongSentence()
411 if(m_pSpellState->m_xStartRange.is()) in GetNextWrongSentence()
419 m_pSpellState->m_xStartRange)) in GetNextWrongSentence()
426 m_pSpellState->m_xStartRange = 0; in GetNextWrongSentence()
462 …DBG_ASSERT(!m_pSpellState->m_bInitialCall, "ApplyChangedSentence in initial call or after resume"); in ApplyChangedSentence()
463 if(pWrtShell && !m_pSpellState->m_bInitialCall) in ApplyChangedSentence()
559 if(m_pSpellState->m_bLockFocus) in GetFocus()
563 if(pWrtShell && !m_pSpellState->m_bInitialCall) in GetFocus()
566 if(eSelMode != m_pSpellState->m_eSelMode) in GetFocus()
569 if(m_pSpellState->m_bLostFocus) in GetFocus()
574 switch(m_pSpellState->m_eSelMode) in GetFocus()
582 if(m_pSpellState->m_pPointNode != pCursor->GetNode(sal_True) || in GetFocus()
583 m_pSpellState->m_pMarkNode != pCursor->GetNode(sal_False)|| in GetFocus()
584 m_pSpellState->m_nPointPos != pCursor->GetPoint()->nContent.GetIndex()|| in GetFocus()
585 m_pSpellState->m_nMarkPos != pCursor->GetMark()->nContent.GetIndex()) in GetFocus()
593 if(!pOutliner || m_pSpellState->m_pOutliner != pOutliner) in GetFocus()
599 if(!pOLV || !m_pSpellState->m_aESelection.IsEqual(pOLV->GetSelection())) in GetFocus()
621 m_pSpellState->m_bLostFocus = true; in LoseFocus()
622 if(m_pSpellState->m_bLockFocus) in LoseFocus()
627 m_pSpellState->m_eSelMode = pWrtShell->GetView().GetShellMode(); in LoseFocus()
628 m_pSpellState->m_pPointNode = m_pSpellState->m_pMarkNode = 0; in LoseFocus()
629 m_pSpellState->m_nPointPos = m_pSpellState->m_nMarkPos = 0; in LoseFocus()
630 m_pSpellState->m_pOutliner = 0; in LoseFocus()
632 switch(m_pSpellState->m_eSelMode) in LoseFocus()
641 m_pSpellState->m_pPointNode = pCursor->GetNode(sal_True); in LoseFocus()
642 m_pSpellState->m_pMarkNode = pCursor->GetNode(sal_False); in LoseFocus()
643 m_pSpellState->m_nPointPos = pCursor->GetPoint()->nContent.GetIndex(); in LoseFocus()
644 m_pSpellState->m_nMarkPos = pCursor->GetMark()->nContent.GetIndex(); in LoseFocus()
652 m_pSpellState->m_pOutliner = pOutliner; in LoseFocus()
657 m_pSpellState->m_aESelection = pOLV->GetSelection(); in LoseFocus()
665 m_pSpellState->m_eSelMode = SHELL_MODE_OBJECT; in LoseFocus()
673 if(!m_pSpellState->m_bInitialCall && pWrtShell) in InvalidateSpellDialog()
675 m_pSpellState->Reset(); in InvalidateSpellDialog()
790 if(!m_pSpellState->m_bTextObjectsCollected ) in FindNextDrawTextError_Impl()
792 m_pSpellState->m_bTextObjectsCollected = true; in FindNextDrawTextError_Impl()
797 m_pSpellState->m_aTextObjects.remove(pCurrentTextObj); in FindNextDrawTextError_Impl()
798 m_pSpellState->m_aTextObjects.push_back(pCurrentTextObj); in FindNextDrawTextError_Impl()
801 if(m_pSpellState->m_aTextObjects.size()) in FindNextDrawTextError_Impl()
804 while(!bNextDoc && m_pSpellState->m_aTextObjects.size()) in FindNextDrawTextError_Impl()
806 std::list<SdrTextObj*>::iterator aStart = m_pSpellState->m_aTextObjects.begin(); in FindNextDrawTextError_Impl()
808 if(m_pSpellState->m_pStartDrawing == pTextObj) in FindNextDrawTextError_Impl()
809 m_pSpellState->m_bRestartDrawing = true; in FindNextDrawTextError_Impl()
810 m_pSpellState->m_aTextObjects.erase(aStart); in FindNextDrawTextError_Impl()
872 if(bRet && m_pSpellState->m_bRestartDrawing) in SpellDrawText_Impl()
876 if(m_pSpellState->m_aStartDrawingSelection.nEndPara < aCurrentSelection.nEndPara || in SpellDrawText_Impl()
877 (m_pSpellState->m_aStartDrawingSelection.nEndPara == aCurrentSelection.nEndPara && in SpellDrawText_Impl()
878 m_pSpellState->m_aStartDrawingSelection.nEndPos < aCurrentSelection.nEndPos)) in SpellDrawText_Impl()
892 DBG_ASSERT(m_pSpellState->m_bLockFocus != bLock, "invalid locking - no change of state"); in LockFocusNotification()
893 m_pSpellState->m_bLockFocus = bLock; in LockFocusNotification()