Lines Matching refs:rPaM

1441 TextPaM TextView::CursorLeft( const TextPaM& rPaM, sal_Bool bWordMode )  in CursorLeft()  argument
1443 …return bWordMode ? CursorWordLeft( rPaM ) : CursorLeft( rPaM, (sal_uInt16)i18n::CharacterIteratorM… in CursorLeft()
1449 TextPaM TextView::CursorRight( const TextPaM& rPaM, sal_Bool bWordMode ) in CursorRight() argument
1451 …return bWordMode ? CursorWordRight( rPaM ) : CursorRight( rPaM, (sal_uInt16)i18n::CharacterIterato… in CursorRight()
1456 TextPaM TextView::CursorLeft( const TextPaM& rPaM, sal_uInt16 nCharacterIteratorMode ) in CursorLeft() argument
1458 TextPaM aPaM( rPaM ); in CursorLeft()
1476 TextPaM TextView::CursorRight( const TextPaM& rPaM, sal_uInt16 nCharacterIteratorMode ) in CursorRight() argument
1478 TextPaM aPaM( rPaM ); in CursorRight()
1497 TextPaM TextView::CursorWordLeft( const TextPaM& rPaM ) in CursorWordLeft() argument
1499 TextPaM aPaM( rPaM ); in CursorWordLeft()
1505 …i18n::Boundary aBoundary = xBI->getWordBoundary( pNode->GetText(), rPaM.GetIndex(), mpImpl->mpText… in CursorWordLeft()
1506 if ( aBoundary.startPos >= rPaM.GetIndex() ) in CursorWordLeft()
1507 …aBoundary = xBI->previousWord( pNode->GetText(), rPaM.GetIndex(), mpImpl->mpTextEngine->GetLocale(… in CursorWordLeft()
1520 TextPaM TextView::CursorWordRight( const TextPaM& rPaM ) in CursorWordRight() argument
1522 TextPaM aPaM( rPaM ); in CursorWordRight()
1608 TextPaM TextView::CursorUp( const TextPaM& rPaM ) in CursorUp() argument
1610 TextPaM aPaM( rPaM ); in CursorUp()
1615 nX = mpImpl->mpTextEngine->GetEditCursor( rPaM, sal_False ).Left(); in CursorUp()
1621 TEParaPortion* pPPortion = mpImpl->mpTextEngine->mpTEParaPortions->GetObject( rPaM.GetPara() ); in CursorUp()
1622 sal_uInt16 nLine = pPPortion->GetLineNumber( rPaM.GetIndex(), sal_False ); in CursorUp()
1625 sal_uInt16 nCharPos = mpImpl->mpTextEngine->GetCharPos( rPaM.GetPara(), nLine-1, nX ); in CursorUp()
1634 else if ( rPaM.GetPara() ) // vorheriger Absatz in CursorUp()
1646 TextPaM TextView::CursorDown( const TextPaM& rPaM ) in CursorDown() argument
1648 TextPaM aPaM( rPaM ); in CursorDown()
1653 nX = mpImpl->mpTextEngine->GetEditCursor( rPaM, sal_False ).Left(); in CursorDown()
1659 TEParaPortion* pPPortion = mpImpl->mpTextEngine->mpTEParaPortions->GetObject( rPaM.GetPara() ); in CursorDown()
1660 sal_uInt16 nLine = pPPortion->GetLineNumber( rPaM.GetIndex(), sal_False ); in CursorDown()
1663 sal_uInt16 nCharPos = mpImpl->mpTextEngine->GetCharPos( rPaM.GetPara(), nLine+1, nX ); in CursorDown()
1671 …else if ( rPaM.GetPara() < ( mpImpl->mpTextEngine->mpDoc->GetNodes().Count() - 1 ) ) // naechste… in CursorDown()
1685 TextPaM TextView::CursorStartOfLine( const TextPaM& rPaM ) in CursorStartOfLine() argument
1687 TextPaM aPaM( rPaM ); in CursorStartOfLine()
1689 TEParaPortion* pPPortion = mpImpl->mpTextEngine->mpTEParaPortions->GetObject( rPaM.GetPara() ); in CursorStartOfLine()
1697 TextPaM TextView::CursorEndOfLine( const TextPaM& rPaM ) in CursorEndOfLine() argument
1699 TextPaM aPaM( rPaM ); in CursorEndOfLine()
1701 TEParaPortion* pPPortion = mpImpl->mpTextEngine->mpTEParaPortions->GetObject( rPaM.GetPara() ); in CursorEndOfLine()
1720 TextPaM TextView::CursorStartOfParagraph( const TextPaM& rPaM ) in CursorStartOfParagraph() argument
1722 TextPaM aPaM( rPaM ); in CursorStartOfParagraph()
1727 TextPaM TextView::CursorEndOfParagraph( const TextPaM& rPaM ) in CursorEndOfParagraph() argument
1729 TextNode* pNode = mpImpl->mpTextEngine->mpDoc->GetNodes().GetObject( rPaM.GetPara() ); in CursorEndOfParagraph()
1730 TextPaM aPaM( rPaM ); in CursorEndOfParagraph()
1749 TextPaM TextView::PageUp( const TextPaM& rPaM ) in PageUp() argument
1751 Rectangle aRec = mpImpl->mpTextEngine->PaMtoEditCursor( rPaM ); in PageUp()
1762 TextPaM TextView::PageDown( const TextPaM& rPaM ) in PageDown() argument
1764 Rectangle aRec = mpImpl->mpTextEngine->PaMtoEditCursor( rPaM ); in PageDown()
1959 sal_Bool TextView::IsInSelection( const TextPaM& rPaM ) in IsInSelection() argument
1966 sal_uLong nCurNode = rPaM.GetPara(); in IsInSelection()
1974 …if ( ( rPaM.GetIndex() >= aSel.GetStart().GetIndex() ) && ( rPaM.GetIndex() < aSel.GetEnd().GetInd… in IsInSelection()
1977 else if ( ( nCurNode == nStartNode ) && ( rPaM.GetIndex() >= aSel.GetStart().GetIndex() ) ) in IsInSelection()
1979 else if ( ( nCurNode == nEndNode ) && ( rPaM.GetIndex() < aSel.GetEnd().GetIndex() ) ) in IsInSelection()