Lines Matching refs:Max
129 EditPaM aPaM = aSel.Max(); in ReadText()
153 return aSel.Max(); in ReadXML()
209 SvParserState eState = xPrsr->CallParser( this, aSel.Max() ); in ReadHTML()
215 return xPrsr->GetCurSelection().Max(); in ReadHTML()
226 EditPaM aLastPaM = aSel.Max(); in ReadBin()
228 aLastPaM = InsertText( *pObj, aSel ).Max(); in ReadBin()
268 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in WriteText()
289 nEndPos = aSel.Max().GetIndex(); in WriteText()
372 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in WriteRTF()
655 nEndPos = aSel.Max().GetIndex(); in WriteRTF()
1040 aCompleteSelection.Max() = aEditDoc.GetEndPaM(); in CreateTextObject()
1064 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in CreateBinTextObject()
1067 ( aSel.Max().GetIndex() < aSel.Max().GetNode()->Len() ) ) ? in CreateBinTextObject()
1096 nEndPos = aSel.Max().GetIndex(); in CreateBinTextObject()
1230 EditSelection aNewSel = InsertBinTextObject( (BinTextObject&)rTextObject, aSel.Max() ); in InsertText()
1425 aSel.Max() = aPaM; in InsertBinTextObject()
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()
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()
1826 aCurSel.Max().SetIndex( nAttribEnd ); in ImpConvert()
1833 aCurSel.Max().SetIndex( nCurPos ); 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()
1869 pConvInfo->aConvContinue = CreateEPaM( aCurSel.Max() ); in ImpConvert()
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()
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()
1987 EPaM aEPaM( CreateEPaM( aCurSel.Max() ) ); in ImpFindNextError()
1988 if ( !( aEPaM < CreateEPaM( rSelection.Max()) ) ) 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()
2039 if(aCurSel.Min() == aCurSel.Max()) in SpellSentence()
2042 aCurSel.Max() = EditPaM(pLastNode, pLastNode->Len()); in SpellSentence()
2052 if(aSentencePaM.Max().GetIndex() < aCurSel.Max().GetIndex()) in SpellSentence()
2053 aSentencePaM.Max() = aCurSel.Max(); 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()
2080 rEditView.pImpEditView->SetEditSelection(aSentencePaM.Max()); in SpellSentence()
2125 if(rSel.Min() != rSel.Max()) in AddPortionIterated()
2135 bool bTest = rSel.Min().GetIndex() <= rSel.Max().GetIndex(); in AddPortionIterated()
2136 EditPaM aStart(bTest ? rSel.Min() : rSel.Max()); in AddPortionIterated()
2137 EditPaM aEnd(bTest ? rSel.Max() : rSel.Min()); in AddPortionIterated()
2208 xub_StrLen nOldLen = aOldSel.Max().GetNode()->Len(); in ApplyChangedSentence()
2233 rEditView.pImpEditView->SetEditSelection( aCurrentOldPosition->Max() ); in ApplyChangedSentence()
2273 EditSelection aAllSentence(aCurrentStartPosition->Min(), aCurrentEndPosition->Max()); in ApplyChangedSentence()
2311 … sal_Int32 nDelta = rEditView.pImpEditView->GetEditSelection().Max().GetNode()->Len() - nOldLen; in ApplyChangedSentence()
2312 xub_StrLen nEndOfSentence = aOldSel.Max().GetIndex() + nDelta; in ApplyChangedSentence()
2313 aNext = EditPaM( aOldSel.Max().GetNode(), nEndOfSentence ); in ApplyChangedSentence()
2360 aCursorPos = pActiveView->pImpEditView->GetEditSelection().Max(); in DoOnlineSpelling()
2390 while ( ( aSel.Max().GetNode() == pNode ) /* && !bStop */ ) in DoOnlineSpelling()
2393 … || ( ( aSel.Max().GetNode() == pLastNode ) && ( aSel.Max().GetIndex() >= pLastNode->Len() ) ) ) in DoOnlineSpelling()
2401 if ( aSel.Max().GetIndex() < aSel.Max().GetNode()->Len() ) in DoOnlineSpelling()
2403 sal_Unicode cNext = aSel.Max().GetNode()->GetChar( aSel.Max().GetIndex() ); in DoOnlineSpelling()
2406 aSel.Max().GetIndex()++; in DoOnlineSpelling()
2417 sal_uInt16 nWEnd= aSel.Max().GetIndex(); in DoOnlineSpelling()
2474 EditPaM aLastEnd( aSel.Max() ); in DoOnlineSpelling()
2475 aSel = WordRight( aSel.Max(), ::com::sun::star::i18n::WordType::DICTIONARY_WORD ); in DoOnlineSpelling()
2566 if ( ( aCurSel.Max().GetNode() == pLastNode ) && in HasSpellErrors()
2567 ( aCurSel.Max().GetIndex() >= pLastNode->Len() ) ) in HasSpellErrors()
2576 LanguageType eLang = GetLanguage( aCurSel.Max() ); in HasSpellErrors()
2580 aCurSel = WordRight( aCurSel.Max(), ::com::sun::star::i18n::WordType::DICTIONARY_WORD ); in HasSpellErrors()
2600 …pFact->CreateThesaurusDialog( pEditView->GetWindow(), xThes, aWord, GetLanguage( aCurSel.Max() ) ); in StartThesaurus()
2655 EditSelection aFoundSel( aCurSel.Max() ); in StartSearchAndReplace()
2667 EditPaM aNewPaM( aFoundSel.Max() ); in StartSearchAndReplace()
2688 EditPaM aStartPaM( aSel.Max() ); in Search()
2709 pEditView->pImpEditView->SetEditSelection( aSel.Max() ); in Search()
2729 …nEndNode = aEditDoc.GetPos( bBack ? rSearchSelection.Min().GetNode() : rSearchSelection.Max().GetN… in ImpSearch()
2763 nEndPos = rSearchSelection.Max().GetIndex(); in ImpSearch()
2781 rFoundSel.Max().SetNode( pNode ); in ImpSearch()
2782 rFoundSel.Max().SetIndex( nEndPos ); in ImpSearch()
2844 const sal_uInt32 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in TransliterateText()
2861 nEndPos = aSel.Max().GetIndex(); in TransliterateText()
3084 if (aSel.Max().GetNode() == rSel.Max().GetNode() && in TransliterateText()
3085 aSel.Max().GetIndex() < rSel.Max().GetIndex()) in TransliterateText()
3086 aSel.Max().SetIndex( rSel.Max().GetIndex() ); in TransliterateText()
3093 const bool bSingleNode = aSel.Min().GetNode()== aSel.Max().GetNode(); in TransliterateText()
3094 …= aSel.Min().GetNode()->GetCharAttribs().HasAttrib( aSel.Min().GetIndex(), aSel.Max().GetIndex() ); in TransliterateText()
3096 …pUndo->SetText( aSel.Min().GetNode()->Copy( aSel.Min().GetIndex(), aSel.Max().GetIndex()-aSel.Min(… in TransliterateText()
3117 if (aSel.Max().GetNode() == rData.aSelection.Max().GetNode()) in TransliterateText()
3118 aNewSel.Max().GetIndex() = aNewSel.Max().GetIndex() + nDiffs; in TransliterateText()