/aoo41x/main/sw/source/core/layout/ |
H A D | sortedobjsimpl.cxx | 89 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 D | anchoredobject.cxx | 302 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 D | flylay.cxx | 585 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 D | atrfrm.cxx | 1490 nAnchorId( rCpy.GetAnchorId() ), in SwFmtAnchor() 1519 nAnchorId = rAnchor.GetAnchorId(); in operator =() 1534 return ( nAnchorId == ((SwFmtAnchor&)rAttr).GetAnchorId() && in operator ==() 1571 switch (GetAnchorId()) in QueryValue() 1661 if ((FLY_AT_PAGE == GetAnchorId()) && pCntntAnchor) in PutValue() 2638 if ((FLY_AT_PAGE != pAnchor->GetAnchorId()) && pAnchor->GetCntntAnchor()) in IsLowerOf() 2657 if ((FLY_AT_PAGE == pAnchor->GetAnchorId()) || in IsLowerOf() 2741 switch( aAnchorAttr.GetAnchorId() ) in MakeFrms() 2879 switch( aAnchorAttr.GetAnchorId() ) in MakeFrms() 3090 const RndStdIds nNewAnchorType( _rNewAnchorFmt.GetAnchorId() ); in SwHandleAnchorNodeChg() [all …]
|
H A D | frmtool.cxx | 967 if ( FLY_AT_PAGE != rAnch.GetAnchorId() || in ~SwCntntNotify() 1030 if ( pAnchoredObj->GetFrmFmt().GetAnchor().GetAnchorId() in ~SwCntntNotify() 1053 const bool bFlyAtFly = rAnch.GetAnchorId() == FLY_AT_FLY; // LAYER_IMPL in AppendObjs() 1059 (rAnch.GetAnchorId() == FLY_AS_CHAR); in AppendObjs() 1062 (rAnch.GetAnchorId() == FLY_AT_PARA) || in AppendObjs() 1063 (rAnch.GetAnchorId() == FLY_AT_CHAR) || in AppendObjs() 1156 if (rAnch.GetAnchorId() != FLY_AT_PAGE) in lcl_InHeaderOrFooter() 1185 if ((rAnch.GetAnchorId() == FLY_AT_PAGE) || in AppendAllObjs() 1186 (rAnch.GetAnchorId() == FLY_AS_CHAR)) in AppendAllObjs() 2433 if (pObj->GetFrmFmt().GetAnchor().GetAnchorId() != FLY_AS_CHAR) in lcl_RemoveObjsFromPage() [all …]
|
H A D | flypos.cxx | 56 if (FLY_AT_PAGE == rAnchor.GetAnchorId()) in SwPosFlyFrm() 94 if (FLY_AT_PAGE == rAnchor.GetAnchorId()) in ~SwPosFlyFrm()
|
H A D | anchoreddrawobject.cxx | 347 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 D | objectformattertxtfrm.cxx | 132 !(_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()
|
/aoo41x/main/sw/source/core/frmedt/ |
H A D | fecopy.cxx | 148 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 D | fefly1.cxx | 132 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 …]
|
/aoo41x/main/sw/source/core/undo/ |
H A D | undraw.cxx | 134 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 D | undobj1.cxx | 196 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 D | unattr.cxx | 451 switch( rAnchor.GetAnchorId() ) in SaveFlyAnchor() 464 SwFmtAnchor aAnchor( rAnchor.GetAnchorId(), nCntnt ); in SaveFlyAnchor() 479 SwFmtAnchor aNewAnchor( rAnchor.GetAnchorId() ); in RestoreFlyAnchor() 480 if (FLY_AT_PAGE != rAnchor.GetAnchorId()) in RestoreFlyAnchor() 484 if ( (FLY_AT_FLY == rAnchor.GetAnchorId()) in RestoreFlyAnchor() 496 if ((FLY_AS_CHAR == rAnchor.GetAnchorId()) || in RestoreFlyAnchor() 497 (FLY_AT_CHAR == rAnchor.GetAnchorId())) in RestoreFlyAnchor() 540 if (FLY_AS_CHAR == rOldAnch.GetAnchorId()) in RestoreFlyAnchor() 604 if (FLY_AS_CHAR == aNewAnchor.GetAnchorId()) in RestoreFlyAnchor()
|
/aoo41x/main/sw/source/core/doc/ |
H A D | doclay.cxx | 415 ((FLY_AT_PARA == rNewAnchor.GetAnchorId()) || in CopyLayoutFmt() 648 RndStdIds eAnchorId = pAnchor ? pAnchor->GetAnchorId() in _MakeFlySection() 649 : pFmt->GetAnchor().GetAnchorId(); in _MakeFlySection() 653 ( FLY_AT_PAGE != pAnchor->GetAnchorId() && in _MakeFlySection() 655 ( FLY_AT_PAGE == pAnchor->GetAnchorId() && in _MakeFlySection() 669 if( eRequestId != aAnch.GetAnchorId() && in _MakeFlySection() 675 eAnchorId = aAnch.GetAnchorId(); in _MakeFlySection() 688 eAnchorId = pFmt->GetAnchor().GetAnchorId(); in _MakeFlySection() 938 … RndStdIds eAnchorId = pAnchor != NULL ? pAnchor->GetAnchorId() : pFmt->GetAnchor().GetAnchorId(); in InsertDrawObj() 967 eAnchorId = aAnch.GetAnchorId(); in InsertDrawObj() [all …]
|
H A D | docfly.cxx | 158 switch( rAnch.GetAnchorId() ) in lcl_FindAnchorLayPos() 221 const RndStdIds nOld = rOldAnch.GetAnchorId(); in SetFlyFrmAnchor() 224 RndStdIds nNew = aNewAnch.GetAnchorId(); in SetFlyFrmAnchor() 550 && ((SwFmtAnchor*)pItem)->GetAnchorId() != in SetFrmFmtToFly() 551 rFmt.GetAnchor().GetAnchorId() ) in SetFrmFmtToFly() 656 const RndStdIds eOldAnchorType = pContact->GetAnchorId(); in ChgAnchor() 905 if ( ((rAnchor.GetAnchorId() == FLY_AT_PARA) || in Chainable() 906 (rAnchor.GetAnchorId() == FLY_AT_CHAR)) && in Chainable() 927 if ( FLY_AT_PAGE == rSrcAnchor.GetAnchorId() ) in Chainable() 929 if ( (FLY_AT_PAGE == rDstAnchor.GetAnchorId()) || in Chainable()
|
H A D | docbm.cxx | 1515 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 D | docglbl.cxx | 369 ((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()
|
/aoo41x/main/sw/inc/ |
H A D | dcontact.hxx | 180 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()
|
/aoo41x/main/sw/source/core/text/ |
H A D | txtfly.cxx | 1159 if (FLY_AT_PAGE == rNewA.GetAnchorId()) in GetTop() 1208 if (FLY_AS_CHAR == rCurrA.GetAnchorId()) in GetTop() 1215 if (FLY_AT_PAGE == rNewA.GetAnchorId()) in GetTop() 1217 if (FLY_AT_PAGE == rCurrA.GetAnchorId()) in GetTop() 1226 else if (FLY_AT_FLY == rNewA.GetAnchorId()) in GetTop() 1228 else if( FLY_AT_FLY == rCurrA.GetAnchorId() ) in GetTop() 1270 ASSERT( FLY_AS_CHAR != rNewA.GetAnchorId(), in GetTop() 1272 if (FLY_AT_PAGE == rNewA.GetAnchorId()) in GetTop() 1332 if( pHeader || FLY_AT_FLY == rNewA.GetAnchorId() ) in GetTop() 2350 if ((FLY_AT_PARA == rAnchor.GetAnchorId()) || in _GetSurroundForTextWrap() [all …]
|
/aoo41x/main/sw/source/core/docnode/ |
H A D | ndcopy.cxx | 571 ((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() 1427 bool bAtCntnt = (pAnchor->GetAnchorId() == FLY_AT_PARA); in CopyFlyInFlyImpl() 1430 (pAnchor->GetAnchorId() == FLY_AT_FLY) || in CopyFlyInFlyImpl() 1431 (pAnchor->GetAnchorId() == FLY_AT_CHAR)) && in CopyFlyInFlyImpl() 1432 (( bCopyFlyAtFly && FLY_AT_FLY == pAnchor->GetAnchorId() ) in CopyFlyInFlyImpl() 1507 if ((aAnchor.GetAnchorId() == FLY_AT_PARA) || in CopyFlyInFlyImpl() 1508 (aAnchor.GetAnchorId() == FLY_AT_CHAR) ) in CopyFlyInFlyImpl() [all …]
|
H A D | swbaslnk.cxx | 464 ((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()
|
/aoo41x/main/sw/source/core/draw/ |
H A D | dcontact.cxx | 1615 … if ( !pOldAnchorFmt || ( pOldAnchorFmt->GetAnchorId() != pNewAnchorFmt->GetAnchorId() ) ) in Modify() 1919 switch ( pAnch->GetAnchorId() ) in ConnectToLayout() 1950 if ( pAnch->GetAnchorId() == FLY_AS_CHAR ) in ConnectToLayout() 1962 if ( pAnch->GetAnchorId() == FLY_AT_FLY ) in ConnectToLayout() 2013 if ( FLY_AT_FLY == pAnch->GetAnchorId() && !pFrm->IsFlyFrm() ) in ConnectToLayout() 2022 if ((pAnch->GetAnchorId() == FLY_AS_CHAR) && in ConnectToLayout() 2040 if ( pAnch->GetAnchorId() == FLY_AS_CHAR ) in ConnectToLayout() 2051 if ( pAnch->GetAnchorId() == FLY_AS_CHAR ) in ConnectToLayout()
|
H A D | dview.cxx | 244 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()
|
/aoo41x/main/sw/source/filter/basflt/ |
H A D | shellio.cxx | 236 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()
|
/aoo41x/main/sw/source/core/fields/ |
H A D | expfld.cxx | 183 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()
|