Home
last modified time | relevance | path

Searched refs:GetAnchorId (Results 1 – 25 of 101) sorted by relevance

12345

/trunk/main/sw/source/core/layout/
H A Dsortedobjsimpl.cxx89 if ((pAnchorListed->GetAnchorId() == FLY_AT_PAGE) && in operator ()()
90 (pAnchorNew ->GetAnchorId() != FLY_AT_PAGE)) in operator ()()
95 (pAnchorNew ->GetAnchorId() == FLY_AT_PAGE)) in operator ()()
100 (pAnchorNew ->GetAnchorId() == FLY_AT_PAGE)) in operator ()()
107 if ((pAnchorListed->GetAnchorId() == FLY_AT_FLY) && in operator ()()
108 (pAnchorNew ->GetAnchorId() != FLY_AT_FLY)) in operator ()()
112 else if ((pAnchorListed->GetAnchorId() != FLY_AT_FLY) && in operator ()()
113 (pAnchorNew ->GetAnchorId() == FLY_AT_FLY)) in operator ()()
118 (pAnchorNew ->GetAnchorId() == FLY_AT_FLY)) in operator ()()
137 if ((pAnchorListed->GetAnchorId() != FLY_AT_PARA) && in operator ()()
[all …]
H A Danchoredobject.cxx302 if ( (rAnch.GetAnchorId() == FLY_AT_CHAR) && in CheckCharRectAndTopOfLine()
536 if ( ((rAnchor.GetAnchorId() == FLY_AT_CHAR) || in ConsiderObjWrapInfluenceOnObjPos()
537 (rAnchor.GetAnchorId() == FLY_AT_PARA)) && in ConsiderObjWrapInfluenceOnObjPos()
788 if ( GetFrmFmt().GetAnchor().GetAnchorId() != FLY_AS_CHAR ) in UpdateObjInSortedList()
855 if ((rAnch.GetAnchorId() == FLY_AT_CHAR) || in FindAnchorCharFrm()
856 (rAnch.GetAnchorId() == FLY_AS_CHAR)) in FindAnchorCharFrm()
H A Datrfrm.cxx1495 nAnchorId( rCpy.GetAnchorId() ), in SwFmtAnchor()
1524 nAnchorId = rAnchor.GetAnchorId(); in operator =()
1539 return ( nAnchorId == ((SwFmtAnchor&)rAttr).GetAnchorId() && in operator ==()
1576 switch (GetAnchorId()) in QueryValue()
1666 if ((FLY_AT_PAGE == GetAnchorId()) && pCntntAnchor) in PutValue()
2707 if ((FLY_AT_PAGE != pAnchor->GetAnchorId()) && pAnchor->GetCntntAnchor()) in IsLowerOf()
2726 if ((FLY_AT_PAGE == pAnchor->GetAnchorId()) || in IsLowerOf()
2810 switch( aAnchorAttr.GetAnchorId() ) in MakeFrms()
2948 switch( aAnchorAttr.GetAnchorId() ) in MakeFrms()
3166 const RndStdIds nNewAnchorType( _rNewAnchorFmt.GetAnchorId() ); in SwHandleAnchorNodeChg()
[all …]
H A Dflylay.cxx585 ASSERT( pAnch->GetAnchorId() == in Modify()
586 GetFmt()->GetAnchor().GetAnchorId(), in Modify()
596 if ( FLY_AT_PAGE == pAnch->GetAnchorId() ) in Modify()
952 if ( FLY_AS_CHAR == _rNewObj.GetFrmFmt().GetAnchor().GetAnchorId() ) in AppendDrawObjToPage()
997 _rToRemoveObj.GetFrmFmt().GetAnchor().GetAnchorId()) in RemoveDrawObjFromPage()
1331 if ( FLY_AS_CHAR == rAnch.GetAnchorId() ) in CalcClipRect()
H A Dfrmtool.cxx983 if ( FLY_AT_PAGE != rAnch.GetAnchorId() || in ~SwCntntNotify()
1046 if ( pAnchoredObj->GetFrmFmt().GetAnchor().GetAnchorId() in ~SwCntntNotify()
1069 const bool bFlyAtFly = rAnch.GetAnchorId() == FLY_AT_FLY; // LAYER_IMPL in AppendObjs()
1075 (rAnch.GetAnchorId() == FLY_AS_CHAR); in AppendObjs()
1078 (rAnch.GetAnchorId() == FLY_AT_PARA) || in AppendObjs()
1079 (rAnch.GetAnchorId() == FLY_AT_CHAR) || in AppendObjs()
1172 if (rAnch.GetAnchorId() != FLY_AT_PAGE) in lcl_InHeaderOrFooter()
1201 if ((rAnch.GetAnchorId() == FLY_AT_PAGE) || in AppendAllObjs()
1202 (rAnch.GetAnchorId() == FLY_AS_CHAR)) in AppendAllObjs()
2449 if (pObj->GetFrmFmt().GetAnchor().GetAnchorId() != FLY_AS_CHAR) in lcl_RemoveObjsFromPage()
[all …]
H A Dflypos.cxx56 if (FLY_AT_PAGE == rAnchor.GetAnchorId()) in SwPosFlyFrm()
94 if (FLY_AT_PAGE == rAnchor.GetAnchorId()) in ~SwPosFlyFrm()
H A Danchoreddrawobject.cxx347 switch ( pDrawContact->GetAnchorId() ) in MakeObjPos()
595 if ( GetFrmFmt().GetAnchor().GetAnchorId() == FLY_AS_CHAR ) in _InvalidatePage()
637 (GetFrmFmt().GetAnchor().GetAnchorId() == FLY_AS_CHAR) ) in InvalidateObjPos()
H A Dobjectformattertxtfrm.cxx132 !(_rAnchoredObj.GetFrmFmt().GetAnchor().GetAnchorId() == FLY_AS_CHAR) ) in DoFormatObj()
652 ((_rAnchoredObj.GetFrmFmt().GetAnchor().GetAnchorId() == FLY_AT_CHAR) || in CheckMovedFwdCondition()
653 (_rAnchoredObj.GetFrmFmt().GetAnchor().GetAnchorId() == FLY_AT_PARA))) in CheckMovedFwdCondition()
/trunk/main/sw/source/core/frmedt/
H A Dfecopy.cxx148 if ((FLY_AT_PARA == aAnchor.GetAnchorId()) || in Copy()
149 (FLY_AT_CHAR == aAnchor.GetAnchorId()) || in Copy()
150 (FLY_AT_FLY == aAnchor.GetAnchorId()) || in Copy()
151 (FLY_AS_CHAR == aAnchor.GetAnchorId())) in Copy()
154 if ( FLY_AS_CHAR == aAnchor.GetAnchorId() ) in Copy()
174 if ( FLY_AS_CHAR == aAnchor.GetAnchorId() ) in Copy()
273 else if ( FLY_AT_FLY == rAnchor.GetAnchorId() ) in lcl_SetAnchor()
498 if ((FLY_AT_PARA == aAnchor.GetAnchorId()) || in Copy()
499 (FLY_AT_CHAR == aAnchor.GetAnchorId()) || in Copy()
501 (FLY_AS_CHAR == aAnchor.GetAnchorId())) in Copy()
[all …]
H A Dfefly1.cxx132 RndStdIds nNew = aNewAnch.GetAnchorId(); in lcl_FindAnchorPos()
228 const RndStdIds nOld = rOldAnch.GetAnchorId(); in lcl_ChkAndSetNewAnchor()
230 RndStdIds nNew = ((SwFmtAnchor&)rSet.Get( RES_ANCHOR )).GetAnchorId(); in lcl_ChkAndSetNewAnchor()
351 if( pFmt && FLY_AT_FLY == pFmt->GetAnchor().GetAnchorId() ) in IsFlyInFly()
458 const RndStdIds nAnchorId = rFmt.GetAnchor().GetAnchorId(); in FindAnchorPos()
692 RndStdIds eRndId = rAnch.GetAnchorId(); in NewFlyFrm()
860 switch( pAnchor->GetAnchorId()) in Insert()
1005 if (FLY_AT_PAGE == pFmt->GetAnchor().GetAnchorId()) in GetPageObjs()
1039 if ((FLY_AT_PAGE != aNewAnchor.GetAnchorId()) || in SetPageObjsNewPage()
1113 RndStdIds eType = pAnchor->GetAnchorId(); in GetFlyFrmAttr()
[all …]
/trunk/main/sw/source/core/undo/
H A Dundraw.cxx134 if ((FLY_AT_PARA == rAnchor.GetAnchorId()) || in lcl_SaveAnchor()
135 (FLY_AT_CHAR == rAnchor.GetAnchorId()) || in lcl_SaveAnchor()
136 (FLY_AT_FLY == rAnchor.GetAnchorId()) || in lcl_SaveAnchor()
137 (FLY_AS_CHAR == rAnchor.GetAnchorId())) in lcl_SaveAnchor()
142 if (FLY_AS_CHAR == rAnchor.GetAnchorId()) in lcl_SaveAnchor()
172 if ((FLY_AT_PARA == rAnchor.GetAnchorId()) || in lcl_RestoreAnchor()
173 (FLY_AT_CHAR == rAnchor.GetAnchorId()) || in lcl_RestoreAnchor()
174 (FLY_AT_FLY == rAnchor.GetAnchorId()) || in lcl_RestoreAnchor()
175 (FLY_AS_CHAR == rAnchor.GetAnchorId())) in lcl_RestoreAnchor()
183 SwFmtAnchor aTmp( rAnchor.GetAnchorId() ); in lcl_RestoreAnchor()
[all …]
H A Dundobj1.cxx196 nRndId = static_cast<sal_uInt16>(rAnchor.GetAnchorId()); in DelFly()
244 nRndId = static_cast<sal_uInt16>(rAnchor.GetAnchorId()); in SwUndoInsLayFmt()
313 if ((FLY_AT_PARA == aAnchor.GetAnchorId()) || in RepeatImpl()
314 (FLY_AT_CHAR == aAnchor.GetAnchorId()) || in RepeatImpl()
315 (FLY_AS_CHAR == aAnchor.GetAnchorId())) in RepeatImpl()
318 if (FLY_AT_PARA == aAnchor.GetAnchorId()) in RepeatImpl()
324 else if( FLY_AT_FLY == aAnchor.GetAnchorId() ) in RepeatImpl()
338 else if (FLY_AT_PAGE == aAnchor.GetAnchorId()) in RepeatImpl()
511 RndStdIds nAnchorTyp = rAnchor.GetAnchorId(); in GetAnchor()
586 if (FLY_AS_CHAR == rOldAnch.GetAnchorId()) in UndoImpl()
[all …]
H A Dunattr.cxx445 switch( rAnchor.GetAnchorId() ) in SaveFlyAnchor()
458 SwFmtAnchor aAnchor( rAnchor.GetAnchorId(), nCntnt ); in SaveFlyAnchor()
473 SwFmtAnchor aNewAnchor( rAnchor.GetAnchorId() ); in RestoreFlyAnchor()
474 if (FLY_AT_PAGE != rAnchor.GetAnchorId()) in RestoreFlyAnchor()
478 if ( (FLY_AT_FLY == rAnchor.GetAnchorId()) in RestoreFlyAnchor()
490 if ((FLY_AS_CHAR == rAnchor.GetAnchorId()) || in RestoreFlyAnchor()
491 (FLY_AT_CHAR == rAnchor.GetAnchorId())) in RestoreFlyAnchor()
534 if (FLY_AS_CHAR == rOldAnch.GetAnchorId()) in RestoreFlyAnchor()
598 if (FLY_AS_CHAR == aNewAnchor.GetAnchorId()) in RestoreFlyAnchor()
/trunk/main/sw/source/core/doc/
H A Ddoclay.cxx407 ((FLY_AT_PARA == rNewAnchor.GetAnchorId()) || in CopyLayoutFmt()
640 RndStdIds eAnchorId = pAnchor ? pAnchor->GetAnchorId() in _MakeFlySection()
641 : pFmt->GetAnchor().GetAnchorId(); in _MakeFlySection()
645 ( FLY_AT_PAGE != pAnchor->GetAnchorId() && in _MakeFlySection()
647 ( FLY_AT_PAGE == pAnchor->GetAnchorId() && in _MakeFlySection()
661 if( eRequestId != aAnch.GetAnchorId() && in _MakeFlySection()
667 eAnchorId = aAnch.GetAnchorId(); in _MakeFlySection()
680 eAnchorId = pFmt->GetAnchor().GetAnchorId(); in _MakeFlySection()
930 … RndStdIds eAnchorId = pAnchor != NULL ? pAnchor->GetAnchorId() : pFmt->GetAnchor().GetAnchorId(); in InsertDrawObj()
959 eAnchorId = aAnch.GetAnchorId(); in InsertDrawObj()
[all …]
H A Ddocfly.cxx161 switch( rAnch.GetAnchorId() ) in lcl_FindAnchorLayPos()
224 const RndStdIds nOld = rOldAnch.GetAnchorId(); in SetFlyFrmAnchor()
227 RndStdIds nNew = aNewAnch.GetAnchorId(); in SetFlyFrmAnchor()
608 && ((SwFmtAnchor*)pItem)->GetAnchorId() != in SetFrmFmtToFly()
609 rFmt.GetAnchor().GetAnchorId() ) in SetFrmFmtToFly()
714 const RndStdIds eOldAnchorType = pContact->GetAnchorId(); in ChgAnchor()
963 if ( ((rAnchor.GetAnchorId() == FLY_AT_PARA) || in Chainable()
964 (rAnchor.GetAnchorId() == FLY_AT_CHAR)) && in Chainable()
985 if ( FLY_AT_PAGE == rSrcAnchor.GetAnchorId() ) in Chainable()
987 if ( (FLY_AT_PAGE == rDstAnchor.GetAnchorId()) || in Chainable()
H A Ddocbm.cxx1515 FLY_AT_PARA == rAnchor.GetAnchorId() ) || in _SaveCntntIdx()
1516 ( FLY_AT_CHAR == rAnchor.GetAnchorId() ) ) ) in _SaveCntntIdx()
1523 if ( FLY_AT_CHAR == rAnchor.GetAnchorId() ) in _SaveCntntIdx()
1560 ( FLY_AT_PARA == rAnchor.GetAnchorId() || in _SaveCntntIdx()
1561 FLY_AT_CHAR == rAnchor.GetAnchorId() ) ) in _SaveCntntIdx()
1565 if ( FLY_AT_CHAR == rAnchor.GetAnchorId() ) in _SaveCntntIdx()
1681 if ( FLY_AT_CHAR == rFlyAnchor.GetAnchorId() ) in _RestoreCntntIdx()
1849 if ( FLY_AT_CHAR == rFlyAnchor.GetAnchorId() ) in _RestoreCntntIdx()
H A Ddocglbl.cxx369 ((FLY_AT_PARA == pAnchor->GetAnchorId()) || in SplitDoc()
370 (FLY_AT_CHAR == pAnchor->GetAnchorId())) && in SplitDoc()
720 ((FLY_AT_PARA == pAnchor->GetAnchorId()) || in SplitDoc()
721 (FLY_AT_CHAR == pAnchor->GetAnchorId())) && in SplitDoc()
/trunk/main/sw/inc/
H A Ddcontact.hxx180 RndStdIds GetAnchorId() const { return GetAnchorFmt().GetAnchorId(); } in GetAnchorId() function in SwContact
181 bool ObjAnchoredAtPage() const { return GetAnchorId() == FLY_AT_PAGE; } in ObjAnchoredAtPage()
182 bool ObjAnchoredAtFly() const { return GetAnchorId() == FLY_AT_FLY; } in ObjAnchoredAtFly()
183 bool ObjAnchoredAtPara() const { return GetAnchorId() == FLY_AT_PARA; } in ObjAnchoredAtPara()
184 bool ObjAnchoredAtChar() const { return GetAnchorId() == FLY_AT_CHAR; } in ObjAnchoredAtChar()
185 bool ObjAnchoredAsChar() const { return GetAnchorId() == FLY_AS_CHAR; } in ObjAnchoredAsChar()
/trunk/main/sw/source/core/text/
H A Dtxtfly.cxx1165 if (FLY_AT_PAGE == rNewA.GetAnchorId()) in GetTop()
1214 if (FLY_AS_CHAR == rCurrA.GetAnchorId()) in GetTop()
1221 if (FLY_AT_PAGE == rNewA.GetAnchorId()) in GetTop()
1223 if (FLY_AT_PAGE == rCurrA.GetAnchorId()) in GetTop()
1232 else if (FLY_AT_FLY == rNewA.GetAnchorId()) in GetTop()
1234 else if( FLY_AT_FLY == rCurrA.GetAnchorId() ) in GetTop()
1276 ASSERT( FLY_AS_CHAR != rNewA.GetAnchorId(), in GetTop()
1278 if (FLY_AT_PAGE == rNewA.GetAnchorId()) in GetTop()
1338 if( pHeader || FLY_AT_FLY == rNewA.GetAnchorId() ) in GetTop()
2356 if ((FLY_AT_PARA == rAnchor.GetAnchorId()) || in _GetSurroundForTextWrap()
[all …]
/trunk/main/sw/source/core/docnode/
H A Dndcopy.cxx571 ((FLY_AS_CHAR == pAnchor->GetAnchorId()) || in lcl_ChkFlyFly()
572 (FLY_AT_CHAR == pAnchor->GetAnchorId()) || in lcl_ChkFlyFly()
573 (FLY_AT_FLY == pAnchor->GetAnchorId()) || in lcl_ChkFlyFly()
574 (FLY_AT_PARA == pAnchor->GetAnchorId())) && in lcl_ChkFlyFly()
1430 bool bAtCntnt = (pAnchor->GetAnchorId() == FLY_AT_PARA); in CopyFlyInFlyImpl()
1433 (pAnchor->GetAnchorId() == FLY_AT_FLY) || in CopyFlyInFlyImpl()
1434 (pAnchor->GetAnchorId() == FLY_AT_CHAR)) && in CopyFlyInFlyImpl()
1435 (( bCopyFlyAtFly && FLY_AT_FLY == pAnchor->GetAnchorId() ) in CopyFlyInFlyImpl()
1510 if ((aAnchor.GetAnchorId() == FLY_AT_PARA) || in CopyFlyInFlyImpl()
1511 (aAnchor.GetAnchorId() == FLY_AT_CHAR) ) in CopyFlyInFlyImpl()
[all …]
H A Dswbaslnk.cxx464 ((FLY_AS_CHAR == rAnchor.GetAnchorId()) || in GetAnchor()
465 (FLY_AT_CHAR == rAnchor.GetAnchorId()) || in GetAnchor()
466 (FLY_AT_FLY == rAnchor.GetAnchorId()) || in GetAnchor()
467 (FLY_AT_PARA == rAnchor.GetAnchorId()))) in GetAnchor()
/trunk/main/sw/source/core/draw/
H A Ddcontact.cxx1613 … if ( !pOldAnchorFmt || ( pOldAnchorFmt->GetAnchorId() != pNewAnchorFmt->GetAnchorId() ) ) in Modify()
1917 switch ( pAnch->GetAnchorId() ) in ConnectToLayout()
1948 if ( pAnch->GetAnchorId() == FLY_AS_CHAR ) in ConnectToLayout()
1960 if ( pAnch->GetAnchorId() == FLY_AT_FLY ) in ConnectToLayout()
2011 if ( FLY_AT_FLY == pAnch->GetAnchorId() && !pFrm->IsFlyFrm() ) in ConnectToLayout()
2020 if ((pAnch->GetAnchorId() == FLY_AS_CHAR) && in ConnectToLayout()
2038 if ( pAnch->GetAnchorId() == FLY_AS_CHAR ) in ConnectToLayout()
2049 if ( pAnch->GetAnchorId() == FLY_AS_CHAR ) in ConnectToLayout()
H A Ddview.cxx244 if (FLY_AS_CHAR == rAnchor.GetAnchorId()) in AddCustomHdl()
253 if ( FLY_AT_CHAR == rAnchor.GetAnchorId() ) in AddCustomHdl()
986 && FLY_AS_CHAR == pFly->GetFmt()->GetAnchor().GetAnchorId() in CheckPossibilities()
1011 else if ((FLY_AS_CHAR == pFrmFmt->GetAnchor().GetAnchorId()) && in CheckPossibilities()
/trunk/main/sw/source/filter/basflt/
H A Dshellio.cxx236 if ( (FLY_AT_PAGE == rAnchor.GetAnchorId()) in Read()
238 && ( ( (FLY_AT_PARA == rAnchor.GetAnchorId()) in Read()
246 || ( (FLY_AT_CHAR == rAnchor.GetAnchorId()) in Read()
257 (FLY_AT_PARA == rAnchor.GetAnchorId()) && in Read()
285 if (FLY_AT_PAGE == rAnchor.GetAnchorId()) in Read()
/trunk/main/sw/source/core/fields/
H A Dexpfld.cxx183 if( FLY_AT_FLY == rAnchor.GetAnchorId() ) in GetBodyTxtNode()
190 else if ((FLY_AT_PARA == rAnchor.GetAnchorId()) || in GetBodyTxtNode()
191 (FLY_AT_CHAR == rAnchor.GetAnchorId()) || in GetBodyTxtNode()
192 (FLY_AS_CHAR == rAnchor.GetAnchorId())) in GetBodyTxtNode()
197 if ( FLY_AT_PARA == rAnchor.GetAnchorId() ) in GetBodyTxtNode()

Completed in 308 milliseconds

12345