Home
last modified time | relevance | path

Searched refs:SwLayoutFrm (Results 1 – 25 of 83) sorted by relevance

1234

/AOO41X/main/sw/source/core/frmedt/
H A Dtblsel.cxx159 const SwLayoutFrm *lcl_FindCellFrm( const SwLayoutFrm *pLay ) in lcl_FindCellFrm()
166 const SwLayoutFrm *lcl_FindNextCellFrm( const SwLayoutFrm *pLay ) in lcl_FindNextCellFrm()
169 const SwLayoutFrm *pTmp = pLay; in lcl_FindNextCellFrm()
289 const SwLayoutFrm *pStart = pCntNd ? in GetTblSel()
292 const SwLayoutFrm *pEnd = pCntNd ? in GetTblSel()
299 void GetTblSel( const SwLayoutFrm* pStart, const SwLayoutFrm* pEnd, in GetTblSel()
347 const SwLayoutFrm* pRow = pTable->IsFollow() ? in GetTblSel()
349 (const SwLayoutFrm*)pTable->Lower(); in GetTblSel()
361 const SwLayoutFrm *pCell = pRow->FirstCell(); in GetTblSel()
424 pCell = (const SwLayoutFrm*)pCell->GetNext(); in GetTblSel()
[all …]
/AOO41X/main/sw/source/core/layout/
H A Dcolfrm.cxx89 void MA_FASTCALL lcl_RemoveColumns( SwLayoutFrm *pCont, sal_uInt16 nCnt ) in lcl_RemoveColumns()
111 SwLayoutFrm * MA_FASTCALL lcl_FindColumns( SwLayoutFrm *pLay, sal_uInt16 nCount ) in lcl_FindColumns()
123 return i == nCount ? (SwLayoutFrm*)pCol : 0; in lcl_FindColumns()
129 static sal_Bool lcl_AddColumns( SwLayoutFrm *pCont, sal_uInt16 nCount ) in lcl_AddColumns()
139 SwLayoutFrm *pAttrOwner = pCont; in lcl_AddColumns()
142 SwLayoutFrm *pNeighbourCol = 0; in lcl_AddColumns()
143 SwIterator<SwLayoutFrm,SwFmt> aIter( *pAttrOwner->GetFmt() ); in lcl_AddColumns()
144 SwLayoutFrm *pNeighbour = aIter.First(); in lcl_AddColumns()
170 pNeighbourCol = (SwLayoutFrm*)pNeighbourCol->GetNext(); in lcl_AddColumns()
177 pNeighbourCol = (SwLayoutFrm*)pNeighbourCol->GetNext(); in lcl_AddColumns()
[all …]
H A Dsectfrm.cxx75 SwLayoutFrm( rSect.GetFmt(), pSib ), in SV_IMPL_PTRARR_SORT()
86 SwLayoutFrm( rSect.GetFmt(), rSect.getRootFrm() ), in SwSectionFrm()
305 SwLayoutFrm *pUp = GetUpper(); in _Cut()
381 pSibling = ((SwLayoutFrm*)((SwColumnFrm*)pCol)->Lower())->Lower(); in Paste()
409 if( !((SwLayoutFrm*)pParent)->Lower() ) in Paste()
504 SwLayoutFrm* pLay = this; in MergeNext()
511 pLay = (SwLayoutFrm*)((SwLayoutFrm*)pLast)->Lower(); in MergeNext()
568 SwLayoutFrm* pLay = pNew; in SplitSect()
571 pLay = (SwLayoutFrm*)pLay->Lower(); in SplitSect()
614 lcl_InvalidateInfFlags( ((SwLayoutFrm*)pFrm)->GetLower(), sal_False ); in lcl_InvalidateInfFlags()
[all …]
H A Dfindfrm.cxx59 SwLayoutFrm *SwFtnBossFrm::FindBodyCont() in FindBodyCont()
64 return (SwLayoutFrm*)pLay; in FindBodyCont()
91 const SwCntntFrm *SwLayoutFrm::ContainsCntnt() const in ContainsCntnt()
100 const SwLayoutFrm *pLayLeaf = this; in ContainsCntnt()
105 pLayLeaf = (SwLayoutFrm*)pLayLeaf->Lower(); in ContainsCntnt()
116 pLayLeaf = (SwLayoutFrm*)pLayLeaf->GetNext(); in ContainsCntnt()
146 const SwCellFrm *SwLayoutFrm::FirstCell() const in FirstCell()
168 const SwFrm *SwLayoutFrm::ContainsAny( const bool _bInvestigateFtnForSections ) const in ContainsAny()
175 const SwLayoutFrm *pLayLeaf = this; in ContainsAny()
184 pLayLeaf = (SwLayoutFrm*)pLayLeaf->Lower(); in ContainsAny()
[all …]
H A Dtrvlfrm.cxx111 sal_Bool SwLayoutFrm::GetCrsrOfst( SwPosition *pPos, Point &rPoint, in GetCrsrOfst()
196 if ( SwLayoutFrm::GetCrsrOfst( pPos, aPoint, pCMS ) ) in GetCrsrOfst()
231 bool SwLayoutFrm::FillSelection( SwSelectionList& rList, const SwRect& rRect ) const in FillSelection()
251 bRet = SwLayoutFrm::FillSelection( rList, rRect ); in FillSelection()
377 return SwLayoutFrm::GetCrsrOfst( pPos, rPoint, pCMS ); in GetCrsrOfst()
574 const SwLayoutFrm *pCell = pCnt->GetUpper(); in lcl_MissProtectedFrames()
611 const SwLayoutFrm *pCell = pStart->GetUpper(); in lcl_UpDown()
619 const SwLayoutFrm* pTmpCell = bFwd ? in lcl_UpDown()
794 const SwLayoutFrm *pCell = pTable ? pCnt->GetUpper() : 0; in lcl_UpDown()
984 SwCntntFrm *GetFirstSub( const SwLayoutFrm *pLayout ) in GetFirstSub()
[all …]
H A Dwsfrm.cxx526 SwTwips nReal = ((SwLayoutFrm*)this)->AdjustNeighbourhood(nDiff); in ChgSize()
567 if( ((SwLayoutFrm*)this)->Lower() ) in ChgSize()
568 ((SwLayoutFrm*)this)->Lower()->_InvalidateSize(); in ChgSize()
589 void SwFrm::InsertBefore( SwLayoutFrm* pParent, SwFrm* pBehind ) in InsertBefore()
630 void SwFrm::InsertBehind( SwLayoutFrm *pParent, SwFrm *pBefore ) in InsertBehind()
722 SwLayoutFrm* pTmp = (SwLayoutFrm*)pSct; in InsertGroupBefore()
726 pTmp = (SwLayoutFrm*)((SwLayoutFrm*)pTmp->Lower())->Lower(); in InsertGroupBefore()
746 pUpper = (SwLayoutFrm*)pParent; in InsertGroupBefore()
824 InsertBefore( (SwLayoutFrm*)pParent, pSibling ); in Paste()
889 if( pFrm && 0 != (pFrm=((SwLayoutFrm*)pFrm)->ContainsAny()) ) in Paste()
[all …]
H A Dhffrm.cxx53 static SwTwips lcl_GetFrmMinHeight(const SwLayoutFrm & rFrm) in lcl_GetFrmMinHeight()
74 static SwTwips lcl_CalcContentHeight(SwLayoutFrm & frm) in lcl_CalcContentHeight()
107 static void lcl_LayoutFrmEnsureMinHeight(SwLayoutFrm & rFrm, in lcl_LayoutFrmEnsureMinHeight()
119 : SwLayoutFrm( pFmt, pSib ) in SwHeadFootFrm()
425 SwLayoutFrm::Format(pAttrs); in Format()
451 nResult = SwLayoutFrm::GrowFrm(nDist, bTst, bInfo); in GrowFrm()
521 SwLayoutFrm::GrowFrm( nDist - nEat, bTst, bInfo ); in GrowFrm()
553 nResult = SwLayoutFrm::ShrinkFrm(nDist, bTst, bInfo); in ShrinkFrm()
641 SwTwips nShrinkAmount = SwLayoutFrm::ShrinkFrm( nDist - nRest, bTst, bInfo ); in ShrinkFrm()
682 void DelFlys( SwLayoutFrm *pFrm, SwPageFrm *pPage ) in DelFlys()
[all …]
H A Dflowfrm.cxx411 SwLayoutFrm *SwFlowFrm::CutTree( SwFrm *pStart ) in CutTree()
417 SwLayoutFrm *pLay = pStart->GetUpper(); in CutTree()
479 sal_Bool SwFlowFrm::PasteTree( SwFrm *pStart, SwLayoutFrm *pParent, SwFrm *pSibling, in PasteTree()
594 void SwFlowFrm::MoveSubTree( SwLayoutFrm* pParent, SwFrm* pSibling ) in MoveSubTree()
627 SwLayoutFrm *pOldParent = CutTree( &rThis ); in MoveSubTree()
664 SwCntntFrm *pCnt = ((SwLayoutFrm*)&rThis)->ContainsCntnt(); in MoveSubTree()
799 const SwLayoutFrm *SwFrm::GetLeaf( MakePageType eMakePage, sal_Bool bFwd, in GetLeaf()
813 (!IsLayoutFrm() || !((SwLayoutFrm*)this)->IsAnLower( pLeaf ))) in GetLeaf()
823 return (const SwLayoutFrm*)pLeaf; in GetLeaf()
838 SwLayoutFrm *SwFrm::GetLeaf( MakePageType eMakePage, sal_Bool bFwd ) in GetLeaf()
[all …]
H A Dftnfrm.cxx152 SwLayoutFrm* pBody = rpPage->FindBodyCont(); in lcl_NextFtnBoss()
203 SwLayoutFrm( pFmt, pSib ) in SwFtnContFrm()
229 const SwFrm* pNxt = ((SwLayoutFrm*)pFrm)->Lower(); in lcl_Undersize()
490 SwTwips nRet = SwLayoutFrm::ShrinkFrm( nDiff, bTst, bInfo ); in ShrinkFrm()
512 SwLayoutFrm( pFmt, pSib ), in SwFtnFrm()
536 SwFrm *pCnt = ((SwLayoutFrm*)GetNext())->ContainsAny(); in InvalidateNxtFtnCnts()
570 return SwLayoutFrm::GrowFrm( nDist, bTst, bInfo ); in GrowFrm()
588 return SwLayoutFrm::ShrinkFrm( nDist, bTst, bInfo ); in ShrinkFrm()
607 SwLayoutFrm *pUp = GetUpper(); in Cut()
629 SwLayoutFrm *pBody = pPage->FindBodyCont(); in Cut()
[all …]
H A Dtabfrm.cxx89 SwLayoutFrm( rTab.GetFrmFmt(), pSib ), in SwTabFrm()
120 SwLayoutFrm( rTab.GetFmt(), &rTab ), in SwTabFrm()
209 sal_Bool lcl_ArrangeLowers( SwLayoutFrm *pLay, long lYStart, sal_Bool bInva );
223 SwTwips lcl_CalcTopAndBottomMargin( const SwLayoutFrm&, const SwBorderAttrs& );
273 void lcl_InvalidateLowerObjs( SwLayoutFrm& _rLayoutFrm, in lcl_InvalidateLowerObjs()
295 ::lcl_InvalidateLowerObjs( *(static_cast<SwLayoutFrm*>(pLowerFrm)), in lcl_InvalidateLowerObjs()
489 void lcl_MoveFootnotes( SwTabFrm& rSource, SwTabFrm& rDest, SwLayoutFrm& rRowFrm ) in lcl_MoveFootnotes()
570 … nMinHeight = Max( nMinHeight, lcl_CalcTopAndBottomMargin( *(SwLayoutFrm*)pCell, rAttrs ) ); in lcl_PreprocessRowsInCells()
1454 if ( ((SwLayoutFrm*)pFrm)->Lower() ) in SwInvalidatePositions()
1456 ::SwInvalidatePositions( ((SwLayoutFrm*)pFrm)->Lower(), nBottom); in SwInvalidatePositions()
[all …]
H A Dfrmtool.cxx433 SwLayNotify::SwLayNotify( SwLayoutFrm *pLayFrm ) : in SwLayNotify()
444 void lcl_InvalidatePosOfLowers( SwLayoutFrm& _rLayoutFrm ) in lcl_InvalidatePosOfLowers()
479 SwLayoutFrm *pLay = GetLay(); in ~SwLayNotify()
819 SwLayoutFrm* pCell = pCnt->GetUpper(); in ~SwCntntNotify()
1221 const SwLayoutFrm& _rLayFrm ) in lcl_SetPos()
1233 void MA_FASTCALL _InsertCnt( SwLayoutFrm *pLay, SwDoc *pDoc, in _InsertCnt()
1498 pLay = (SwLayoutFrm*)pFrm; in _InsertCnt()
1562 pLay = (SwLayoutFrm*)pFrm; in _InsertCnt()
1653 SwLayoutFrm *pUpper = pFrm->GetUpper(); in MakeFrms()
1859 : ((SwLayoutFrm*)pConstructor)->GetFmt()->GetAttrSet() ), in SwBorderAttrs()
[all …]
H A Dobjectformatterlayfrm.hxx28 class SwLayoutFrm;
38 SwLayoutFrm& mrAnchorLayFrm;
40 SwObjectFormatterLayFrm( SwLayoutFrm& _rAnchorLayFrm,
72 SwLayoutFrm& _rAnchorLayFrm,
H A Dfly.cxx93 TYPEINIT2(SwFlyFrm,SwLayoutFrm,SwAnchoredObject);
105 SwLayoutFrm( pFmt, pSib ), in SwFlyFrm()
244 ::_InsertCnt( Lower() ? (SwLayoutFrm*)((SwLayoutFrm*)Lower())->Lower() : (SwLayoutFrm*)this, in InsertCnt()
622 SwLayoutFrm *pUpper = pMaster; in UnchainFrames()
625 pUpper = static_cast<SwLayoutFrm*>(pUpper->GetLastLower()); in UnchainFrames()
626 pUpper = static_cast<SwLayoutFrm*>(pUpper->Lower()); // der (Column)BodyFrm in UnchainFrames()
646 ::_InsertCnt( pFollow->Lower() ? (SwLayoutFrm*)((SwLayoutFrm*)pFollow->Lower())->Lower() in UnchainFrames()
647 : (SwLayoutFrm*)pFollow, in UnchainFrames()
677 SwLayoutFrm *pLay; in FindChainNeighbour()
829 SwLayoutFrm::Modify( &aOldSet, &aNewSet ); in Modify()
[all …]
/AOO41X/main/sw/source/core/inc/
H A Dframe.hxx35 class SwLayoutFrm;
142 SwFrm* SaveCntnt( SwLayoutFrm*, SwFrm* pStart = NULL );
277 friend class SwLayoutFrm; // Sw3FrameIo: fuer pNext, pPrev
281 friend SwFrm *SaveCntnt( SwLayoutFrm*, SwFrm* pStart );
282 friend void RestoreCntnt( SwFrm *, SwLayoutFrm *, SwFrm *pSibling, bool bGrow );
310 SwLayoutFrm *pUpper;
386 const SwLayoutFrm* ImplGetNextLayoutLeaf( bool bFwd ) const;
522 void InsertBefore( SwLayoutFrm* pParent, SwFrm* pBehind );
524 void InsertBehind( SwLayoutFrm *pParent, SwFrm *pBefore );
533 SwLayoutFrm *GetLeaf( MakePageType eMakePage, sal_Bool bFwd );
[all …]
H A Dlayfrm.hxx37 class SwLayoutFrm: public SwFrm class
44 friend SwFrm* SaveCntnt( SwLayoutFrm *, SwFrm * );
45 friend void RestoreCntnt( SwFrm *, SwLayoutFrm *, SwFrm *pSibling, bool bGrow );
52 void CopySubtree( const SwLayoutFrm *pDest );
101 SwLayoutFrm( SwFrmFmt*, SwFrm* );
102 ~SwLayoutFrm();
166 bool IsBefore( const SwLayoutFrm* _pCheckRefLayFrm ) const;
173 inline SwCntntFrm* SwLayoutFrm::ContainsCntnt() in ContainsCntnt()
175 return (SwCntntFrm*)(((const SwLayoutFrm*)this)->ContainsCntnt()); in ContainsCntnt()
178 inline SwCellFrm* SwLayoutFrm::FirstCell() in FirstCell()
[all …]
H A Dfrmtool.hxx86 SwFrm *SaveCntnt( SwLayoutFrm *pLay, SwFrm *pStart );
87 void RestoreCntnt( SwFrm *pSav, SwLayoutFrm *pParent, SwFrm *pSibling, bool bGrow );
90 void MA_FASTCALL _InsertCnt( SwLayoutFrm *pLay, SwDoc *pDoc, sal_uLong nIndex,
105 long MA_FASTCALL CalcRowRstHeight( SwLayoutFrm *pRow );
114 void RegistFlys( SwPageFrm*, const SwLayoutFrm* );
146 void CalcCntnt( SwLayoutFrm *pLay,
189 SwLayoutFrm *GetLay() { return (SwLayoutFrm*)pFrm; } in GetLay()
191 SwLayNotify( SwLayoutFrm *pLayFrm );
548 const SwCntntFrm* GetCellCntnt( const SwLayoutFrm& rCell_ );
H A Dftnboss.hxx51 class SwFtnBossFrm: public SwLayoutFrm
69 inline SwFtnBossFrm( SwFrmFmt* pFmt, SwFrm* pSib ) : SwLayoutFrm( pFmt, pSib ) {} in SwFtnBossFrm()
71 SwLayoutFrm *FindBodyCont();
72 inline const SwLayoutFrm *FindBodyCont() const;
124 inline const SwLayoutFrm *SwFtnBossFrm::FindBodyCont() const in FindBodyCont()
H A Dcntfrm.hxx29 class SwLayoutFrm;
46 SwLayoutFrm *pNewUpper,
55 virtual sal_Bool ShouldBwdMoved( SwLayoutFrm *pNewUpper, sal_Bool, sal_Bool& );
108 …static bool CalcLowers( SwLayoutFrm* pLay, const SwLayoutFrm* pDontLeave, long nBottom, bool bSkip…
H A Dflowfrm.hxx80 static SwLayoutFrm *CutTree( SwFrm* );
81 static sal_Bool PasteTree( SwFrm *, SwLayoutFrm *, SwFrm *, SwFrm* );
137 friend void CalcCntnt( SwLayoutFrm *pLay, bool bNoColl, bool bNoCalcFollow );
153 … virtual sal_Bool ShouldBwdMoved( SwLayoutFrm *pNewUpper, sal_Bool bHead, sal_Bool &rReformat )=0;
172 void MoveSubTree( SwLayoutFrm* pParent, SwFrm* pSibling = 0 );
/AOO41X/main/sw/source/core/crsr/
H A Dtrvlcol.cxx39 SwLayoutFrm* GetCurrColumn( const SwLayoutFrm* pLayFrm ) in GetCurrColumn()
43 return (SwLayoutFrm*)pLayFrm; in GetCurrColumn()
47 SwLayoutFrm* GetNextColumn( const SwLayoutFrm* pLayFrm ) in GetNextColumn()
49 SwLayoutFrm* pActCol = GetCurrColumn( pLayFrm ); in GetNextColumn()
50 return pActCol ? (SwLayoutFrm*)pActCol->GetNext() : 0; in GetNextColumn()
54 SwLayoutFrm* GetPrevColumn( const SwLayoutFrm* pLayFrm ) in GetPrevColumn()
56 SwLayoutFrm* pActCol = GetCurrColumn( pLayFrm ); in GetPrevColumn()
57 return pActCol ? (SwLayoutFrm*)pActCol->GetPrev() : 0; in GetPrevColumn()
61 SwCntntFrm* GetColumnStt( const SwLayoutFrm* pColFrm ) in GetColumnStt()
67 SwCntntFrm* GetColumnEnd( const SwLayoutFrm* pColFrm ) in GetColumnEnd()
[all …]
/AOO41X/main/sw/source/core/objectpositioning/
H A Dtocntntanchoredobjectposition.cxx104 const SwLayoutFrm* _pUpperOfOrientFrm, in lcl_DoesVertPosFits()
107 SwLayoutFrm*& _orpLayoutFrmToGrow ) in lcl_DoesVertPosFits()
126 bVertPosFits = const_cast<SwLayoutFrm*>(_pUpperOfOrientFrm)-> in lcl_DoesVertPosFits()
129 _orpLayoutFrmToGrow = const_cast<SwLayoutFrm*>(_pUpperOfOrientFrm); in lcl_DoesVertPosFits()
136 const SwTwips nTwipsGrown = const_cast<SwLayoutFrm*>(_pUpperOfOrientFrm)-> in lcl_DoesVertPosFits()
141 _orpLayoutFrmToGrow = const_cast<SwLayoutFrm*>(_pUpperOfOrientFrm); in lcl_DoesVertPosFits()
258 const SwLayoutFrm& rPageAlignLayFrm = in CalcPosition()
417 const SwLayoutFrm& rVertEnvironLayFrm = in CalcPosition()
462 const SwLayoutFrm* pUpperOfOrientFrm = 0L; in CalcPosition()
597 const SwLayoutFrm& rVertEnvironLayFrm = in CalcPosition()
[all …]
H A Denvironmentofanchoredobject.cxx49 const SwLayoutFrm& SwEnvironmentOfAnchoredObject::GetHoriEnvironmentLayoutFrm( in GetHoriEnvironmentLayoutFrm()
73 ASSERT( pHoriEnvironmentLayFrm->ISA(SwLayoutFrm), in GetHoriEnvironmentLayoutFrm()
76 return static_cast<const SwLayoutFrm&>(*pHoriEnvironmentLayFrm); in GetHoriEnvironmentLayoutFrm()
85 const SwLayoutFrm& SwEnvironmentOfAnchoredObject::GetVertEnvironmentLayoutFrm( in GetVertEnvironmentLayoutFrm()
113 ASSERT( pVertEnvironmentLayFrm->ISA(SwLayoutFrm), in GetVertEnvironmentLayoutFrm()
116 return static_cast<const SwLayoutFrm&>(*pVertEnvironmentLayFrm); in GetVertEnvironmentLayoutFrm()
/AOO41X/main/sw/source/core/docnode/
H A Dnode2lay.cxx57 SwLayoutFrm* UpperFrm( SwFrm* &rpFrm, const SwNode &rNode );
284 SwLayoutFrm* SwNode2LayImpl::UpperFrm( SwFrm* &rpFrm, const SwNode &rNode ) in UpperFrm()
289 SwLayoutFrm* pUpper = rpFrm->GetUpper(); in UpperFrm()
307 static_cast<SwLayoutFrm*>(pFrm)->Lower() && in UpperFrm()
308 !static_cast<SwLayoutFrm*>(pFrm)->Lower()->IsFlowFrm() && in UpperFrm()
309 static_cast<SwLayoutFrm*>(pFrm)->Lower()->IsLayoutFrm() ) in UpperFrm()
311 pFrm = static_cast<SwLayoutFrm*>(pFrm)->Lower(); in UpperFrm()
316 : static_cast<SwLayoutFrm*>(pFrm)->Lower(); in UpperFrm()
319 return static_cast<SwLayoutFrm*>(pFrm); in UpperFrm()
333 pUpper = static_cast<SwLayoutFrm*>(pUpper->Lower()); in UpperFrm()
[all …]
H A Dndtbl1.cxx105 SwLayoutFrm *&prStart, SwLayoutFrm *&prEnd ) in lcl_GetStartEndCell()
559 SwLayoutFrm *pCell = pTab->FirstCell(); in lcl_CollectCells()
570 SwLayoutFrm *pTmp = pCell; in lcl_CollectCells()
585 SwLayoutFrm *pStart, *pEnd; in SetTabBorders()
833 SwLayoutFrm *pStart, *pEnd; in SetTabLineStyle()
908 SwLayoutFrm *pStart, *pEnd; in GetTabBorders()
1259 sal_uInt16 lcl_CalcCellFit( const SwLayoutFrm *pCell ) in lcl_CalcCellFit()
1301 const SwLayoutFrm *pCell, const SwLayoutFrm *pTab, in lcl_CalcSubColValues()
1361 const SwLayoutFrm *pStart, const SwLayoutFrm *pEnd, in lcl_CalcColValues()
1377 const SwLayoutFrm *pCell = pTab->FirstCell(); in lcl_CalcColValues()
[all …]
/AOO41X/main/sw/inc/
H A Dcshtyp.hxx31 class SwLayoutFrm;
41 typedef SwLayoutFrm * (*SwWhichPage)( const SwLayoutFrm * );
42 typedef SwCntntFrm * (*SwPosPage)( const SwLayoutFrm * );
65 typedef SwLayoutFrm * (*SwWhichColumn)( const SwLayoutFrm * );
66 typedef SwCntntFrm * (*SwPosColumn)( const SwLayoutFrm * );

1234