Lines Matching refs:aCurSel

1499 	EditSelection aCurSel( pEditView->pImpEditView->GetEditSelection() );  in Spell()
1500 pSpellInfo = CreateSpellInfo( aCurSel, bMultipleDoc ); in Spell()
1516 if ( aCurSel.Max().GetIndex() > aCurSel.Max().GetNode()->Len() ) in Spell()
1517 aCurSel.Max().GetIndex() = aCurSel.Max().GetNode()->Len(); in Spell()
1518 aCurSel.Min() = aCurSel.Max(); in Spell()
1519 pEditView->pImpEditView->SetEditSelection( aCurSel ); in Spell()
1586 EditSelection aCurSel( pEditView->pImpEditView->GetEditSelection() ); in Convert()
1587 aCurSel.Adjust( aEditDoc ); in Convert()
1590 pConvInfo->aConvStart = CreateEPaM( aCurSel.Min() ); in Convert()
1598 if (!aCurSel.HasRange() && ImplGetBreakIterator().is()) in Convert()
1600 EditPaM aWordStartPaM( SelectWord( aCurSel, i18n::WordType::DICTIONARY_WORD ).Min() ); in Convert()
1650 if ( aCurSel.Max().GetIndex() > aCurSel.Max().GetNode()->Len() ) in Convert()
1651 aCurSel.Max().GetIndex() = aCurSel.Max().GetNode()->Len(); in Convert()
1652 aCurSel.Min() = aCurSel.Max(); in Convert()
1653 pEditView->pImpEditView->SetEditSelection( aCurSel ); in Convert()
1716 EditSelection aCurSel = EditSelection( aPos, aPos ); in ImpConvert() local
1754 EPaM aCurStart = CreateEPaM( aCurSel.Min() ); in ImpConvert()
1825 aCurSel.Min().SetIndex( nAttribStart ); in ImpConvert()
1826 aCurSel.Max().SetIndex( nAttribEnd ); in ImpConvert()
1832 aCurSel.Min().SetIndex( nCurPos ); in ImpConvert()
1833 aCurSel.Max().SetIndex( nCurPos ); in ImpConvert()
1838 EPaM aEPaM( CreateEPaM( aCurSel.Min() ) ); in ImpConvert()
1847 aCurSel.Min().GetNode() == aPaM.GetNode() && in ImpConvert()
1848 aCurSel.Min().GetIndex() < aPaM.GetIndex()) in ImpConvert()
1849 aCurSel.Min().SetIndex( aPaM.GetIndex() ); in ImpConvert()
1851 if (aCurSel.Min().GetNode() == aPaM.GetNode() && in ImpConvert()
1852 aCurSel.Min().GetIndex() < aPaM.GetIndex()) in ImpConvert()
1853 aCurSel.Min().SetIndex( aPaM.GetIndex() ); in ImpConvert()
1856 aCurSel.Max().GetNode() == aPaM.GetNode() && in ImpConvert()
1857 aCurSel.Max().GetIndex() > aPaM.GetIndex()) in ImpConvert()
1858 aCurSel.Max().SetIndex( aPaM.GetIndex() ); in ImpConvert()
1860 aWord = GetSelected( aCurSel ); in ImpConvert()
1867 aCurSel = WordRight( aCurSel.Min(), ::com::sun::star::i18n::WordType::DICTIONARY_WORD ); in ImpConvert()
1869 pConvInfo->aConvContinue = CreateEPaM( aCurSel.Max() ); in ImpConvert()
1873 pEditView->pImpEditView->SetEditSelection( aCurSel ); in ImpConvert()
1893 EditSelection aCurSel( pEditView->pImpEditView->GetEditSelection() ); in ImpSpell()
1894 aCurSel.Min() = aCurSel.Max(); in ImpSpell()
1907 if ( aCurSel.Max().GetNode() == pLastNode ) in ImpSpell()
1909 if ( ( aCurSel.Max().GetIndex() >= pLastNode->Len() ) ) in ImpSpell()
1915 EPaM aEPaM( CreateEPaM( aCurSel.Max() ) ); in ImpSpell()
1920 aCurSel = SelectWord( aCurSel, ::com::sun::star::i18n::WordType::DICTIONARY_WORD ); in ImpSpell()
1921 aWord = GetSelected( aCurSel ); in ImpSpell()
1925 if ( aWord.Len() && ( aCurSel.Max().GetIndex() < aCurSel.Max().GetNode()->Len() ) ) in ImpSpell()
1927 sal_Unicode cNext = aCurSel.Max().GetNode()->GetChar( aCurSel.Max().GetIndex() ); in ImpSpell()
1930 aCurSel.Max().GetIndex()++; in ImpSpell()
1937 LanguageType eLang = GetLanguage( aCurSel.Max() ); in ImpSpell()
1943 aCurSel = WordRight( aCurSel.Min(), ::com::sun::star::i18n::WordType::DICTIONARY_WORD ); in ImpSpell()
1949 pEditView->pImpEditView->SetEditSelection( aCurSel ); in ImpSpell()
1969 EditSelection aCurSel( rEditView.pImpEditView->GetEditSelection() ); in StartSpelling() local
1970 pSpellInfo = CreateSpellInfo( aCurSel, bMultipleDoc ); in StartSpelling()
1978 EditSelection aCurSel( rSelection.Min() ); in ImpFindNextError() local
1987 EPaM aEPaM( CreateEPaM( aCurSel.Max() ) ); in ImpFindNextError()
1992 aCurSel = SelectWord( aCurSel, ::com::sun::star::i18n::WordType::DICTIONARY_WORD ); in ImpFindNextError()
1993 aWord = GetSelected( aCurSel ); in ImpFindNextError()
1997 if ( aWord.Len() && ( aCurSel.Max().GetIndex() < aCurSel.Max().GetNode()->Len() ) ) in ImpFindNextError()
1999 sal_Unicode cNext = aCurSel.Max().GetNode()->GetChar( aCurSel.Max().GetIndex() ); in ImpFindNextError()
2002 aCurSel.Max().GetIndex()++; in ImpFindNextError()
2008 xSpellAlt = xSpeller->spell( aWord, GetLanguage( aCurSel.Max() ), aEmptySeq ); in ImpFindNextError()
2011 aCurSel = WordRight( aCurSel.Min(), ::com::sun::star::i18n::WordType::DICTIONARY_WORD ); in ImpFindNextError()
2015 rSelection = aCurSel; in ImpFindNextError()
2030 EditSelection aCurSel( rEditView.pImpEditView->GetEditSelection() ); in SpellSentence()
2032 pSpellInfo = CreateSpellInfo( aCurSel, true ); in SpellSentence()
2033 pSpellInfo->aCurSentenceStart = aCurSel.Min(); in SpellSentence()
2039 if(aCurSel.Min() == aCurSel.Max()) in SpellSentence()
2042 aCurSel.Max() = EditPaM(pLastNode, pLastNode->Len()); in SpellSentence()
2045 Reference< XSpellAlternatives > xAlt = ImpFindNextError(aCurSel); in SpellSentence()
2050 EditSelection aSentencePaM = SelectSentence(aCurSel); in SpellSentence()
2052 if(aSentencePaM.Max().GetIndex() < aCurSel.Max().GetIndex()) in SpellSentence()
2053 aSentencePaM.Max() = aCurSel.Max(); in SpellSentence()
2055 EditSelection aStartSelection(aSentencePaM.Min(), aCurSel.Min()); in SpellSentence()
2059 AddPortionIterated(rEditView, aCurSel, xAlt, rToFill); in SpellSentence()
2064 EditSelection aNextSel = EditSelection(aCurSel.Max(), aSentencePaM.Max()); in SpellSentence()
2069 AddPortionIterated(rEditView, EditSelection(aCurSel.Max(), aNextSel.Min()), 0, rToFill); in SpellSentence()
2074 … AddPortionIterated(rEditView, EditSelection(aCurSel.Max(), aSentencePaM.Max()), xAlt, rToFill); in SpellSentence()
2075 aCurSel = aNextSel; in SpellSentence()
2559 EditSelection aCurSel( aEditDoc.GetStartPaM() ); in HasSpellErrors() local
2566 if ( ( aCurSel.Max().GetNode() == pLastNode ) && in HasSpellErrors()
2567 ( aCurSel.Max().GetIndex() >= pLastNode->Len() ) ) in HasSpellErrors()
2572 aCurSel = SelectWord( aCurSel, ::com::sun::star::i18n::WordType::DICTIONARY_WORD ); in HasSpellErrors()
2573 aWord = GetSelected( aCurSel ); in HasSpellErrors()
2576 LanguageType eLang = GetLanguage( aCurSel.Max() ); in HasSpellErrors()
2580 aCurSel = WordRight( aCurSel.Max(), ::com::sun::star::i18n::WordType::DICTIONARY_WORD ); in HasSpellErrors()
2590 EditSelection aCurSel( pEditView->pImpEditView->GetEditSelection() ); in StartThesaurus() local
2591 if ( !aCurSel.HasRange() ) in StartThesaurus()
2592 aCurSel = SelectWord( aCurSel, ::com::sun::star::i18n::WordType::DICTIONARY_WORD ); in StartThesaurus()
2593 String aWord( GetSelected( aCurSel ) ); in StartThesaurus()
2600 …pFact->CreateThesaurusDialog( pEditView->GetWindow(), xThes, aWord, GetLanguage( aCurSel.Max() ) ); in StartThesaurus()
2605 pEditView->pImpEditView->SetEditSelection( aCurSel ); in StartThesaurus()
2623 EditSelection aCurSel( pEditView->pImpEditView->GetEditSelection() ); in StartSearchAndReplace() local
2636 if ( aCurSel.HasRange() ) in StartSearchAndReplace()
2653 aCurSel.Adjust( aEditDoc ); in StartSearchAndReplace()
2654 EditPaM aStartPaM = aTmpItem.GetSelection() ? aCurSel.Min() : aEditDoc.GetStartPaM(); in StartSearchAndReplace()
2655 EditSelection aFoundSel( aCurSel.Max() ); in StartSearchAndReplace()
2656 sal_Bool bFound = ImpSearch( aTmpItem, aCurSel, aStartPaM, aFoundSel ); in StartSearchAndReplace()
2663 bFound = ImpSearch( aTmpItem, aCurSel, aStartPaM, aFoundSel ); in StartSearchAndReplace()