Lines Matching refs:pFrm

102     pFrm( pF ),  in SwFrmNotify()
135 SWRECTFN( pFrm ) in ~SwFrmNotify()
136 const sal_Bool bAbsP = POS_DIFF( aFrm, pFrm->Frm() ); in ~SwFrmNotify()
138 (aFrm.*fnRect->fnGetWidth)() != (pFrm->Frm().*fnRect->fnGetWidth)(); in ~SwFrmNotify()
140 (aFrm.*fnRect->fnGetHeight)()!=(pFrm->Frm().*fnRect->fnGetHeight)(); in ~SwFrmNotify()
141 const sal_Bool bChgFlyBasePos = pFrm->IsTxtFrm() && in ~SwFrmNotify()
142 ( ( mnFlyAnchorOfst != ((SwTxtFrm*)pFrm)->GetBaseOfstForFly( sal_True ) ) || in ~SwFrmNotify()
143 ( mnFlyAnchorOfstNoWrap != ((SwTxtFrm*)pFrm)->GetBaseOfstForFly( sal_False ) ) ); in ~SwFrmNotify()
145 if ( pFrm->IsFlowFrm() && !pFrm->IsInFtn() ) in ~SwFrmNotify()
147 SwFlowFrm *pFlow = SwFlowFrm::CastFlowFrm( pFrm ); in ~SwFrmNotify()
151 if ( !pFrm->GetIndPrev() ) in ~SwFrmNotify()
155 SwFrm *pPre = pFrm->FindPrev(); in ~SwFrmNotify()
181 long nNewHeight = (pFrm->Frm().*fnRect->fnGetHeight)(); in ~SwFrmNotify()
190 pFrm->SetCompletePaint(); in ~SwFrmNotify()
192 SwFrm* pNxt = pFrm->GetIndNext(); in ~SwFrmNotify()
206 if( pFrm->IsRetoucheFrm() && in ~SwFrmNotify()
207 (aFrm.*fnRect->fnTopDist)( (pFrm->Frm().*fnRect->fnGetTop)() ) > 0 ) in ~SwFrmNotify()
209 pFrm->SetRetouche(); in ~SwFrmNotify()
214 if ( bHadFollow || !pFrm->IsCntntFrm() || !((SwCntntFrm*)pFrm)->GetFollow() ) in ~SwFrmNotify()
216 if ( !pFrm->IsTabFrm() || !((SwTabFrm*)pFrm)->GetFollow() ) in ~SwFrmNotify()
217 pFrm->InvalidateNextPos(); in ~SwFrmNotify()
224 (aPrt.*fnRect->fnGetWidth)() != (pFrm->Prt().*fnRect->fnGetWidth)(); in ~SwFrmNotify()
226 (aPrt.*fnRect->fnGetHeight)()!=(pFrm->Prt().*fnRect->fnGetHeight)(); in ~SwFrmNotify()
229 const SvxGraphicPosition ePos = pFrm->GetAttrSet()->GetBackground().GetGraphicPos(); in ~SwFrmNotify()
231 pFrm->SetCompletePaint(); in ~SwFrmNotify()
240 pFrm->SetCompletePaint(); in ~SwFrmNotify()
244 const sal_Bool bPrtP = POS_DIFF( aPrt, pFrm->Prt() ); in ~SwFrmNotify()
248 if( pFrm->IsAccessibleFrm() ) in ~SwFrmNotify()
250 SwRootFrm *pRootFrm = pFrm->getRootFrm(); in ~SwFrmNotify()
254 pRootFrm->GetCurrShell()->Imp()->MoveAccessibleFrm( pFrm, aFrm ); in ~SwFrmNotify()
259 if ( pFrm->GetDrawObjs() ) in ~SwFrmNotify()
261 const SwSortedObjs &rObjs = *pFrm->GetDrawObjs(); in ~SwFrmNotify()
300 pPageFrm = pFrm->FindPageFrm(); in ~SwFrmNotify()
383 else if( pFrm->IsTxtFrm() && bValidSize != pFrm->GetValidSizeFlag() ) in ~SwFrmNotify()
385 SwRootFrm *pRootFrm = pFrm->getRootFrm(); in ~SwFrmNotify()
389 pRootFrm->GetCurrShell()->Imp()->InvalidateAccessibleFrmContent( pFrm ); in ~SwFrmNotify()
397 if ( !pFrm->IsFlyFrm() && 0 != ( pFly = pFrm->ImplFindFlyFrm() ) ) in ~SwFrmNotify()
1044 SwFrm *pFrm, SwPageFrm *pPage ) in AppendObjs() argument
1086 pFrm->AppendDrawObj( *(pNew->GetAnchoredObj( 0L )) ); in AppendObjs()
1091 pNew->GetAnchorFrm() != pFrm && in AppendObjs()
1092 !pNew->GetDrawObjectByAnchorFrm( *pFrm ) ) in AppendObjs()
1095 pFrm->AppendDrawObj( *(pNew->GetAnchoredObj( pDrawVirtObj )) ); in AppendObjs()
1107 pFly = new SwFlyLayFrm( (SwFlyFrmFmt*)pFmt, pFrm, pFrm ); in AppendObjs()
1109 pFly = new SwFlyAtCntFrm( (SwFlyFrmFmt*)pFmt, pFrm, pFrm ); in AppendObjs()
1111 pFrm->AppendFly( pFly ); in AppendObjs()
1261 SwFrm *pFrm = 0; in _InsertCnt() local
1274 pPageMaker = new SwLayHelper( pDoc, pFrm, pPrv, pPage, pLay, in _InsertCnt()
1320 pFrm = pNode->IsTxtNode() ? new SwTxtFrm( (SwTxtNode*)pNode, pLay ) : in _InsertCnt()
1325 pFrm->InsertBehind( pLay, pPrv ); in _InsertCnt()
1331 if ( pFrm->IsTxtFrm() ) in _InsertCnt()
1333 ViewShell* pViewShell( pFrm->getRootFrm()->GetCurrShell() ); in _InsertCnt()
1340 dynamic_cast<SwTxtFrm*>(pFrm->FindNextCnt( true )), in _InsertCnt()
1341 dynamic_cast<SwTxtFrm*>(pFrm->FindPrevCnt( true )) ); in _InsertCnt()
1348 pFrm->InvalidateInfFlags(); in _InsertCnt()
1355 lcl_SetPos( *pFrm, *pLay ); in _InsertCnt()
1356 pPrv = pFrm; in _InsertCnt()
1359 AppendObjs( pTbl, nIndex, pFrm, pPage ); in _InsertCnt()
1373 pFrm = pTblNode->MakeFrm( pLay ); in _InsertCnt()
1378 pFrm->InsertBehind( pLay, pPrv ); in _InsertCnt()
1385 ViewShell* pViewShell( pFrm->getRootFrm()->GetCurrShell() ); in _InsertCnt()
1392 dynamic_cast<SwTxtFrm*>(pFrm->FindNextCnt( true )), in _InsertCnt()
1393 dynamic_cast<SwTxtFrm*>(pFrm->FindPrevCnt( true )) ); in _InsertCnt()
1398 ((SwTabFrm*)pFrm)->RegistFlys(); in _InsertCnt()
1401 lcl_SetPos( *pFrm, *pLay ); in _InsertCnt()
1403 pPrv = pFrm; in _InsertCnt()
1407 SwTabFrm* pTmpFrm = (SwTabFrm*)pFrm; in _InsertCnt()
1423 pFrm = pNode->MakeFrm( pLay ); in _InsertCnt()
1425 (SwSectionFrm*)pFrm, pNode ); in _InsertCnt()
1431 pFrm->InsertBehind( pTmp->GetUpper(), pTmp ); in _InsertCnt()
1434 static_cast<SwSectionFrm*>(pFrm)->Init(); in _InsertCnt()
1438 pFrm->InsertBehind( pLay, pPrv ); in _InsertCnt()
1441 static_cast<SwSectionFrm*>(pFrm)->Init(); in _InsertCnt()
1462 ViewShell* pViewShell( pFrm->getRootFrm()->GetCurrShell() ); in _InsertCnt()
1469 dynamic_cast<SwTxtFrm*>(pFrm->FindNextCnt( true )), in _InsertCnt()
1470 dynamic_cast<SwTxtFrm*>(pFrm->FindPrevCnt( true )) ); in _InsertCnt()
1474 pFrm->CheckDirChange(); in _InsertCnt()
1478 lcl_SetPos( *pFrm, *pLay ); in _InsertCnt()
1486 pFrm->InvalidatePage( pPage ); in _InsertCnt()
1490 if ( pFrm->IsInFly() ) in _InsertCnt()
1498 pLay = (SwLayoutFrm*)pFrm; in _InsertCnt()
1534 pFrm = pActualSection->GetSectionNode()->MakeFrm( pLay ); in _InsertCnt()
1535 pFrm->InsertBehind( pLay, pPrv ); in _InsertCnt()
1536 static_cast<SwSectionFrm*>(pFrm)->Init(); in _InsertCnt()
1540 lcl_SetPos( *pFrm, *pLay ); in _InsertCnt()
1550 ((SwSectionFrm*)pFrm)->SetFollow( pFollow ); in _InsertCnt()
1560 pActualSection->SetSectionFrm( (SwSectionFrm*)pFrm ); in _InsertCnt()
1562 pLay = (SwLayoutFrm*)pFrm; in _InsertCnt()
1650 SwFrm* pFrm; in MakeFrms() local
1651 while( 0 != (pFrm = aNode2Layout.NextFrm()) ) in MakeFrms()
1653 SwLayoutFrm *pUpper = pFrm->GetUpper(); in MakeFrms()
1683 sal_Bool bAllowMove = !pFrm->IsInFly() && pFrm->IsMoveable() && in MakeFrms()
1684 (!pFrm->IsInTab() || pFrm->IsTabFrm() ); in MakeFrms()
1687 SwFrm *pMove = pFrm; in MakeFrms()
1688 SwFrm *pPrev = pFrm->GetPrev(); in MakeFrms()
1698 pPrev = pFrm; in MakeFrms()
1701 pMove = pFrm->GetIndNext(); in MakeFrms()
1702 SwColumnFrm* pCol = (SwColumnFrm*)pFrm->FindColFrm(); in MakeFrms()
1787 pFrm->IsInDocBody(), nEndIdx, pPrev ); in MakeFrms()
1792 SwFrm* pPrv = bApres ? pFrm : pFrm->GetPrev(); in MakeFrms()
1797 bSplit = pSct->SplitSect( pFrm, bApres ); in MakeFrms()
1823 if( pFrm->IsInFly() ) in MakeFrms()
1824 pFrm->FindFlyFrm()->_Invalidate(); in MakeFrms()
1825 if( pFrm->IsInTab() ) in MakeFrms()
1826 pFrm->InvalidateSize(); in MakeFrms()
2220 SwBorderAttrAccess::SwBorderAttrAccess( SwCache &rCach, const SwFrm *pFrm ) : in SwBorderAttrAccess() argument
2221 SwCacheAccess( rCach, (pFrm->IsCntntFrm() ? in SwBorderAttrAccess()
2222 (void*)((SwCntntFrm*)pFrm)->GetNode() : in SwBorderAttrAccess()
2223 (void*)((SwLayoutFrm*)pFrm)->GetFmt()), in SwBorderAttrAccess()
2224 (sal_Bool)(pFrm->IsCntntFrm() ? in SwBorderAttrAccess()
2225 ((SwModify*)((SwCntntFrm*)pFrm)->GetNode())->IsInCache() : in SwBorderAttrAccess()
2226 ((SwModify*)((SwLayoutFrm*)pFrm)->GetFmt())->IsInCache()) ), in SwBorderAttrAccess()
2227 pConstructor( pFrm ) in SwBorderAttrAccess()
2818 const SwFrm *pFrm = pLay->Lower(); in RegistFlys() local
2819 while ( pFrm ) in RegistFlys()
2821 if ( pFrm->IsLayoutFrm() ) in RegistFlys()
2822 ::RegistFlys( pPage, (const SwLayoutFrm*)pFrm ); in RegistFlys()
2823 else if ( pFrm->GetDrawObjs() ) in RegistFlys()
2824 ::lcl_Regist( pPage, pFrm ); in RegistFlys()
2825 pFrm = pFrm->GetNext(); in RegistFlys()
2917 void lcl_CheckFlowBack( SwFrm* pFrm, const SwRect &rRect ) in lcl_CheckFlowBack() argument
2920 while( pFrm ) in lcl_CheckFlowBack()
2922 if( pFrm->IsLayoutFrm() ) in lcl_CheckFlowBack()
2924 if( rRect.IsOver( pFrm->Frm() ) ) in lcl_CheckFlowBack()
2925 lcl_CheckFlowBack( ((SwLayoutFrm*)pFrm)->Lower(), rRect ); in lcl_CheckFlowBack()
2927 else if( !pFrm->GetNext() && nBottom > pFrm->Frm().Bottom() ) in lcl_CheckFlowBack()
2929 if( pFrm->IsCntntFrm() && ((SwCntntFrm*)pFrm)->HasFollow() ) in lcl_CheckFlowBack()
2930 pFrm->InvalidateSize(); in lcl_CheckFlowBack()
2932 pFrm->InvalidateNextPos(); in lcl_CheckFlowBack()
2934 pFrm = pFrm->GetNext(); in lcl_CheckFlowBack()
3166 const SwFrm* GetVirtualUpper( const SwFrm* pFrm, const Point& rPos ) in GetVirtualUpper() argument
3168 if( pFrm->IsTxtFrm() ) in GetVirtualUpper()
3170 pFrm = pFrm->GetUpper(); in GetVirtualUpper()
3171 if( !pFrm->Frm().IsInside( rPos ) ) in GetVirtualUpper()
3173 if( pFrm->IsFtnFrm() ) in GetVirtualUpper()
3175 const SwFtnFrm* pTmp = ((SwFtnFrm*)pFrm)->GetFollow(); in GetVirtualUpper()
3185 SwFlyFrm* pTmp = (SwFlyFrm*)pFrm->FindFlyFrm(); in GetVirtualUpper()
3195 return pFrm; in GetVirtualUpper()
3203 const SwFrm* pFrm; in Is_Lower_Of() local
3207 pFrm = pFly->GetAnchorFrm(); in Is_Lower_Of()
3212 pFrm = ( (SwDrawContact*)GetUserCall(pObj) )->GetAnchorFrm(pObj); in Is_Lower_Of()
3215 ASSERT( pFrm, "8-( Fly is lost in Space." ); in Is_Lower_Of()
3216 pFrm = GetVirtualUpper( pFrm, aPos ); in Is_Lower_Of()
3218 { if ( pFrm == pCurrFrm ) in Is_Lower_Of()
3220 if( pFrm->IsFlyFrm() ) in Is_Lower_Of()
3222 aPos = pFrm->Frm().Pos(); in Is_Lower_Of()
3223 pFrm = GetVirtualUpper( ((const SwFlyFrm*)pFrm)->GetAnchorFrm(), aPos ); in Is_Lower_Of()
3226 pFrm = pFrm->GetUpper(); in Is_Lower_Of()
3227 } while ( pFrm ); in Is_Lower_Of()
3231 const SwFrm *FindKontext( const SwFrm *pFrm, sal_uInt16 nAdditionalKontextTyp ) in FindKontext() argument
3240 { if ( pFrm->GetType() & nTyp ) in FindKontext()
3242 pFrm = pFrm->GetUpper(); in FindKontext()
3243 } while( pFrm ); in FindKontext()
3244 return pFrm; in FindKontext()
3247 sal_Bool IsFrmInSameKontext( const SwFrm *pInnerFrm, const SwFrm *pFrm ) in IsFrmInSameKontext() argument
3255 { if ( pFrm->GetType() & nTyp ) in IsFrmInSameKontext()
3257 if( pFrm == pKontext ) in IsFrmInSameKontext()
3259 if( pFrm->IsCellFrm() ) in IsFrmInSameKontext()
3262 if( pFrm->IsFlyFrm() ) in IsFrmInSameKontext()
3264 Point aPos( pFrm->Frm().Pos() ); in IsFrmInSameKontext()
3265 pFrm = GetVirtualUpper( ((const SwFlyFrm*)pFrm)->GetAnchorFrm(), aPos ); in IsFrmInSameKontext()
3268 pFrm = pFrm->GetUpper(); in IsFrmInSameKontext()
3269 } while( pFrm ); in IsFrmInSameKontext()
3349 SwFrm* pFrm; member in SwFrmHolder
3353 SwFrmHolder() : pFrm(0), bSet(false) {} in SwFrmHolder()
3355 SwFrm* GetFrm() { return pFrm; } in GetFrm()
3363 pFrm = pHold; in SetFrm()
3369 if (pFrm) in Reset()
3370 EndListening(*pFrm); in Reset()
3372 pFrm = 0; in Reset()
3379 if ( ( (SfxSimpleHint&) rHint ).GetId() == SFX_HINT_DYING && &rBC == pFrm ) in Notify()
3380 pFrm = 0; in Notify()