Lines Matching refs:rPaM

1437 TextPaM TextView::CursorLeft( const TextPaM& rPaM, sal_Bool bWordMode )  in CursorLeft()  argument
1439 …return bWordMode ? CursorWordLeft( rPaM ) : CursorLeft( rPaM, (sal_uInt16)i18n::CharacterIteratorM… in CursorLeft()
1445 TextPaM TextView::CursorRight( const TextPaM& rPaM, sal_Bool bWordMode ) in CursorRight() argument
1447 …return bWordMode ? CursorWordRight( rPaM ) : CursorRight( rPaM, (sal_uInt16)i18n::CharacterIterato… in CursorRight()
1452 TextPaM TextView::CursorLeft( const TextPaM& rPaM, sal_uInt16 nCharacterIteratorMode ) in CursorLeft() argument
1454 TextPaM aPaM( rPaM ); in CursorLeft()
1472 TextPaM TextView::CursorRight( const TextPaM& rPaM, sal_uInt16 nCharacterIteratorMode ) in CursorRight() argument
1474 TextPaM aPaM( rPaM ); in CursorRight()
1493 TextPaM TextView::CursorWordLeft( const TextPaM& rPaM ) in CursorWordLeft() argument
1495 TextPaM aPaM( rPaM ); in CursorWordLeft()
1501 …i18n::Boundary aBoundary = xBI->getWordBoundary( pNode->GetText(), rPaM.GetIndex(), mpImpl->mpText… in CursorWordLeft()
1502 if ( aBoundary.startPos >= rPaM.GetIndex() ) in CursorWordLeft()
1503 …aBoundary = xBI->previousWord( pNode->GetText(), rPaM.GetIndex(), mpImpl->mpTextEngine->GetLocale(… in CursorWordLeft()
1516 TextPaM TextView::CursorWordRight( const TextPaM& rPaM ) in CursorWordRight() argument
1518 TextPaM aPaM( rPaM ); in CursorWordRight()
1604 TextPaM TextView::CursorUp( const TextPaM& rPaM ) in CursorUp() argument
1606 TextPaM aPaM( rPaM ); in CursorUp()
1611 nX = mpImpl->mpTextEngine->GetEditCursor( rPaM, sal_False ).Left(); in CursorUp()
1617 TEParaPortion* pPPortion = mpImpl->mpTextEngine->mpTEParaPortions->GetObject( rPaM.GetPara() ); in CursorUp()
1618 sal_uInt16 nLine = pPPortion->GetLineNumber( rPaM.GetIndex(), sal_False ); in CursorUp()
1621 sal_uInt16 nCharPos = mpImpl->mpTextEngine->GetCharPos( rPaM.GetPara(), nLine-1, nX ); in CursorUp()
1630 else if ( rPaM.GetPara() ) // vorheriger Absatz in CursorUp()
1642 TextPaM TextView::CursorDown( const TextPaM& rPaM ) in CursorDown() argument
1644 TextPaM aPaM( rPaM ); in CursorDown()
1649 nX = mpImpl->mpTextEngine->GetEditCursor( rPaM, sal_False ).Left(); in CursorDown()
1655 TEParaPortion* pPPortion = mpImpl->mpTextEngine->mpTEParaPortions->GetObject( rPaM.GetPara() ); in CursorDown()
1656 sal_uInt16 nLine = pPPortion->GetLineNumber( rPaM.GetIndex(), sal_False ); in CursorDown()
1659 sal_uInt16 nCharPos = mpImpl->mpTextEngine->GetCharPos( rPaM.GetPara(), nLine+1, nX ); in CursorDown()
1667 …else if ( rPaM.GetPara() < ( mpImpl->mpTextEngine->mpDoc->GetNodes().Count() - 1 ) ) // naechste… in CursorDown()
1681 TextPaM TextView::CursorStartOfLine( const TextPaM& rPaM ) in CursorStartOfLine() argument
1683 TextPaM aPaM( rPaM ); in CursorStartOfLine()
1685 TEParaPortion* pPPortion = mpImpl->mpTextEngine->mpTEParaPortions->GetObject( rPaM.GetPara() ); in CursorStartOfLine()
1693 TextPaM TextView::CursorEndOfLine( const TextPaM& rPaM ) in CursorEndOfLine() argument
1695 TextPaM aPaM( rPaM ); in CursorEndOfLine()
1697 TEParaPortion* pPPortion = mpImpl->mpTextEngine->mpTEParaPortions->GetObject( rPaM.GetPara() ); in CursorEndOfLine()
1716 TextPaM TextView::CursorStartOfParagraph( const TextPaM& rPaM ) in CursorStartOfParagraph() argument
1718 TextPaM aPaM( rPaM ); in CursorStartOfParagraph()
1723 TextPaM TextView::CursorEndOfParagraph( const TextPaM& rPaM ) in CursorEndOfParagraph() argument
1725 TextNode* pNode = mpImpl->mpTextEngine->mpDoc->GetNodes().GetObject( rPaM.GetPara() ); in CursorEndOfParagraph()
1726 TextPaM aPaM( rPaM ); in CursorEndOfParagraph()
1745 TextPaM TextView::PageUp( const TextPaM& rPaM ) in PageUp() argument
1747 Rectangle aRec = mpImpl->mpTextEngine->PaMtoEditCursor( rPaM ); in PageUp()
1758 TextPaM TextView::PageDown( const TextPaM& rPaM ) in PageDown() argument
1760 Rectangle aRec = mpImpl->mpTextEngine->PaMtoEditCursor( rPaM ); in PageDown()
1955 sal_Bool TextView::IsInSelection( const TextPaM& rPaM ) in IsInSelection() argument
1962 sal_uLong nCurNode = rPaM.GetPara(); in IsInSelection()
1970 …if ( ( rPaM.GetIndex() >= aSel.GetStart().GetIndex() ) && ( rPaM.GetIndex() < aSel.GetEnd().GetInd… in IsInSelection()
1973 else if ( ( nCurNode == nStartNode ) && ( rPaM.GetIndex() >= aSel.GetStart().GetIndex() ) ) in IsInSelection()
1975 else if ( ( nCurNode == nEndNode ) && ( rPaM.GetIndex() < aSel.GetEnd().GetIndex() ) ) in IsInSelection()