Lines Matching refs:pNd

82     SwNode* pNd = 0;  in GoNextWithFrm()  local
85 pNd = &aTmp.GetNode(); in GoNextWithFrm()
87 if ( pNd->IsCntntNode() ) in GoNextWithFrm()
88 bFound = ( SwIterator<SwFrm,SwCntntNode>::FirstElement(*(SwCntntNode*)pNd) != 0); in GoNextWithFrm()
89 else if ( pNd->IsTableNode() ) in GoNextWithFrm()
90 …bFound = ( SwIterator<SwFrm,SwFmt>::FirstElement(*((SwTableNode*)pNd)->GetTable().GetFrmFmt()) != … in GoNextWithFrm()
91 else if( pNd->IsEndNode() && !pNd->StartOfSectionNode()->IsSectionNode() ) in GoNextWithFrm()
93 pNd = 0; in GoNextWithFrm()
102 pNd = 0; in GoNextWithFrm()
103 else if( pNd ) in GoNextWithFrm()
105 return pNd; in GoNextWithFrm()
114 SwNode* pNd(0); in GoPreviousWithFrm() local
117 pNd = &aTmp.GetNode(); in GoPreviousWithFrm()
119 if ( pNd->IsCntntNode() ) in GoPreviousWithFrm()
120 bFound = ( SwIterator<SwFrm,SwCntntNode>::FirstElement(*(SwCntntNode*)pNd) != 0); in GoPreviousWithFrm()
121 else if ( pNd->IsTableNode() ) in GoPreviousWithFrm()
122 …bFound = ( SwIterator<SwFrm,SwFmt>::FirstElement(*((SwTableNode*)pNd)->GetTable().GetFrmFmt()) != … in GoPreviousWithFrm()
123 else if( pNd->IsStartNode() && !pNd->IsSectionNode() ) in GoPreviousWithFrm()
125 pNd = 0; in GoPreviousWithFrm()
134 pNd = 0; in GoPreviousWithFrm()
135 else if( pNd ) in GoPreviousWithFrm()
137 return pNd; in GoPreviousWithFrm()
144 const SwNode* pNd; in SwNode2LayImpl() local
152 pNd = GoPreviousWithFrm( &aTmp ); in SwNode2LayImpl()
153 if( !bSearch && pNd && rNode.GetIndex() > pNd->GetIndex() ) in SwNode2LayImpl()
154 pNd = NULL; // Nicht ueber den Bereich hinausschiessen in SwNode2LayImpl()
160 pNd = GoNextWithFrm( rNode.GetNodes(), &aTmp ); in SwNode2LayImpl()
162 if( !bSearch && pNd && rNode.EndOfSectionIndex() < pNd->GetIndex() ) in SwNode2LayImpl()
163 pNd = NULL; // Nicht ueber den Bereich hinausschiessen in SwNode2LayImpl()
168 pNd = &rNode; in SwNode2LayImpl()
171 if( pNd ) in SwNode2LayImpl()
173 if( pNd->IsCntntNode() ) in SwNode2LayImpl()
174 pMod = (SwModify*)pNd->GetCntntNode(); in SwNode2LayImpl()
177 ASSERT( pNd->IsTableNode(), "For Tablenodes only" ); in SwNode2LayImpl()
178 pMod = pNd->GetTableNode()->GetTable().GetFrmFmt(); in SwNode2LayImpl()
238 SwSectionNode* pNd = pSct->GetSection()->GetFmt()->GetSectionNode(); in NextFrm() local
239 ASSERT( pNd, "Lost SectionNode" ); in NextFrm()
245 if( pNd->GetIndex() >= nIndex ) in NextFrm()
248 else if( pNd->EndOfSectionIndex() < nIndex ) in NextFrm()
347 SwNode* pNd; in RestoreUpperFrms()
355 if( (pNd = rNds[nStt])->IsCntntNode() ) in RestoreUpperFrms()
366 pNew = ((SwCntntNode*)pNd)->MakeFrm( pUp ); in RestoreUpperFrms()
370 else if( pNd->IsTableNode() ) in RestoreUpperFrms()
381 pNew = ((SwTableNode*)pNd)->MakeFrm( pUp ); in RestoreUpperFrms()
387 else if( pNd->IsSectionNode() ) in RestoreUpperFrms()
389 nStt = pNd->EndOfSectionIndex(); in RestoreUpperFrms()
397 ::_InsertCnt( pUp, pDoc, pNd->GetIndex(), sal_False, nStt+1, pNxt ); in RestoreUpperFrms()