Lines Matching refs:pEnd

101             * pEnd = pR->GetMark() == pStt ? pR->GetPoint() : pR->GetMark();  in _SaveRedline()  local
107 nEnd = pEnd->nNode.GetIndex() - nSttIdx; in _SaveRedline()
108 nEndCnt = pEnd->nContent.GetIndex(); in _SaveRedline()
121 * pEnd = pR->GetMark() == pStt ? pR->GetPoint() : pR->GetMark(); in _SaveRedline() local
129 nEnd = pEnd->nNode.GetIndex() - nSttIdx; in _SaveRedline()
130 nEndCnt = pEnd->nContent.GetIndex(); in _SaveRedline()
491 const SwPosition* pEnd = aPam.End(); in lcl_SaveRedlines() local
511 *pStart, *pEnd); in lcl_SaveRedlines()
539 *pNewRedline->Start() = *pEnd; in lcl_SaveRedlines()
540 *pCurrent->End() = *pEnd; in lcl_SaveRedlines()
688 const SwPosition* pEnd; in _SaveRedlEndPosForRestore() local
691 while( nFndPos-- && *( pEnd = ( pRedl = in _SaveRedlEndPosForRestore()
699 void* p = (void*)pEnd; in _SaveRedlEndPosForRestore()
904 const SwPosition *pStt = rPaM.Start(), *pEnd = rPaM.End(); in MoveRange() local
905 if( !rPaM.HasMark() || *pStt >= *pEnd || (*pStt <= rPos && rPos < *pEnd)) in MoveRange()
925 pEnd->nNode, in MoveRange()
928 &pEnd->nContent); in MoveRange()
945 bUpdateFtn = lcl_SaveFtn( pStt->nNode, pEnd->nNode, rPos.nNode, in MoveRange()
947 &pStt->nContent, &pEnd->nContent ); in MoveRange()
954 if( rPaM.GetPoint() == pEnd ) in MoveRange()
960 sal_Bool bCorrSavePam = pSrcNd && pStt->nNode != pEnd->nNode; in MoveRange()
1007 pEnd->nNode, in MoveRange()
1010 &pEnd->nContent); in MoveRange()
1249 SwPosition* pEnd = pTmp->End(); in MoveNodeRange() local
1250 pEnd->nNode = aIdx; in MoveNodeRange()
1251 pEnd->nContent.Assign( pNewNd->GetCntntNode(), 0 ); in MoveNodeRange()
1310 const SwPosition* pStt = rPam.Start(), *pEnd = rPam.End(); in lcl_StrLenOverFlow() local
1311 const SwTxtNode* pEndNd = pEnd->nNode.GetNode().GetTxtNode(); in lcl_StrLenOverFlow()
1315 pEndNd->GetTxt().Len() - pEnd->nContent.GetIndex(); in lcl_StrLenOverFlow()
1329 const SwPosition* pStt = rPam.Start(), *pEnd = rPam.End(); in lcl_GetJoinFlags() local
1333 SwTxtNode *pEndNd = pEnd->nNode.GetNode().GetTxtNode(); in lcl_GetJoinFlags()
1339 pEndNd->GetTxt().Len() != pEnd->nContent.GetIndex() ) in lcl_GetJoinFlags()
1345 pEndNd->GetTxt().Len() != pEnd->nContent.GetIndex() in lcl_GetJoinFlags()
1657 SwPosition *pStt = (SwPosition*)rPam.Start(), *pEnd = (SwPosition*)rPam.End(); in DeleteRangeImplImpl() local
1659 if( !rPam.HasMark() || *pStt >= *pEnd ) in DeleteRangeImplImpl()
1665 if( pACEWord->IsDeleted() || pStt->nNode != pEnd->nNode || in DeleteRangeImplImpl()
1666 pStt->nContent.GetIndex() + 1 != pEnd->nContent.GetIndex() || in DeleteRangeImplImpl()
1734 pEnd->nNode, in DeleteRangeImplImpl()
1737 &pEnd->nContent); in DeleteRangeImplImpl()
1749 sal_Bool bOneNd = pStt->nNode == pEnd->nNode; in DeleteRangeImplImpl()
1750 xub_StrLen nLen = ( bOneNd ? pEnd->nContent.GetIndex() in DeleteRangeImplImpl()
1779 pCNd = pEnd->nNode.GetNode().GetCntntNode(); in DeleteRangeImplImpl()
1786 if( pEnd->nContent.GetIndex() ) in DeleteRangeImplImpl()
1789 pEndTxtNode->EraseText( aIdx, pEnd->nContent.GetIndex() ); in DeleteRangeImplImpl()
1802 pEnd->nContent.Assign( 0, 0 ); in DeleteRangeImplImpl()
1807 sal_uInt32 nEnde = pEnd->nNode.GetIndex(); in DeleteRangeImplImpl()
1825 *pEnd = *pStt; in DeleteRangeImplImpl()
2070 const SwNode *pEnd; member in SwHyphArgs
2112 pEnd = pMark->nNode.GetNode().GetTxtNode(); in SwHyphArgs()
2121 nLen = pEnd == pNew ? nPamLen : STRING_NOTFOUND; in SetRange()
2322 *pEnd = (SwPosition*)aDelPam.End(); in ReplaceRangeImpl() local
2323 ASSERT( pStt->nNode == pEnd->nNode || in ReplaceRangeImpl()
2324 ( pStt->nNode.GetIndex() + 1 == pEnd->nNode.GetIndex() && in ReplaceRangeImpl()
2325 !pEnd->nContent.GetIndex() ), in ReplaceRangeImpl()
2327 sal_Bool bOneNode = pStt->nNode == pEnd->nNode; in ReplaceRangeImpl()
2333 nEnd = bOneNode ? pEnd->nContent.GetIndex() in ReplaceRangeImpl()
2480 nEnd = bOneNode ? pEnd->nContent.GetIndex() in ReplaceRangeImpl()
2698 * pEnd = rPaM.End(); in TransliterateText() local
2700 nEndNd = pEnd->nNode.GetIndex(); in TransliterateText()
2702 nEndCnt = pEnd->nContent.GetIndex(); in TransliterateText()
2705 if( pStt == pEnd && pTNd ) // no selection? in TransliterateText()
2743 if( nEndCnt && 0 != ( pTNd = pEnd->nNode.GetNode().GetTxtNode() )) in TransliterateText()
2789 const SwPosition* pEnd = pStt == rPaM.GetPoint() ? rPaM.GetMark() in CountWords() local
2793 const sal_uLong nEndNd = pEnd->nNode.GetIndex(); in CountWords()
2796 const xub_StrLen nEndCnt = pEnd->nContent.GetIndex(); in CountWords()
2799 if( pStt == pEnd && pTNd ) // no region ? in CountWords()
2819 if( nEndCnt && 0 != ( pTNd = pEnd->nNode.GetNode().GetTxtNode() )) in CountWords()