Lines Matching refs:pFrm
104 pFrm( pF ), in SwFrmNotify()
137 SWRECTFN( pFrm ) in ~SwFrmNotify()
138 const sal_Bool bAbsP = POS_DIFF( aFrm, pFrm->Frm() ); in ~SwFrmNotify()
140 (aFrm.*fnRect->fnGetWidth)() != (pFrm->Frm().*fnRect->fnGetWidth)(); in ~SwFrmNotify()
142 (aFrm.*fnRect->fnGetHeight)()!=(pFrm->Frm().*fnRect->fnGetHeight)(); in ~SwFrmNotify()
143 const sal_Bool bChgFlyBasePos = pFrm->IsTxtFrm() && in ~SwFrmNotify()
144 ( ( mnFlyAnchorOfst != ((SwTxtFrm*)pFrm)->GetBaseOfstForFly( sal_True ) ) || in ~SwFrmNotify()
145 ( mnFlyAnchorOfstNoWrap != ((SwTxtFrm*)pFrm)->GetBaseOfstForFly( sal_False ) ) ); in ~SwFrmNotify()
147 if ( pFrm->IsFlowFrm() && !pFrm->IsInFtn() ) in ~SwFrmNotify()
149 SwFlowFrm *pFlow = SwFlowFrm::CastFlowFrm( pFrm ); in ~SwFrmNotify()
153 if ( !pFrm->GetIndPrev() ) in ~SwFrmNotify()
157 SwFrm *pPre = pFrm->FindPrev(); in ~SwFrmNotify()
183 long nNewHeight = (pFrm->Frm().*fnRect->fnGetHeight)(); in ~SwFrmNotify()
192 pFrm->SetCompletePaint(); in ~SwFrmNotify()
194 SwFrm* pNxt = pFrm->GetIndNext(); in ~SwFrmNotify()
208 if( pFrm->IsRetoucheFrm() && in ~SwFrmNotify()
209 (aFrm.*fnRect->fnTopDist)( (pFrm->Frm().*fnRect->fnGetTop)() ) > 0 ) in ~SwFrmNotify()
211 pFrm->SetRetouche(); in ~SwFrmNotify()
216 if ( bHadFollow || !pFrm->IsCntntFrm() || !((SwCntntFrm*)pFrm)->GetFollow() ) in ~SwFrmNotify()
218 if ( !pFrm->IsTabFrm() || !((SwTabFrm*)pFrm)->GetFollow() ) in ~SwFrmNotify()
219 pFrm->InvalidateNextPos(); in ~SwFrmNotify()
226 (aPrt.*fnRect->fnGetWidth)() != (pFrm->Prt().*fnRect->fnGetWidth)(); in ~SwFrmNotify()
228 (aPrt.*fnRect->fnGetHeight)()!=(pFrm->Prt().*fnRect->fnGetHeight)(); in ~SwFrmNotify()
232 …drawinglayer::attribute::SdrAllFillAttributesHelperPtr aFillAttributes(pFrm->getSdrAllFillAttribut… in ~SwFrmNotify()
239 pFrm->SetCompletePaint(); in ~SwFrmNotify()
244 const SvxGraphicPosition ePos = pFrm->GetAttrSet()->GetBackground().GetGraphicPos(); in ~SwFrmNotify()
246 pFrm->SetCompletePaint(); in ~SwFrmNotify()
256 pFrm->SetCompletePaint(); in ~SwFrmNotify()
260 const sal_Bool bPrtP = POS_DIFF( aPrt, pFrm->Prt() ); in ~SwFrmNotify()
264 if( pFrm->IsAccessibleFrm() ) in ~SwFrmNotify()
266 SwRootFrm *pRootFrm = pFrm->getRootFrm(); in ~SwFrmNotify()
270 pRootFrm->GetCurrShell()->Imp()->MoveAccessibleFrm( pFrm, aFrm ); in ~SwFrmNotify()
275 if ( pFrm->GetDrawObjs() ) in ~SwFrmNotify()
277 const SwSortedObjs &rObjs = *pFrm->GetDrawObjs(); in ~SwFrmNotify()
316 pPageFrm = pFrm->FindPageFrm(); in ~SwFrmNotify()
399 else if( pFrm->IsTxtFrm() && bValidSize != pFrm->GetValidSizeFlag() ) in ~SwFrmNotify()
401 SwRootFrm *pRootFrm = pFrm->getRootFrm(); in ~SwFrmNotify()
405 pRootFrm->GetCurrShell()->Imp()->InvalidateAccessibleFrmContent( pFrm ); in ~SwFrmNotify()
413 if ( !pFrm->IsFlyFrm() && 0 != ( pFly = pFrm->ImplFindFlyFrm() ) ) in ~SwFrmNotify()
1060 SwFrm *pFrm, SwPageFrm *pPage ) in AppendObjs() argument
1102 pFrm->AppendDrawObj( *(pNew->GetAnchoredObj( 0L )) ); in AppendObjs()
1107 pNew->GetAnchorFrm() != pFrm && in AppendObjs()
1108 !pNew->GetDrawObjectByAnchorFrm( *pFrm ) ) in AppendObjs()
1111 pFrm->AppendDrawObj( *(pNew->GetAnchoredObj( pDrawVirtObj )) ); in AppendObjs()
1123 pFly = new SwFlyLayFrm( (SwFlyFrmFmt*)pFmt, pFrm, pFrm ); in AppendObjs()
1125 pFly = new SwFlyAtCntFrm( (SwFlyFrmFmt*)pFmt, pFrm, pFrm ); in AppendObjs()
1127 pFrm->AppendFly( pFly ); in AppendObjs()
1277 SwFrm *pFrm = 0; in _InsertCnt() local
1290 pPageMaker = new SwLayHelper( pDoc, pFrm, pPrv, pPage, pLay, in _InsertCnt()
1336 pFrm = pNode->IsTxtNode() ? new SwTxtFrm( (SwTxtNode*)pNode, pLay ) : in _InsertCnt()
1341 pFrm->InsertBehind( pLay, pPrv ); in _InsertCnt()
1347 if ( pFrm->IsTxtFrm() ) in _InsertCnt()
1349 ViewShell* pViewShell( pFrm->getRootFrm()->GetCurrShell() ); in _InsertCnt()
1356 dynamic_cast<SwTxtFrm*>(pFrm->FindNextCnt( true )), in _InsertCnt()
1357 dynamic_cast<SwTxtFrm*>(pFrm->FindPrevCnt( true )) ); in _InsertCnt()
1364 pFrm->InvalidateInfFlags(); in _InsertCnt()
1371 lcl_SetPos( *pFrm, *pLay ); in _InsertCnt()
1372 pPrv = pFrm; in _InsertCnt()
1375 AppendObjs( pTbl, nIndex, pFrm, pPage ); in _InsertCnt()
1389 pFrm = pTblNode->MakeFrm( pLay ); in _InsertCnt()
1394 pFrm->InsertBehind( pLay, pPrv ); in _InsertCnt()
1401 ViewShell* pViewShell( pFrm->getRootFrm()->GetCurrShell() ); in _InsertCnt()
1408 dynamic_cast<SwTxtFrm*>(pFrm->FindNextCnt( true )), in _InsertCnt()
1409 dynamic_cast<SwTxtFrm*>(pFrm->FindPrevCnt( true )) ); in _InsertCnt()
1414 ((SwTabFrm*)pFrm)->RegistFlys(); in _InsertCnt()
1417 lcl_SetPos( *pFrm, *pLay ); in _InsertCnt()
1419 pPrv = pFrm; in _InsertCnt()
1423 SwTabFrm* pTmpFrm = (SwTabFrm*)pFrm; in _InsertCnt()
1439 pFrm = pNode->MakeFrm( pLay ); in _InsertCnt()
1441 (SwSectionFrm*)pFrm, pNode ); in _InsertCnt()
1447 pFrm->InsertBehind( pTmp->GetUpper(), pTmp ); in _InsertCnt()
1450 static_cast<SwSectionFrm*>(pFrm)->Init(); in _InsertCnt()
1454 pFrm->InsertBehind( pLay, pPrv ); in _InsertCnt()
1457 static_cast<SwSectionFrm*>(pFrm)->Init(); in _InsertCnt()
1478 ViewShell* pViewShell( pFrm->getRootFrm()->GetCurrShell() ); in _InsertCnt()
1485 dynamic_cast<SwTxtFrm*>(pFrm->FindNextCnt( true )), in _InsertCnt()
1486 dynamic_cast<SwTxtFrm*>(pFrm->FindPrevCnt( true )) ); in _InsertCnt()
1490 pFrm->CheckDirChange(); in _InsertCnt()
1494 lcl_SetPos( *pFrm, *pLay ); in _InsertCnt()
1502 pFrm->InvalidatePage( pPage ); in _InsertCnt()
1506 if ( pFrm->IsInFly() ) in _InsertCnt()
1514 pLay = (SwLayoutFrm*)pFrm; in _InsertCnt()
1550 pFrm = pActualSection->GetSectionNode()->MakeFrm( pLay ); in _InsertCnt()
1551 pFrm->InsertBehind( pLay, pPrv ); in _InsertCnt()
1552 static_cast<SwSectionFrm*>(pFrm)->Init(); in _InsertCnt()
1556 lcl_SetPos( *pFrm, *pLay ); in _InsertCnt()
1566 ((SwSectionFrm*)pFrm)->SetFollow( pFollow ); in _InsertCnt()
1576 pActualSection->SetSectionFrm( (SwSectionFrm*)pFrm ); in _InsertCnt()
1578 pLay = (SwLayoutFrm*)pFrm; in _InsertCnt()
1666 SwFrm* pFrm; in MakeFrms() local
1667 while( 0 != (pFrm = aNode2Layout.NextFrm()) ) in MakeFrms()
1669 SwLayoutFrm *pUpper = pFrm->GetUpper(); in MakeFrms()
1699 sal_Bool bAllowMove = !pFrm->IsInFly() && pFrm->IsMoveable() && in MakeFrms()
1700 (!pFrm->IsInTab() || pFrm->IsTabFrm() ); in MakeFrms()
1703 SwFrm *pMove = pFrm; in MakeFrms()
1704 SwFrm *pPrev = pFrm->GetPrev(); in MakeFrms()
1714 pPrev = pFrm; in MakeFrms()
1717 pMove = pFrm->GetIndNext(); in MakeFrms()
1718 SwColumnFrm* pCol = (SwColumnFrm*)pFrm->FindColFrm(); in MakeFrms()
1803 pFrm->IsInDocBody(), nEndIdx, pPrev ); in MakeFrms()
1808 SwFrm* pPrv = bApres ? pFrm : pFrm->GetPrev(); in MakeFrms()
1813 bSplit = pSct->SplitSect( pFrm, bApres ); in MakeFrms()
1839 if( pFrm->IsInFly() ) in MakeFrms()
1840 pFrm->FindFlyFrm()->_Invalidate(); in MakeFrms()
1841 if( pFrm->IsInTab() ) in MakeFrms()
1842 pFrm->InvalidateSize(); in MakeFrms()
2236 SwBorderAttrAccess::SwBorderAttrAccess( SwCache &rCach, const SwFrm *pFrm ) : in SwBorderAttrAccess() argument
2237 SwCacheAccess( rCach, (pFrm->IsCntntFrm() ? in SwBorderAttrAccess()
2238 (void*)((SwCntntFrm*)pFrm)->GetNode() : in SwBorderAttrAccess()
2239 (void*)((SwLayoutFrm*)pFrm)->GetFmt()), in SwBorderAttrAccess()
2240 (sal_Bool)(pFrm->IsCntntFrm() ? in SwBorderAttrAccess()
2241 ((SwModify*)((SwCntntFrm*)pFrm)->GetNode())->IsInCache() : in SwBorderAttrAccess()
2242 ((SwModify*)((SwLayoutFrm*)pFrm)->GetFmt())->IsInCache()) ), in SwBorderAttrAccess()
2243 pConstructor( pFrm ) in SwBorderAttrAccess()
2834 const SwFrm *pFrm = pLay->Lower(); in RegistFlys() local
2835 while ( pFrm ) in RegistFlys()
2837 if ( pFrm->IsLayoutFrm() ) in RegistFlys()
2838 ::RegistFlys( pPage, (const SwLayoutFrm*)pFrm ); in RegistFlys()
2839 else if ( pFrm->GetDrawObjs() ) in RegistFlys()
2840 ::lcl_Regist( pPage, pFrm ); in RegistFlys()
2841 pFrm = pFrm->GetNext(); in RegistFlys()
2933 void lcl_CheckFlowBack( SwFrm* pFrm, const SwRect &rRect ) in lcl_CheckFlowBack() argument
2936 while( pFrm ) in lcl_CheckFlowBack()
2938 if( pFrm->IsLayoutFrm() ) in lcl_CheckFlowBack()
2940 if( rRect.IsOver( pFrm->Frm() ) ) in lcl_CheckFlowBack()
2941 lcl_CheckFlowBack( ((SwLayoutFrm*)pFrm)->Lower(), rRect ); in lcl_CheckFlowBack()
2943 else if( !pFrm->GetNext() && nBottom > pFrm->Frm().Bottom() ) in lcl_CheckFlowBack()
2945 if( pFrm->IsCntntFrm() && ((SwCntntFrm*)pFrm)->HasFollow() ) in lcl_CheckFlowBack()
2946 pFrm->InvalidateSize(); in lcl_CheckFlowBack()
2948 pFrm->InvalidateNextPos(); in lcl_CheckFlowBack()
2950 pFrm = pFrm->GetNext(); in lcl_CheckFlowBack()
3182 const SwFrm* GetVirtualUpper( const SwFrm* pFrm, const Point& rPos ) in GetVirtualUpper() argument
3184 if( pFrm->IsTxtFrm() ) in GetVirtualUpper()
3186 pFrm = pFrm->GetUpper(); in GetVirtualUpper()
3187 if( !pFrm->Frm().IsInside( rPos ) ) in GetVirtualUpper()
3189 if( pFrm->IsFtnFrm() ) in GetVirtualUpper()
3191 const SwFtnFrm* pTmp = ((SwFtnFrm*)pFrm)->GetFollow(); in GetVirtualUpper()
3201 SwFlyFrm* pTmp = (SwFlyFrm*)pFrm->FindFlyFrm(); in GetVirtualUpper()
3211 return pFrm; in GetVirtualUpper()
3219 const SwFrm* pFrm; in Is_Lower_Of() local
3223 pFrm = pFly->GetAnchorFrm(); in Is_Lower_Of()
3228 pFrm = ( (SwDrawContact*)GetUserCall(pObj) )->GetAnchorFrm(pObj); in Is_Lower_Of()
3231 ASSERT( pFrm, "8-( Fly is lost in Space." ); in Is_Lower_Of()
3232 pFrm = GetVirtualUpper( pFrm, aPos ); in Is_Lower_Of()
3234 { if ( pFrm == pCurrFrm ) in Is_Lower_Of()
3236 if( pFrm->IsFlyFrm() ) in Is_Lower_Of()
3238 aPos = pFrm->Frm().Pos(); in Is_Lower_Of()
3239 pFrm = GetVirtualUpper( ((const SwFlyFrm*)pFrm)->GetAnchorFrm(), aPos ); in Is_Lower_Of()
3242 pFrm = pFrm->GetUpper(); in Is_Lower_Of()
3243 } while ( pFrm ); in Is_Lower_Of()
3247 const SwFrm *FindKontext( const SwFrm *pFrm, sal_uInt16 nAdditionalKontextTyp ) in FindKontext() argument
3256 { if ( pFrm->GetType() & nTyp ) in FindKontext()
3258 pFrm = pFrm->GetUpper(); in FindKontext()
3259 } while( pFrm ); in FindKontext()
3260 return pFrm; in FindKontext()
3263 sal_Bool IsFrmInSameKontext( const SwFrm *pInnerFrm, const SwFrm *pFrm ) in IsFrmInSameKontext() argument
3271 { if ( pFrm->GetType() & nTyp ) in IsFrmInSameKontext()
3273 if( pFrm == pKontext ) in IsFrmInSameKontext()
3275 if( pFrm->IsCellFrm() ) in IsFrmInSameKontext()
3278 if( pFrm->IsFlyFrm() ) in IsFrmInSameKontext()
3280 Point aPos( pFrm->Frm().Pos() ); in IsFrmInSameKontext()
3281 pFrm = GetVirtualUpper( ((const SwFlyFrm*)pFrm)->GetAnchorFrm(), aPos ); in IsFrmInSameKontext()
3284 pFrm = pFrm->GetUpper(); in IsFrmInSameKontext()
3285 } while( pFrm ); in IsFrmInSameKontext()
3365 SwFrm* pFrm; member in SwFrmHolder
3369 SwFrmHolder() : pFrm(0), bSet(false) {} in SwFrmHolder()
3371 SwFrm* GetFrm() { return pFrm; } in GetFrm()
3379 pFrm = pHold; in SetFrm()
3385 if (pFrm) in Reset()
3386 EndListening(*pFrm); in Reset()
3388 pFrm = 0; in Reset()
3395 if ( ( (SfxSimpleHint&) rHint ).GetId() == SFX_HINT_DYING && &rBC == pFrm ) in Notify()
3396 pFrm = 0; in Notify()