/trunk/main/sw/source/core/inc/ |
H A D | txtfrm.hxx | 59 class SwTxtFrm: public SwCntntFrm class 345 virtual ~SwTxtFrm(); 382 DECL_FIXEDMEMPOOL_NEWDEL(SwTxtFrm) in DECL_FIXEDMEMPOOL_NEWDEL() argument 455 inline SwTxtFrm *GetFollow(); 459 SwTxtFrm *FindQuoVadisFrm(); 625 SwTxtFrm * const pFrm; 639 return ((SwTxtFrm*)this)->GetPara(); in GetPara() 697 inline const SwTxtFrm *SwTxtFrm::GetFollow() const in GetFollow() 701 inline SwTxtFrm *SwTxtFrm::GetFollow() in GetFollow() 706 inline const SwTxtFrm *SwTxtFrm::GetFrmAtPos( const SwPosition &rPos) const in GetFrmAtPos() [all …]
|
H A D | frminf.hxx | 28 class SwTxtFrm; // SwTxtFrmInfo 39 const SwTxtFrm *pFrm; 45 inline SwTxtFrmInfo( const SwTxtFrm *pTxtFrm ) : pFrm(pTxtFrm) { } in SwTxtFrmInfo() 69 const SwTxtFrm* GetFrm() const { return pFrm; } in GetFrm() 70 SwTxtFrmInfo& SetFrm( const SwTxtFrm* pNew ) in SetFrm() 75 const SwTxtFrm *pNextFrm = 0 ) const;
|
H A D | layouter.hxx | 38 class SwTxtFrm; 129 void LoopingLouieLight( const SwDoc& rDoc, const SwTxtFrm& rFrm ); 138 const SwTxtFrm& _rMovedFwdFrmByObjPos, 141 const SwTxtFrm& _rTxtFrm, 146 const SwTxtFrm& _rTxtFrm ); 175 extern void LOOPING_LOUIE_LIGHT( bool bCondition, const SwTxtFrm& rTxtFrm );
|
/trunk/main/sw/source/core/text/ |
H A D | frmcrsr.cxx | 78 SwTxtFrm *GetAdjFrmAtPos( SwTxtFrm *pFrm, const SwPosition &rPos, in GetAdjFrmAtPos() 158 SwTxtFrm& SwTxtFrm::GetFrmAtOfst( const xub_StrLen nWhere ) in GetFrmAtOfst() 160 SwTxtFrm* pRet = this; in GetFrmAtOfst() 166 SwTxtFrm *SwTxtFrm::GetFrmAtPos( const SwPosition &rPos ) in GetFrmAtPos() 168 SwTxtFrm *pFoll = (SwTxtFrm*)this; in GetFrmAtPos() 214 SwTxtFrm *pFrm = GetAdjFrmAtPos( (SwTxtFrm*)this, rPos, bRightMargin, in GetCharRect() 388 SwTxtFrm* pFrm = &(const_cast<SwTxtFrm*>(this)->GetFrmAtOfst( nOffset )); in GetAutoPos() 724 SwTxtFrm *pFrm = GetAdjFrmAtPos( (SwTxtFrm*)this, *pPam->GetPoint(), in LeftMargin() 765 SwTxtFrm *pFrm = GetAdjFrmAtPos( (SwTxtFrm*)this, *pPam->GetPoint(), in RightMargin() 1346 const SwTxtFrm *pFrm = GetAdjFrmAtPos( (SwTxtFrm*)this, *(pPam->GetPoint()), in UnitUp() [all …]
|
H A D | txtfrm.cxx | 90 TYPEINIT1( SwTxtFrm, SwCntntFrm ); 349 void SwTxtFrm::Init() in Init() 367 void SwTxtFrm::InitCtor() in InitCtor() 393 SwTxtFrm::SwTxtFrm(SwTxtNode * const pNode, SwFrm* pSib ) in SwTxtFrm() function in SwTxtFrm 402 SwTxtFrm::~SwTxtFrm() in ~SwTxtFrm() 413 void SwTxtFrm::ResetPreps() in ResetPreps() 463 void SwTxtFrm::HideHidden() in HideHidden() 776 void SwTxtFrm::CalcLineSpace() in CalcLineSpace() 1879 SwTxtFrm *pFrm; 2121 SwTxtFrm* SwTxtFrm::GetFormatted( bool bForceQuickFormat ) in GetFormatted() [all …]
|
H A D | txtcache.cxx | 44 SwTxtLine::SwTxtLine( SwTxtFrm *pFrm, SwParaPortion *pNew ) : in SwTxtLine() 66 return new SwTxtLine( (SwTxtFrm*)pOwner ); in NewObj() 86 ((SwTxtFrm*)pOwner)->SetCacheIdx( pRet->GetCachePos() ); in GetPara() 103 SwTxtLineAccess::SwTxtLineAccess( const SwTxtFrm *pOwn ) : in SwTxtLineAccess() 133 sal_Bool SwTxtFrm::_HasPara() const in _HasPara() 135 SwTxtLine *pTxtLine = (SwTxtLine*)SwTxtFrm::GetTxtCache()-> in _HasPara() 143 ((SwTxtFrm*)this)->nCacheIdx = MSHRT_MAX; in _HasPara() 157 SwParaPortion *SwTxtFrm::GetPara() in GetPara() 160 { SwTxtLine *pLine = (SwTxtLine*)SwTxtFrm::GetTxtCache()-> in GetPara() 180 void SwTxtFrm::ClearPara() in ClearPara() [all …]
|
H A D | frminf.cxx | 147 SwTxtSizeInfo aInf( (SwTxtFrm*)pFrm ); in GetLineStart() 148 SwTxtCursor aLine( (SwTxtFrm*)pFrm, &aInf ); in GetLineStart() 158 SwTxtSizeInfo aInf( (SwTxtFrm*)pFrm ); in GetCharPos() 159 SwTxtCursor aLine( (SwTxtFrm*)pFrm, &aInf ); in GetCharPos() 222 SwTxtSizeInfo aInf( (SwTxtFrm*)pFrm ); in GetSpaces() 223 SwTxtMargin aLine( (SwTxtFrm*)pFrm, &aInf ); in GetSpaces() 265 SwTxtSizeInfo aInf( (SwTxtFrm*)pFrm ); in IsBullet() 266 SwTxtMargin aLine( (SwTxtFrm*)pFrm, &aInf ); in IsBullet() 285 SwTxtSizeInfo aInf( (SwTxtFrm*)pFrm ); in GetFirstIndent() 318 const SwTxtFrm *pNextFrm ) const in GetBigIndent() [all …]
|
H A D | frmform.cxx | 105 void SwTxtFrm::ValidateFrm() in ValidateFrm() 167 void SwTxtFrm::ValidateBodyFrm() in ValidateBodyFrm() 188 SwTxtSizeInfo aInf( (SwTxtFrm*)this ); in _GetDropRect() 189 SwTxtMargin aLine( (SwTxtFrm*)this, &aInf ); in _GetDropRect() 215 const SwBodyFrm *SwTxtFrm::FindBodyFrm() const in FindBodyFrm() 237 SwTxtFrm* pMyFollow = GetFollow(); in CalcFollow() 673 SwCntntFrm *SwTxtFrm::JoinFrm() in JoinFrm() 676 SwTxtFrm *pFoll = GetFollow(); in JoinFrm() 678 SwTxtFrm *pNxt = pFoll->GetFollow(); in JoinFrm() 757 SwTxtFrm *pNew = (SwTxtFrm *)(GetTxtNode()->MakeFrm( this )); in SplitFrm() [all …]
|
H A D | txtftn.cxx | 71 sal_Bool SwTxtFrm::_IsFtnNumFrm() const in _IsFtnNumFrm() 85 SwTxtFrm *SwTxtFrm::FindFtnRef( const SwTxtFtn *pFtn ) in FindFtnRef() 87 SwTxtFrm *pFrm = this; in FindFtnRef() 104 void SwTxtFrm::CalcFtnFlag() in CalcFtnFlag() 145 sal_Bool SwTxtFrm::CalcPrepFtnAdjust() in CalcPrepFtnAdjust() 297 SwTxtFrm *pThis = (SwTxtFrm*)this; in GetFtnLine() 335 SwTwips SwTxtFrm::_GetFtnFrmHeight() const in _GetFtnFrmHeight() 340 const SwTxtFrm *pRef = (const SwTxtFrm *)pFtnFrm->GetRef(); in _GetFtnFrmHeight() 412 SwTxtFrm *SwTxtFrm::FindQuoVadisFrm() in FindQuoVadisFrm() 432 return (SwTxtFrm*)pLast; in FindQuoVadisFrm() [all …]
|
H A D | frmpaint.cxx | 88 const SwTxtFrm* pTxtFrm; 100 SwExtraPainter( const SwTxtFrm *pFrm, ViewShell *pVwSh, 339 SwTxtFrmLocker aLock((SwTxtFrm*)this); in PaintExtraData() 341 SwTxtLineAccess aAccess( (SwTxtFrm*)this ); in PaintExtraData() 348 SwTxtPainter aLine( (SwTxtFrm*)this, &aInf ); in PaintExtraData() 429 SwRect SwTxtFrm::Paint() in Paint() 633 ((SwTxtFrm*)this)->GetFormatted( true ); in Paint() 649 SwTxtFrmLocker aLock((SwTxtFrm*)this); in Paint() 658 SwTxtLineAccess aAccess( (SwTxtFrm*)this ); in Paint() 688 SwTxtPaintInfo aInf( (SwTxtFrm*)this, rRect ); in Paint() [all …]
|
H A D | itrtxt.hxx | 29 class SwTxtFrm; 43 SwTxtFrm *pFrm; 63 void CtorInitTxtIter( SwTxtFrm *pFrm, SwTxtInfo *pInf ); 67 …inline SwTxtIter( SwTxtFrm *pTxtFrm, SwTxtInfo *pTxtInf ) : SwAttrIter(pTxtFrm!=NULL?pTxtFrm->GetT… in SwTxtIter() 120 inline SwTxtFrm *GetTxtFrm() { return pFrm; } in GetTxtFrm() 121 inline const SwTxtFrm *GetTxtFrm() const { return pFrm; } in GetTxtFrm() 152 void CtorInitTxtMargin( SwTxtFrm *pFrm, SwTxtSizeInfo *pInf ); 155 …inline SwTxtMargin( SwTxtFrm *pTxtFrm, SwTxtSizeInfo *pTxtSizeInf ) : SwTxtIter(pTxtFrm!=NULL?pTxt… in SwTxtMargin() 229 …inline SwTxtAdjuster( SwTxtFrm *pTxtFrm, SwTxtSizeInfo *pTxtSizeInf ) : SwTxtMargin(pTxtFrm!=NULL?… in SwTxtAdjuster() 261 void CtorInitTxtCursor( SwTxtFrm *pFrm, SwTxtSizeInfo *pInf ); [all …]
|
H A D | widorp.hxx | 25 class SwTxtFrm; 36 SwTxtFrm *pFrm; 40 SwTxtFrmBreak( SwTxtFrm *pFrm, const SwTwips nRst = 0 ); 71 WidowsAndOrphans( SwTxtFrm *pFrm, const SwTwips nRst = 0, 73 sal_Bool FindWidows( SwTxtFrm *pFrm, SwTxtMargin &rLine ); 80 sal_Bool FindBreak( SwTxtFrm *pFrm, SwTxtMargin &rLine, sal_Bool bHasToFit );
|
H A D | inftxt.hxx | 57 class SwTxtFrm; 163 void CtorInitTxtInfo( SwTxtFrm *pFrm ); 165 inline SwTxtInfo( SwTxtFrm *pFrm ) { CtorInitTxtInfo( pFrm ); } in SwTxtInfo() 197 SwTxtFrm *pFrm; 222 void CtorInitTxtSizeInfo( SwTxtFrm *pFrm, SwFont *pFnt = 0, 232 inline SwTxtSizeInfo( SwTxtFrm *pTxtFrm, SwFont *pTxtFnt = 0, in SwTxtSizeInfo() 338 inline SwTxtFrm *GetTxtFrm() { return pFrm; } in GetTxtFrm() 339 inline const SwTxtFrm *GetTxtFrm() const { return pFrm; } in GetTxtFrm() 433 void CtorInitTxtPaintInfo( SwTxtFrm *pFrame, const SwRect &rPaint ); 440 inline SwTxtPaintInfo( SwTxtFrm *pFrame, const SwRect &rPaint ) in SwTxtPaintInfo() [all …]
|
H A D | txtfly.hxx | 68 class SwTxtFrm; 82 const SwTxtFrm* pFrm, const SwRect &rLine, const long nXPos, 94 const SwTxtFrm* pFrm, 115 const SwTxtFrm *pCurrFrm; 177 inline SwTxtFly( const SwTxtFrm *pFrm ) in SwTxtFly() 184 void CtorInitTxtFly( const SwTxtFrm *pFrm );
|
H A D | widorp.cxx | 57 inline sal_Bool IsNastyFollow( const SwTxtFrm *pFrm ) in IsNastyFollow() 60 ((const SwTxtFrm*)pFrm->GetPrev())->GetFollow() == pFrm, in IsNastyFollow() 69 SwTxtFrmBreak::SwTxtFrmBreak( SwTxtFrm *pNewFrm, const SwTwips nRst ) in SwTxtFrmBreak() 253 WidowsAndOrphans::WidowsAndOrphans( SwTxtFrm *pNewFrm, const SwTwips nRst, in WidowsAndOrphans() 337 sal_Bool WidowsAndOrphans::FindBreak( SwTxtFrm *pFrame, SwTxtMargin &rLine, in FindBreak() 395 sal_Bool WidowsAndOrphans::FindWidows( SwTxtFrm *pFrame, SwTxtMargin &rLine ) in FindWidows() 406 SwTxtFrm *pMaster = pFrame->FindMaster(); in FindWidows()
|
/trunk/main/sw/source/core/layout/ |
H A D | calcmove.cxx | 318 if ( ((SwTxtFrm*)((SwTxtFrm*)this)->FindMaster())->IsLocked() ) in PrepareMake() 780 ((SwTxtFrm*)pCnt)->IsUndersized() ) in MakeAll() 781 nTmp += ((SwTxtFrm*)pCnt)->GetParHeight() in MakeAll() 975 if ( ((SwTxtFrm*)this)->HasFollow() ) in MakePrtArea() 976 ((SwTxtFrm*)this)->JoinFrm(); in MakePrtArea() 979 ((SwTxtFrm*)this)->HideHidden(); in MakePrtArea() 1133 if ( ((SwTxtFrm*)this)->IsLocked() ) in MakeAll() 1209 if ( !((SwTxtFrm*)pFtn->GetRef())->IsLocked() ) in MakeAll() 1224 dynamic_cast<SwTxtFrm*>(this)->JoinFrm(); in MakeAll() 1943 !((SwTxtFrm*)pFrm)->IsEmpty() in _WouldFit() [all …]
|
H A D | frmtool.cxx | 802 SwTxtFrm* pTxtFrm = static_cast<SwTxtFrm*>(pCntntFrm); in SwCntntNotify() 1036 SwTxtFrm* pMasterFrm = pCnt->IsFollow() in ~SwCntntNotify() 1038 : static_cast<SwTxtFrm*>(pCnt); in ~SwCntntNotify() 1886 const SwTxtFrm* pTxtFrm = dynamic_cast<const SwTxtFrm*>(pConstructor); in SwBorderAttrs() 2683 ((SwTxtFrm*)pSav)->GetCacheIdx() != USHRT_MAX ) in RestoreCntnt() 2684 ((SwTxtFrm*)pSav)->Init(); //Ich bin sein Freund. in RestoreCntnt() 2696 if( pBlub->IsTxtFrm() && ((SwTxtFrm*)pBlub)->HasFtn() && in RestoreCntnt() 2697 ((SwTxtFrm*)pBlub)->GetCacheIdx() != USHRT_MAX ) in RestoreCntnt() 2698 ((SwTxtFrm*)pBlub)->Init(); //Ich bin sein Freund. in RestoreCntnt() 3302 if( pLow->IsTxtFrm() && ((SwTxtFrm*)pLow)->IsUndersized() ) in lcl_CalcCellRstHeight() [all …]
|
H A D | objectformattertxtfrm.hxx | 29 class SwTxtFrm; 40 SwTxtFrm& mrAnchorTxtFrm; 43 SwTxtFrm* mpMasterAnchorTxtFrm; 45 SwObjectFormatterTxtFrm( SwTxtFrm& _rAnchorTxtFrm, 47 SwTxtFrm* _pMasterAnchorTxtFrm, 152 SwTxtFrm& _rAnchorTxtFrm, 170 static void FormatAnchorFrmAndItsPrevs( SwTxtFrm& _rAnchorTxtFrm );
|
H A D | anchoredobject.cxx | 312 const SwTxtFrm& aAnchorCharFrm = *(FindAnchorCharFrm()); in CheckCharRectAndTopOfLine() 337 const SwTxtFrm& _rAnchorCharFrm ) in _CheckCharRect() 404 const SwTxtFrm& _rAnchorCharFrm ) in _CheckTopOfLine() 648 !static_cast<const SwTxtFrm*>(GetAnchorFrm())->IsFollow() && in HasClearedEnvironment() 649 static_cast<const SwTxtFrm*>(GetAnchorFrm())->FindPageFrm()->GetPhyPageNum() >= in HasClearedEnvironment() 664 const SwTxtFrm* pTmpTxtFrm = static_cast<const SwTxtFrm*>(pTmpFrm); in HasClearedEnvironment() 847 SwTxtFrm* SwAnchoredObject::FindAnchorCharFrm() in FindAnchorCharFrm() 849 SwTxtFrm* pAnchorCharFrm( 0L ); in FindAnchorCharFrm() 858 pAnchorCharFrm = &(static_cast<SwTxtFrm*>(AnchorFrm())-> in FindAnchorCharFrm()
|
H A D | ssfrm.cxx | 283 ((SwTxtFrm*)this)->Prepare( PREP_CLEAR ); in CheckDirChange() 331 ((SwTxtFrm*)this)->GetBaseOfstForFly( bIgnoreFlysAnchoredAtThisFrame ); in GetFrmAnchorPos() 340 const SwTxtFrm* pThisTxtFrm = static_cast<const SwTxtFrm*>(this); in GetFrmAnchorPos() 467 if( IsTxtFrm() && ((SwTxtFrm*)this)->HasFtn() ) in ~SwCntntFrm() 469 SwTxtNode *pTxtNd = ((SwTxtFrm*)this)->GetTxtNode(); in ~SwCntntFrm() 516 dynamic_cast<SwTxtFrm*>(pFrm->FindNextCnt( true )), in DelFrms() 517 dynamic_cast<SwTxtFrm*>(pFrm->FindPrevCnt( true )) ); in DelFrms() 525 SwCntntFrm* pMaster = (SwTxtFrm*)pFrm->FindMaster(); in DelFrms() 546 ((SwTxtFrm*)pCFrm->FindMaster())->Prepare( PREP_FTN_GONE ); in DelFrms() 793 if( IsTxtFrm() && ((SwTxtFrm*)this)->HasPara() ) in UnionFrm() [all …]
|
H A D | movedfwdfrmsbyobjpos.cxx | 42 void SwMovedFwdFrmsByObjPos::Insert( const SwTxtFrm& _rMovedFwdFrmByObjPos, in Insert() 53 void SwMovedFwdFrmsByObjPos::Remove( const SwTxtFrm& _rTxtFrm ) in Remove() 58 bool SwMovedFwdFrmsByObjPos::FrmMovedFwdByObjPos( const SwTxtFrm& _rTxtFrm, in FrmMovedFwdByObjPos() 84 SwIterator<SwTxtFrm,SwTxtNode> aFrmIter( *rEntry.first ); in DoesRowContainMovedFwdFrm() 85 … for( SwTxtFrm* pTxtFrm = aFrmIter.First(); pTxtFrm; pTxtFrm = (SwTxtFrm*)aFrmIter.Next() ) in DoesRowContainMovedFwdFrm()
|
H A D | flowfrm.cxx | 463 if ( ((SwTxtFrm*)pCnt)->IsLocked() || in CutTree() 464 ((SwTxtFrm*)pCnt)->GetFollow() == pStart ) in CutTree() 552 if ( ((SwTxtFrm*)pFloat)->GetCacheIdx() != USHRT_MAX ) in PasteTree() 553 ((SwTxtFrm*)pFloat)->Init(); //Ich bin sein Freund. in PasteTree() 709 SwTxtFrm* SwCntntFrm::FindMaster() const in FindMaster() 720 return (SwTxtFrm*)pCnt; in FindMaster() 1246 ( pPrev->IsTxtFrm() && ((SwTxtFrm*)pPrev)->IsHiddenNow() ) ) ) in IsPageBreak() 1308 ( pPrev->IsTxtFrm() && ((SwTxtFrm*)pPrev)->IsHiddenNow() ) ) ) in IsColBreak() 1446 static_cast<const SwTxtFrm*>(pPrevFrm)->IsHiddenNow() ) in _GetPrevFrmForUpperSpaceCalc() 2047 (SwLayoutFrm*)((SwTxtFrm*)pStart)->FindBodyFrm() : 0 ) : 0; in MoveFwd() [all …]
|
H A D | objectformattertxtfrm.cxx | 51 SwTxtFrm& mrTxtFrm; 55 SwForbidFollowFormat( SwTxtFrm& _rTxtFrm ) in SwForbidFollowFormat() 75 SwObjectFormatterTxtFrm::SwObjectFormatterTxtFrm( SwTxtFrm& _rAnchorTxtFrm, in SwObjectFormatterTxtFrm() 77 SwTxtFrm* _pMasterAnchorTxtFrm, in SwObjectFormatterTxtFrm() 90 SwTxtFrm& _rAnchorTxtFrm, in CreateObjFormatter() 97 SwTxtFrm* pMasterOfAnchorFrm = 0L; in CreateObjFormatter() 658 SwTxtFrm* pAnchorTxtFrm = static_cast<SwTxtFrm*>(pAnchorFrm); in CheckMovedFwdCondition() 733 void SwObjectFormatterTxtFrm::FormatAnchorFrmAndItsPrevs( SwTxtFrm& _rAnchorTxtFrm ) in FormatAnchorFrmAndItsPrevs()
|
H A D | laycache.cxx | 215 sal_uLong nNdIdx = ((SwTxtFrm*)pTmp)->GetNode()->GetIndex(); in Write() 220 sal_Bool bFollow = ((SwTxtFrm*)pTmp)->IsFollow(); in Write() 376 sal_uLong nNdIdx = ((SwTxtFrm*)pTmp)->GetNode()->GetIndex(); in CompareLayout() 379 sal_Bool bFollow = ((SwTxtFrm*)pTmp)->IsFollow(); in CompareLayout() 384 ( bFollow ? ((SwTxtFrm*)pTmp)->GetOfst() in CompareLayout() 688 bool lcl_HasTextFrmAnchoredObjs( SwTxtFrm* p_pTxtFrm ) in lcl_HasTextFrmAnchoredObjs() 713 SwTxtFrm* pFirstTextFrmOnNewPage = dynamic_cast<SwTxtFrm*>(p_pFirstFrmOnNewPage); in lcl_ApplyWorkaroundForB6375613() 862 nOfst<((SwTxtFrm*)rpFrm)->GetTxtNode()->GetTxt().Len() ) in CheckInsert() 930 SwTxtFrm *pNew = new SwTxtFrm( ((SwTxtFrm*)rpFrm)-> in CheckInsert() 934 pNew->SetFollow( ((SwTxtFrm*)rpFrm)->GetFollow() ); in CheckInsert() [all …]
|
/trunk/main/sw/source/core/view/ |
H A D | vnew.cxx | 242 if ( SwTxtFrm::GetTxtCache()->GetCurMax() < 2550 ) in ViewShell() 243 SwTxtFrm::GetTxtCache()->IncreaseMax( 100 ); in ViewShell() 314 if ( SwTxtFrm::GetTxtCache()->GetCurMax() < 2550 ) in ViewShell() 315 SwTxtFrm::GetTxtCache()->IncreaseMax( 100 ); in ViewShell() 381 if ( SwTxtFrm::GetTxtCache()->GetCurMax() > 250 ) in ~ViewShell() 382 SwTxtFrm::GetTxtCache()->DecreaseMax( 100 ); in ~ViewShell()
|