/trunk/main/sw/source/core/frmedt/ |
H A D | fetab.cxx | 208 if( !pFrm || !pFrm->IsInTab() ) in InsertRow() 239 if( !pFrm || !pFrm->IsInTab() ) in InsertCol() 328 pFrm = pFrm->GetUpper(); in DeleteCol() 715 { pFrm = pFrm->GetUpper(); in GetTabCols() 730 { pFrm = pFrm->GetUpper(); in GetTabRows() 1072 pFrm = pFrm->GetUpper(); in UnProtectCells() 1115 pFrm = pFrm->GetUpper(); in CanUnProtectCells() 1417 pFrm = pFrm->GetUpper(); in DeleteTblSel() 1452 pFrm = pFrm->GetUpper(); in GetCurTabColNum() 1527 pFrm = pFrm->FindNext(); in lcl_FindFrmInTab() [all …]
|
H A D | fews.cxx | 147 pFrm = pFrm->FindPageFrm(); in GetAnyCurRect() 160 pFrm = pFrm->FindTabFrm(); in GetAnyCurRect() 167 pFrm = pFrm->FindSctFrm(); in GetAnyCurRect() 248 return pFrm && pFrm->GetUpper() && pFrm->GetUpper()->IsSctFrm(); in IsDirectlyInSection() 322 pFrm = pFrm->GetUpper(); in GetFrmType() 598 pFrm = pFrm->GetUpper(); in Sort() 660 pFrm = pFrm->GetUpper(); in _GetCurColNum() 666 pFrm = pFrm->GetPrev(); in _GetCurColNum() 682 pFrm = pFrm->GetUpper(); in _GetCurColNum() 710 pFrm = pFrm->IsInTab() ? (SwFrm*)pFrm->FindTabFrm() in GetCurOutColNum() [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | widorp.cxx | 59 ASSERT( !pFrm->IsFollow() || !pFrm->GetPrev() || in IsNastyFollow() 60 ((const SwTxtFrm*)pFrm->GetPrev())->GetFollow() == pFrm, in IsNastyFollow() 62 return pFrm->IsFollow() && pFrm->GetPrev(); in IsNastyFollow() 73 SWRECTFN( pFrm ) in SwTxtFrmBreak() 76 bKeep = !pFrm->IsMoveable() || IsNastyFollow( pFrm ) || in SwTxtFrmBreak() 83 if( !nRstHeight && !pFrm->IsFollow() && pFrm->IsInFtn() && pFrm->HasPara() ) in SwTxtFrmBreak() 157 pFrm->IsInTab() && !pFrm->GetFollow() && !pFrm->GetIndNext() ) in IsInside() 263 if( bChkKeep && !pFrm->GetPrev() && !pFrm->IsInFtn() && in WidowsAndOrphans() 265 ( !pFrm->IsInSct() || pFrm->FindSctFrm()->MoveAllowed(pFrm) ) ) in WidowsAndOrphans() 303 if( pFrm->IsInFtn() && !pFrm->GetIndPrev() ) in WidowsAndOrphans() [all …]
|
H A D | frmcrsr.cxx | 100 pFrm = pFrmAtPos; in GetAdjFrmAtPos() 122 if( pFrm->GetOfst() != nNew && !pFrm->IsInSct() ) in lcl_ChangeOffset() 135 ( pFrm->GetDrawObjs() && pFrm->GetDrawObjs()->Count() ) ) in lcl_ChangeOffset() 231 if ( pFrm->IsEmpty() || ! (pFrm->Prt().*fnRect->fnGetHeight)() ) in GetCharRect() 233 Point aPnt1 = pFrm->Frm().Pos() + pFrm->Prt().Pos(); in GetCharRect() 308 if( pFrm->IsUndersized() && pCMS && !pFrm->GetNext() && in GetCharRect() 404 Point aPnt1 = pFrm->Frm().Pos() + pFrm->Prt().Pos(); in GetAutoPos() 737 if( pFrm->GetOfst() && !pFrm->IsFollow() && !aLine.GetPrev() ) in LeftMargin() 1392 if( !pFrm ) in FillCrsrPos() 1397 pFrm = pFrm->GetNext(); in FillCrsrPos() [all …]
|
H A D | txtftn.cxx | 89 while( pFrm ) in FindFtnRef() 92 return pFrm; in FindFtnRef() 93 pFrm = bFwd ? pFrm->GetFollow() : in FindFtnRef() 94 pFrm->IsFollow() ? pFrm->FindMaster() : 0; in FindFtnRef() 96 return pFrm; in FindFtnRef() 194 SWRECTFN( pFrm ) in lcl_GetFtnLower() 196 ASSERT( !pFrm->IsVertical() || !pFrm->IsSwapped(), in lcl_GetFtnLower() 850 ASSERT( ! pFrm->IsVertical() || pFrm->IsSwapped(), in NewFtnPortion() 918 if( !pFrm->IsInTab() && ( GetLineNr() > 1 || pFrm->GetPrev() || in NewFtnPortion() 1063 if( !pFrm->IsInFtn() || pFrm->GetPrev() || in NewErgoSumPortion() [all …]
|
H A D | txtio.cxx | 68 if( pFrm->IsFlowFrm() ) in lcl_OutFollow() 88 if( !pFrm ) in lcl_OutFrame() 93 if( pFrm->IsLayoutFrm() ) in lcl_OutFrame() 95 if( pFrm->IsRootFrm() ) in lcl_OutFrame() 103 else if( pFrm->IsTabFrm() ) in lcl_OutFrame() 105 else if( pFrm->IsRowFrm() ) in lcl_OutFrame() 109 else if( pFrm->IsSctFrm() ) in lcl_OutFrame() 148 if( pFrm->IsTxtFrm() ) in lcl_OutFrame() 161 if( pFrm->IsPageFrm() ) in lcl_OutFrame() 220 pFrm = pFrm->GetNext(); in lcl_OutFrame() [all …]
|
H A D | frminf.cxx | 85 if( pFrm->GetFollow() ) in IsOneLine() 110 long nWidth = pFrm->Prt().Width(); in IsFilled() 147 SwTxtSizeInfo aInf( (SwTxtFrm*)pFrm ); in GetLineStart() 149 return GetLineStart( aLine ) - pFrm->Frm().Left() - pFrm->Prt().Left(); in GetLineStart() 155 SWRECTFN( pFrm ) in GetCharPos() 158 SwTxtSizeInfo aInf( (SwTxtFrm*)pFrm ); in GetCharPos() 222 SwTxtSizeInfo aInf( (SwTxtFrm*)pFrm ); in GetSpaces() 265 SwTxtSizeInfo aInf( (SwTxtFrm*)pFrm ); in IsBullet() 285 SwTxtSizeInfo aInf( (SwTxtFrm*)pFrm ); in GetFirstIndent() 320 SwTxtSizeInfo aInf( (SwTxtFrm*)pFrm ); in GetBigIndent() [all …]
|
H A D | txtfrm.cxx | 931 while( pFrm && pFrm->GetOfst() <= nPos ) in lcl_ModifyOfst() 932 pFrm = pFrm->GetFollow(); in lcl_ModifyOfst() 933 while( pFrm ) in lcl_ModifyOfst() 935 pFrm->ManipOfst( pFrm->GetOfst() + nLen ); in lcl_ModifyOfst() 936 pFrm = pFrm->GetFollow(); in lcl_ModifyOfst() 1896 pFrm->Frm() = pFrm->GetUpper()->Prt(); in SwTestFormat() 1897 pFrm->Frm() += pFrm->GetUpper()->Frm().Pos(); in SwTestFormat() 1921 pOldPara = pFrm->HasPara() ? pFrm->GetPara() : NULL; in SwTestFormat() 2519 pFrm = pFrm->GetFollow(); in GetLineCount() 2520 } while ( pFrm && pFrm->GetOfst() <= nPos ); in GetLineCount() [all …]
|
/trunk/main/sw/source/core/layout/ |
H A D | dbg_lay.cxx | 142 if( pFrm && pFrm->IsTxtFrm() ) in lcl_GetFrameId() 509 if( pFrm->IsTxtFrm() ) in lcl_FrameType() 513 if( pFrm->IsPageFrm() ) in lcl_FrameType() 519 if( pFrm->GetUpper() && pFrm->IsColBodyFrm() ) in lcl_FrameType() 527 else if( pFrm->IsTabFrm() ) in lcl_FrameType() 529 else if( pFrm->IsRowFrm() ) in lcl_FrameType() 762 while( pFrm ) in SnapShot() 786 pFrm = pFrm->GetNext(); in SnapShot() 844 nFrmId = pFrm->GetUpper() ? sal_uInt16(lcl_GetFrameId( pFrm->GetUpper() )) : 0; in Enter() 850 nFrmId = pFrm->GetUpper() ? sal_uInt16(lcl_GetFrameId( pFrm->GetUpper() )) : 0; in Leave() [all …]
|
H A D | calcmove.cxx | 362 pFrm = pFrm->FindNext(); in PrepareMake() 471 pFrm = pFrm->FindNext(); in PrepareCrsr() 472 if( bNoSect && pFrm && pFrm->IsSctFrm() ) in PrepareCrsr() 812 pFrm = pFrm->GetNext(); in MakeAll() 1826 pFrm->bValidPos = pFrm->bValidPrtArea = pFrm->bValidSize = sal_True; in MakeNxt() 1871 pFrm = pFrm->FindFtnBossFrm(); in lcl_IsNextFtnBoss() 1874 while( pFrm && pFrm->IsColumnFrm() && !pFrm->GetNext() ) in lcl_IsNextFtnBoss() 1875 pFrm = pFrm->GetUpper()->FindFtnBossFrm(); in lcl_IsNextFtnBoss() 1880 return ( pFrm && pNxt && pFrm->GetNext() == pNxt ); in lcl_IsNextFtnBoss() 1934 (SwFrm*)pFrm->FindFtnFrm() : pFrm; in _WouldFit() [all …]
|
H A D | frmtool.cxx | 104 pFrm( pF ), in SwFrmNotify() 147 if ( pFrm->IsFlowFrm() && !pFrm->IsInFtn() ) in ~SwFrmNotify() 1700 (!pFrm->IsInTab() || pFrm->IsTabFrm() ); in MakeFrms() 1808 SwFrm* pPrv = bApres ? pFrm : pFrm->GetPrev(); in MakeFrms() 2841 pFrm = pFrm->GetNext(); in RegistFlys() 2950 pFrm = pFrm->GetNext(); in lcl_CheckFlowBack() 3186 pFrm = pFrm->GetUpper(); in GetVirtualUpper() 3232 pFrm = GetVirtualUpper( pFrm, aPos ); in Is_Lower_Of() 3242 pFrm = pFrm->GetUpper(); in Is_Lower_Of() 3258 pFrm = pFrm->GetUpper(); in FindKontext() [all …]
|
H A D | fly.cxx | 511 for ( SwFrm* pFrm = aFrmIter.First(); pFrm; pFrm = aFrmIter.Next() ) in FinitDrawObj() local 1419 pFrm = pFrm->GetNext(); in Format() 1780 if ( pFrm && pFrm->IsInTab() ) in CalcCntnt() 1781 pFrm = pFrm->FindTabFrm(); in CalcCntnt() 1782 if( pFrm && pFrm->IsInSct() ) in CalcCntnt() 1815 while( pFrm && pFrm->IsSctFrm() && !((SwSectionFrm*)pFrm)->GetSection() ) in CalcCntnt() 1816 pFrm = pFrm->FindNext(); in CalcCntnt() 1820 if( pFrm && pFrm->IsSctFrm() && ( pFrm == pSect->GetFollow() || in CalcCntnt() 2190 pFrm = pFrm->IsFlyFrm() in IsLowerOf() 2639 if ( !pFrm || pFrm->IsColumnFrm() ) in lcl_CalcAutoWidth() [all …]
|
H A D | sectfrm.cxx | 269 while( pFrm && pFrm->IsSctFrm() && !((SwSectionFrm*)pFrm)->GetSection() ) in _Cut() 270 pFrm = pFrm->GetNext(); in _Cut() 278 if ( pFrm && pFrm->IsCntntFrm() ) in _Cut() 615 pFrm = pFrm->GetNext(); in lcl_InvalidateInfFlags() 863 pFrm = pFrm->GetNext(); in lcl_FindCntntFrm() 882 pFrm = pFrm->GetPrev(); in lcl_FindCntntFrm() 1521 pFrm = pFrm->GetNext(); in Format() 2113 while( pFrm && pFrm->IsSctFrm() && !((SwSectionFrm*)pFrm)->GetSection() ) in _Grow() 2114 pFrm = pFrm->GetNext(); in _Grow() 2215 pFrm = pFrm->GetNext(); in _Shrink() [all …]
|
H A D | wsfrm.cxx | 887 if( pFrm && pFrm->IsSctFrm() ) in Paste() 894 if( pFrm && 0 != (pFrm=((SwLayoutFrm*)pFrm)->ContainsAny()) ) in Paste() 936 if ( pFrm && pFrm->IsCntntFrm() ) in Cut() 1828 pFrm = pFrm->GetNext(); in ReinitializeFrmSizeAttrFlags() 1954 pFrm = pFrm->GetNext(); in GrowFrm() 2532 pFrm = pFrm->GetNext(); in GrowFrm() 2637 pFrm = pFrm->GetNext(); in ShrinkFrm() 3243 pFrm = pFrm->GetNext(); in Format() 3353 pFrm = pFrm->FindNextCnt(); in InvaPercentLowers() 3429 pFrm = pFrm->FindTabFrm(); in lcl_IsFlyHeightClipped() [all …]
|
H A D | findfrm.cxx | 322 pRet = bNext ? pFrm->GetNext() : pFrm->GetPrev(); in lcl_FindLayoutFrame() 574 { pFrm = pFrm->GetUpper(); in FindColFrm() 575 } while ( pFrm && !pFrm->IsColumnFrm() ); in FindColFrm() 576 return pFrm; in FindColFrm() 722 pFrm = p; in lcl_NextFrm() 724 ( pFrm->IsTabFrm() || pFrm->IsSctFrm() ) ) )? pFrm : 0 ) ) ); in lcl_NextFrm() 1195 SwFrm *pFrm; in ImplInvalidateNextPos() local 1200 while( pFrm && pFrm->IsSctFrm() ) in ImplInvalidateNextPos() 1213 pFrm = pFrm->FindNext(); in ImplInvalidateNextPos() 1416 else if ( pFrm->IsTabFrm() || pFrm->IsCellFrm() ) in SetInfFlags() [all …]
|
H A D | hffrm.cxx | 76 SwFrm* pFrm = frm.Lower(); in lcl_CalcContentHeight() local 80 pFrm = frm.Lower(); in lcl_CalcContentHeight() 81 while ( pFrm ) in lcl_CalcContentHeight() 87 if( pFrm->IsTxtFrm() && ((SwTxtFrm*)pFrm)->IsUndersized() ) in lcl_CalcContentHeight() 94 else if( pFrm->IsSctFrm() && ((SwSectionFrm*)pFrm)->IsUndersized() ) in lcl_CalcContentHeight() 99 pFrm = pFrm->GetNext(); in lcl_CalcContentHeight() 267 if ( pFrm && in FormatSize() 286 if ( pFrm->IsTxtFrm() && pFrm->IsValid() ) in FormatSize() 297 pFrm = pFrm->GetNext(); in FormatSize() 314 pFrm = pFrm->GetNext(); in FormatSize() [all …]
|
H A D | ssfrm.cxx | 277 pFrm = pFrm->GetNext(); in CheckDirChange() 502 for( SwCntntFrm* pFrm = aIter.First(); pFrm; pFrm = aIter.Next() ) in DelFrms() local 522 pFrm->GetFollow()->_SetIsFollow( pFrm->IsFollow() ); in DelFrms() 536 if( pFrm->GetUpper() && pFrm->IsInFtn() && !pFrm->GetIndNext() && in DelFrms() 549 pFrm->Cut(); in DelFrms() 550 delete pFrm; in DelFrms() 575 while ( pFrm->GetDrawObjs() && pFrm->GetDrawObjs()->Count() ) in ~SwLayoutFrm() 602 delete pFrm; in ~SwLayoutFrm() 636 while( pFrm ) in ~SwLayoutFrm() 639 delete pFrm; in ~SwLayoutFrm() [all …]
|
H A D | tabfrm.cxx | 1281 pFrm = pFrm->GetNextCntntFrm(); in Split() 1464 pFrm = pFrm->GetNext(); in SwInvalidatePositions() 1499 pFrm = pFrm->GetNext(); in SwInvalidateAll() 1525 pFrm = pFrm->GetNext(); in lcl_InvalidateAllLowersPrt() 1661 pFrm = pFrm->GetNext(); in lcl_InnerCalcLayout() 3158 pFrm = pFrm->GetNext(); in Format() 3196 while ( pFrm && GetFollow() != pFrm ) in GrowFrm() 3199 pFrm = pFrm->GetNext(); in GrowFrm() 4587 pFrm = pFrm->GetNext(); in AdjustCells() 4594 pFrm = pFrm->GetNext(); in AdjustCells() [all …]
|
H A D | pagechg.cxx | 126 pFrm = pFrm->GetNext(); in Format() 327 pFrm = pFrm->GetNextCntntFrm(); in CheckGrid() 810 pFrm = pFrm->GetNextCntntFrm(); in FindPageDesc() 1043 while( pFrm ) in PrepareRegisterChg() 1046 pFrm = pFrm->GetNextCntntFrm(); in PrepareRegisterChg() 1063 pFrm = pFrm->GetNextCntntFrm(); in PrepareRegisterChg() 1789 while ( pFrm && !pFrm->IsInDocBody() ) in ImplCalcBrowseWidth() 1790 pFrm = ((SwCntntFrm*)pFrm)->GetNextCntntFrm(); in ImplCalcBrowseWidth() 1791 if ( !pFrm ) in ImplCalcBrowseWidth() 1803 pFrm = pFrm->FindTabFrm(); in ImplCalcBrowseWidth() [all …]
|
H A D | trvlfrm.cxx | 131 pFrm = pFrm->GetNext(); in GetCrsrOfst() 240 pFrm = pFrm->GetNext(); in FillSelection() 393 pFrm = pFrm->GetNext(); in GetCrsrOfst() 480 pFrm->Calc(); in GetCrsrOfst() 487 pFrm = pFrm->GetNext(); in GetCrsrOfst() 997 (pFrm->GetNext() && pFrm->GetNext()->IsLayoutFrm()) ? in GetNextFrm() 1014 (pFrm->GetPrev() && pFrm->GetPrev()->IsLayoutFrm()) ? in GetPrevFrm() 1687 pFrm = ((SwFlyFrm*)pFrm)->GetAnchorFrm(); in IsProtected() 1690 pFrm = ((SwFtnFrm*)pFrm)->GetRef(); in IsProtected() 1692 pFrm = pFrm->GetUpper(); in IsProtected() [all …]
|
/trunk/main/sw/source/core/crsr/ |
H A D | trvltbl.cxx | 132 while ( pFrm && in lcl_FindMostUpperCellFrm() 137 pFrm = pFrm->GetUpper(); in lcl_FindMostUpperCellFrm() 139 return pFrm; in lcl_FindMostUpperCellFrm() 708 if ( pFrm && pFrm->IsInTab() ) in IsTblComplex() 741 SwFrm* pFrm; in GetBoxNms() local 751 pFrm = pFrm->GetUpper(); in GetBoxNms() 752 } while ( pFrm && !pFrm->IsCellFrm() ); in GetBoxNms() 770 if( pFrm ) in GetBoxNms() 773 pFrm = pFrm->GetUpper(); in GetBoxNms() 774 } while ( pFrm && !pFrm->IsCellFrm() ); in GetBoxNms() [all …]
|
H A D | trvlfnfl.cxx | 97 sal_Bool bSkip = pFrm && pFrm->IsInFtn(); in GotoFtnTxt() 98 while( pFrm && 0 != ( pFtnBoss = pFrm->FindFtnBossFrm() ) ) in GotoFtnTxt() 321 const SwFrm* pFrm = GetCurrFrm(); in GotoFlyAnchor() local 323 pFrm = pFrm->GetUpper(); in GotoFlyAnchor() 324 } while( pFrm && !pFrm->IsFlyFrm() ); in GotoFlyAnchor() 326 if( !pFrm ) // ist kein FlyFrame in GotoFlyAnchor() 334 if( !pFrm->Frm().IsInside( aTmpRect )) in GotoFlyAnchor() 335 aTmpRect = pFrm->Frm(); in GotoFlyAnchor() 338 aPt.X() = aPt.X() > (pFrm->Frm().Left() + (pFrm->Frm().SSize().Width() / 2 )) in GotoFlyAnchor() 339 ? pFrm->Frm().Right() in GotoFlyAnchor() [all …]
|
/trunk/main/sw/source/core/docnode/ |
H A D | node.cxx | 453 pFrm = pFrm->FindTabFrm(); in IsInVisibleArea() 457 { pFrm = pFrm->FindPrev(); in IsInVisibleArea() 458 } while ( pFrm && !pFrm->IsValid() ); in IsInVisibleArea() 460 if( !pFrm || pSh->VisArea().IsOver( pFrm->Frm() ) ) in IsInVisibleArea() 782 if( pFrm ) in GetFlyFmt() 1163 if( pFrm ) in FindLayoutRect() 1164 aRet = bPrtArea ? pFrm->Prt() : pFrm->Frm(); in FindLayoutRect() 1174 if( pFrm && 0 != ( pFrm = pFrm->FindPageFrm() )) in FindPageFrmRect() 1175 aRet = bPrtArea ? pFrm->Prt() : pFrm->Frm(); in FindPageFrmRect() 1417 if( pFrm->GetUpper() && pFrm->IsInFtn() && !pFrm->GetIndNext() && in DelFrms() [all …]
|
H A D | node2lay.cxx | 262 SwFrm* pFrm; in SaveUpperFrms() local 263 while( 0 != (pFrm = NextFrm()) ) in SaveUpperFrms() 265 SwFrm* pPrv = pFrm->GetPrev(); in SaveUpperFrms() 266 pFrm = pFrm->GetUpper(); in SaveUpperFrms() 267 if( pFrm ) in SaveUpperFrms() 269 if( pFrm->IsFtnFrm() ) in SaveUpperFrms() 270 ((SwFtnFrm*)pFrm)->ColLock(); in SaveUpperFrms() 271 else if( pFrm->IsInSct() ) in SaveUpperFrms() 272 pFrm->FindSctFrm()->ColLock(); in SaveUpperFrms() 296 if( pFrm && pFrm->IsSctFrm() ) in UpperFrm() [all …]
|
/trunk/main/sw/source/core/edit/ |
H A D | edtab.cxx | 314 pFrm = pFrm->GetUpper(); in GetTblBoxFormulaAttrs() 315 } while ( pFrm && !pFrm->IsCellFrm() ); in GetTblBoxFormulaAttrs() 316 if ( pFrm ) in GetTblBoxFormulaAttrs() 356 pFrm = pFrm->GetUpper(); in SetTblBoxFormulaAttrs() 357 } while ( pFrm && !pFrm->IsCellFrm() ); in SetTblBoxFormulaAttrs() 358 if ( pFrm ) in SetTblBoxFormulaAttrs() 387 pFrm = pFrm->GetUpper(); in IsTableBoxTextFormat() 388 } while ( pFrm && !pFrm->IsCellFrm() ); in IsTableBoxTextFormat() 389 if ( pFrm ) in IsTableBoxTextFormat() 427 pFrm = pFrm->GetUpper(); in GetTableBoxText() [all …]
|