Lines Matching refs:pNd

342     const SwNode* pNd = &GetPoint()->nNode.GetNode();  in IsSelOvr()  local
343 if( pNd->IsCntntNode() && !dynamic_cast<SwUnoCrsr*>(this) ) in IsSelOvr()
345 const SwCntntFrm* pFrm = ((SwCntntNode*)pNd)->getLayoutFrm( pDoc->GetCurrentLayout() ); in IsSelOvr()
362 pFrm = ((SwCntntNode*)pNd)->getLayoutFrm( pDoc->GetCurrentLayout() ); in IsSelOvr()
376 pNd = pCNd; in IsSelOvr()
416 if( (pNd = &GetMark()->nNode.GetNode())->IsCntntNode() in IsSelOvr()
417 && !((SwCntntNode*)pNd)->getLayoutFrm( pDoc->GetCurrentLayout() ) in IsSelOvr()
653 SwNode* pNd; in IsInProtectTable() local
654 if( ( pNd = &IDX.GetNode())->IsEndNode() || HasMark()) in IsInProtectTable()
665 else if( pNd->IsTableNode() && IDX++ ) in IsInProtectTable()
682 SwNode* pNd; in IsInProtectTable() local
686 if( !( pNd = &IDX.GetNode())->IsEndNode() ) in IsInProtectTable()
688 IDX.Assign( *pNd->StartOfSectionNode(), +1 ); in IsInProtectTable()
690 pCNd = pNd->GetNodes().GoNext( &IDX ); in IsInProtectTable()
693 IDX.Assign( *pNd->FindTableBoxStartNode(), -1 ); in IsInProtectTable()
714 if( ( pNd = &IDX.GetNode())->IsStartNode() || HasMark() ) in IsInProtectTable()
725 else if( pNd->StartOfSectionNode()->IsTableNode() && IDX-- ) in IsInProtectTable()
738 const SwNode* pNd = &pPos->nNode.GetNode(); in IsAtValidPos() local
740 if( pNd->IsCntntNode() && !((SwCntntNode*)pNd)->getLayoutFrm( pDoc->GetCurrentLayout() ) && in IsAtValidPos()
751 if( !bCrsrInReadOnly && pNd->IsProtect() ) in IsAtValidPos()
754 const SwSectionNode* pSectNd = pNd->FindSectionNode(); in IsAtValidPos()
2069 const SwNode* pNd = &GetPoint()->nNode.GetNode(); in MovePara() local
2077 const SwCntntNode* pCntntNd = pNd->GetCntntNode(); in MovePara()
2088 if ( pNd->IsTxtNode() && in MovePara()
2089 pNd->GetNodes()[ pNd->GetIndex() + in MovePara()
2211 const SwNode* pNd = &aIdx.GetNode(); in MakeBoxSels() local
2212 if( !pNd->IsCntntNode() ) in MakeBoxSels()
2213 pNd = rNds.GoNextSection( &aIdx, sal_True, sal_False ); in MakeBoxSels()
2216 if( pNd != &pPos->nNode.GetNode() ) in MakeBoxSels()
2217 pPos->nNode = *pNd; in MakeBoxSels()
2218 pPos->nContent.Assign( (SwCntntNode*)pNd, 0 ); in MakeBoxSels()
2221 if( !( pNd = &aIdx.GetNode())->IsCntntNode() ) in MakeBoxSels()
2222 pNd = rNds.GoPrevSection( &aIdx, sal_True, sal_False ); in MakeBoxSels()
2225 if( pNd != &pPos->nNode.GetNode() ) in MakeBoxSels()
2226 pPos->nNode = *pNd; in MakeBoxSels()
2227 pPos->nContent.Assign( (SwCntntNode*)pNd, ((SwCntntNode*)pNd)->Len() ); in MakeBoxSels()
2266 const SwNode* pNd = &aIdx.GetNode(); in MakeBoxSels() local
2267 if( !pNd->IsCntntNode() ) in MakeBoxSels()
2268 pNd = rNds.GoNextSection( &aIdx, sal_True, sal_False ); in MakeBoxSels()
2274 pNew->GetPoint()->nNode = *pNd; in MakeBoxSels()
2275 pNew->GetPoint()->nContent.Assign( (SwCntntNode*)pNd, 0 ); in MakeBoxSels()
2280 pNew->GetPoint()->nNode = *pNd; in MakeBoxSels()
2281 pNew->GetPoint()->nContent.Assign( (SwCntntNode*)pNd, 0 ); in MakeBoxSels()
2287 if( !( pNd = &pPos->nNode.GetNode())->IsCntntNode() ) in MakeBoxSels()
2288 pNd = rNds.GoPrevSection( &pPos->nNode, sal_True, sal_False ); in MakeBoxSels()
2290 pPos->nContent.Assign( (SwCntntNode*)pNd, ((SwCntntNode*)pNd)->Len() ); in MakeBoxSels()
2372 SwNode* pNd = &GetPoint()->nNode.GetNode(); in ParkCrsr() local
2373 if( !pNd->IsStartNode() ) in ParkCrsr()
2374 pNd = pNd->StartOfSectionNode(); in ParkCrsr()
2375 GetPoint()->nNode = *pNd; in ParkCrsr()
2378 pNd = &GetMark()->nNode.GetNode(); in ParkCrsr()
2379 if( !pNd->IsStartNode() ) in ParkCrsr()
2380 pNd = pNd->StartOfSectionNode(); in ParkCrsr()
2381 GetMark()->nNode = *pNd; in ParkCrsr()