Lines Matching refs:pLayLeaf
100 const SwLayoutFrm *pLayLeaf = this; in ContainsCntnt() local
103 while ( (!pLayLeaf->IsSctFrm() || pLayLeaf == this ) && in ContainsCntnt()
104 pLayLeaf->Lower() && pLayLeaf->Lower()->IsLayoutFrm() ) in ContainsCntnt()
105 pLayLeaf = (SwLayoutFrm*)pLayLeaf->Lower(); in ContainsCntnt()
107 if( pLayLeaf->IsSctFrm() && pLayLeaf != this ) in ContainsCntnt()
109 const SwCntntFrm *pCnt = pLayLeaf->ContainsCntnt(); in ContainsCntnt()
112 if( pLayLeaf->GetNext() ) in ContainsCntnt()
114 if( pLayLeaf->GetNext()->IsLayoutFrm() ) in ContainsCntnt()
116 pLayLeaf = (SwLayoutFrm*)pLayLeaf->GetNext(); in ContainsCntnt()
120 return (SwCntntFrm*)pLayLeaf->GetNext(); in ContainsCntnt()
123 else if ( pLayLeaf->Lower() ) in ContainsCntnt()
124 return (SwCntntFrm*)pLayLeaf->Lower(); in ContainsCntnt()
126 pLayLeaf = pLayLeaf->GetNextLayoutLeaf(); in ContainsCntnt()
127 if( !IsAnLower( pLayLeaf) ) in ContainsCntnt()
129 } while( pLayLeaf ); in ContainsCntnt()
175 const SwLayoutFrm *pLayLeaf = this; in ContainsAny() local
181 while ( ( (!pLayLeaf->IsSctFrm() && !pLayLeaf->IsTabFrm()) in ContainsAny()
182 || pLayLeaf == this ) && in ContainsAny()
183 pLayLeaf->Lower() && pLayLeaf->Lower()->IsLayoutFrm() ) in ContainsAny()
184 pLayLeaf = (SwLayoutFrm*)pLayLeaf->Lower(); in ContainsAny()
186 if( ( pLayLeaf->IsTabFrm() || pLayLeaf->IsSctFrm() ) in ContainsAny()
187 && pLayLeaf != this ) in ContainsAny()
191 return pLayLeaf; in ContainsAny()
193 else if ( pLayLeaf->Lower() ) in ContainsAny()
194 return (SwCntntFrm*)pLayLeaf->Lower(); in ContainsAny()
196 pLayLeaf = pLayLeaf->GetNextLayoutLeaf(); in ContainsAny()
197 if( bNoFtn && pLayLeaf && pLayLeaf->IsInFtn() ) in ContainsAny()
201 pLayLeaf = pLayLeaf->GetNextLayoutLeaf(); in ContainsAny()
202 } while( pLayLeaf && pLayLeaf->IsInFtn() ); in ContainsAny()
204 if( !IsAnLower( pLayLeaf) ) in ContainsAny()
206 } while( pLayLeaf ); in ContainsAny()