/aoo41x/main/sw/source/core/doc/ |
H A D | doclay.cxx | 632 const SwFmtAnchor* pAnchor = 0; in _MakeFlySection() local 648 RndStdIds eAnchorId = pAnchor ? pAnchor->GetAnchorId() in _MakeFlySection() 652 if ( !pAnchor || in _MakeFlySection() 661 if (pAnchor && (FLY_AT_FLY == pAnchor->GetAnchorId())) in _MakeFlySection() 678 ( !pAnchor || in _MakeFlySection() 934 const SwFmtAnchor* pAnchor = 0; in InsertDrawObj() local 938 … RndStdIds eAnchorId = pAnchor != NULL ? pAnchor->GetAnchorId() : pFmt->GetAnchor().GetAnchorId(); in InsertDrawObj() 942 if ( pAnchor == NULL ) in InsertDrawObj() 949 pAnchor->GetCntntAnchor() ? &pAnchor->GetCntntAnchor()->nNode : &rRg.GetPoint()->nNode; in InsertDrawObj() 961 else if( pAnchor == NULL in InsertDrawObj() [all …]
|
H A D | docglbl.cxx | 365 const SwFmtAnchor* pAnchor = &pFly->GetAnchor(); in SplitDoc() local 367 pAnchor->GetCntntAnchor(); in SplitDoc() 369 ((FLY_AT_PARA == pAnchor->GetAnchorId()) || in SplitDoc() 370 (FLY_AT_CHAR == pAnchor->GetAnchorId())) && in SplitDoc() 716 const SwFmtAnchor* pAnchor = &pFly->GetAnchor(); in SplitDoc() local 718 pAnchor->GetCntntAnchor(); in SplitDoc() 720 ((FLY_AT_PARA == pAnchor->GetAnchorId()) || in SplitDoc() 721 (FLY_AT_CHAR == pAnchor->GetAnchorId())) && in SplitDoc()
|
H A D | docedt.cxx | 232 SwFmtAnchor const*const pAnchor = &pFmt->GetAnchor(); in _SaveFlyInRange() local 233 SwPosition const*const pAPos = pAnchor->GetCntntAnchor(); in _SaveFlyInRange() 235 ((FLY_AT_PARA == pAnchor->GetAnchorId()) || in _SaveFlyInRange() 236 (FLY_AT_CHAR == pAnchor->GetAnchorId())) && in _SaveFlyInRange() 253 const SwFmtAnchor* pAnchor; in _SaveFlyInRange() local 272 pAnchor = &pFmt->GetAnchor(); in _SaveFlyInRange() 273 const SwPosition* pAPos = pAnchor->GetCntntAnchor(); in _SaveFlyInRange() 275 ((FLY_AT_PARA == pAnchor->GetAnchorId()) || in _SaveFlyInRange() 276 (FLY_AT_CHAR == pAnchor->GetAnchorId())) && in _SaveFlyInRange() 290 SwFmtAnchor aAnchor( *pAnchor ); in _SaveFlyInRange() [all …]
|
/aoo41x/main/sw/source/core/view/ |
H A D | vdraw.cxx | 336 const SwFrm *pAnchor = ((SwDrawContact*)pCont)->GetAnchorFrm(); in NotifySizeChg() local 337 if ( !pAnchor || pAnchor->IsInFly() || !pAnchor->IsValid() || in NotifySizeChg() 338 !pAnchor->GetUpper() || !pAnchor->FindPageFrm() || in NotifySizeChg() 345 if ( pAnchor->FindFooterOrHeader() ) in NotifySizeChg()
|
/aoo41x/main/sw/source/core/undo/ |
H A D | undobj1.cxx | 664 const SwFmtAnchor* pAnchor = (SwFmtAnchor*)pItem; in PutAttr() local 665 switch( nOldAnchorTyp = static_cast<sal_uInt16>(pAnchor->GetAnchorId()) ) in PutAttr() 669 nOldCntnt = pAnchor->GetCntntAnchor()->nContent.GetIndex(); in PutAttr() 672 nOldNode = pAnchor->GetCntntAnchor()->nNode.GetIndex(); in PutAttr() 676 nOldCntnt = pAnchor->GetPageNum(); in PutAttr() 679 pAnchor = (SwFmtAnchor*)&pFrmFmt->GetAnchor(); in PutAttr() 680 switch( nNewAnchorTyp = static_cast<sal_uInt16>(pAnchor->GetAnchorId()) ) in PutAttr() 684 nNewCntnt = pAnchor->GetCntntAnchor()->nContent.GetIndex(); in PutAttr() 687 nNewNode = pAnchor->GetCntntAnchor()->nNode.GetIndex(); in PutAttr() 691 nNewCntnt = pAnchor->GetPageNum(); in PutAttr()
|
H A D | untblk.cxx | 66 SwFmtAnchor const*const pAnchor = &pFmt->GetAnchor(); in SwUndoInserts() local 67 const SwPosition* pAPos = pAnchor->GetCntntAnchor(); in SwUndoInserts() 69 (pAnchor->GetAnchorId() == FLY_AT_PARA) && in SwUndoInserts() 120 SwFmtAnchor const*const pAnchor = &pFmt->GetAnchor(); in SetInsertRange() local 121 SwPosition const*const pAPos = pAnchor->GetCntntAnchor(); in SetInsertRange() 123 (pAnchor->GetAnchorId() == FLY_AT_PARA) && in SetInsertRange()
|
H A D | undel.cxx | 72 const SwFmtAnchor* pAnchor; in lcl_MakeAutoFrms() local 76 pAnchor = &pFmt->GetAnchor(); in lcl_MakeAutoFrms() 77 if (pAnchor->GetAnchorId() == FLY_AT_CHAR) in lcl_MakeAutoFrms() 79 const SwPosition* pAPos = pAnchor->GetCntntAnchor(); in lcl_MakeAutoFrms() 638 const SwFmtAnchor* pAnchor; in lcl_ReAnchorAtCntntFlyFrames() local 643 pAnchor = &pFmt->GetAnchor(); in lcl_ReAnchorAtCntntFlyFrames() 644 if (pAnchor->GetAnchorId() == FLY_AT_PARA) in lcl_ReAnchorAtCntntFlyFrames() 646 pAPos = pAnchor->GetCntntAnchor(); in lcl_ReAnchorAtCntntFlyFrames() 649 SwFmtAnchor aAnch( *pAnchor ); in lcl_ReAnchorAtCntntFlyFrames()
|
H A D | undobj.cxx | 644 const SwFmtAnchor* pAnchor; in DelCntntIndex() local 651 pAnchor = &pFmt->GetAnchor(); in DelCntntIndex() 652 switch( pAnchor->GetAnchorId() ) in DelCntntIndex() 655 if( 0 != (pAPos = pAnchor->GetCntntAnchor() ) && in DelCntntIndex() 675 pAPos = pAnchor->GetCntntAnchor(); in DelCntntIndex() 704 SwFmtAnchor aAnch( *pAnchor ); in DelCntntIndex() 723 if( 0 != (pAPos = pAnchor->GetCntntAnchor() ) && in DelCntntIndex() 744 SwFmtAnchor aAnch( *pAnchor ); in DelCntntIndex() 754 if( 0 != (pAPos = pAnchor->GetCntntAnchor() ) && in DelCntntIndex()
|
/aoo41x/main/svx/source/sdr/properties/ |
H A D | attributeproperties.cxx | 352 SfxStyleSheetBase* pAnchor = 0L; in SetModel() local 356 pAnchor = pNewPool->Find(pSheet->GetName(), pSheet->GetFamily()); in SetModel() 358 if(!pAnchor) in SetModel() 401 if(pAnchor && pLastSheet) in SetModel() 403 pLastSheet->SetParent(pAnchor->GetName()); in SetModel() 408 if(!pForThisObject && pAnchor) in SetModel() 410 pForThisObject = pAnchor; in SetModel()
|
/aoo41x/main/sw/source/core/frmedt/ |
H A D | fefly1.cxx | 859 SwFmtAnchor* pAnchor = (SwFmtAnchor*)pItem; in Insert() local 860 switch( pAnchor->GetAnchorId()) in Insert() 865 if( !pAnchor->GetCntntAnchor() ) in Insert() 871 if( !pAnchor->GetCntntAnchor() ) in Insert() 878 if( !pAnchor->GetPageNum() ) in Insert() 1112 SwFmtAnchor* pAnchor = (SwFmtAnchor*)pItem; in GetFlyFrmAttr() local 1113 RndStdIds eType = pAnchor->GetAnchorId(); in GetFlyFrmAttr() 1470 const SwFrm* pAnchor; in RequestObjectResize() local 1477 pAnchor->IsTxtFrm() && in RequestObjectResize() 1478 !pAnchor->GetNext() && !pAnchor->GetPrev() && in RequestObjectResize() [all …]
|
H A D | fecopy.cxx | 1388 const SwFrm* pAnchor(0); in Paste() local 1395 pAnchor = pFlyFrm->GetAnchorFrm(); in Paste() 1397 if( pAnchor->FindFooterOrHeader() ) in Paste() 1434 if( pAnchor->IsTxtFrm() && ((SwTxtFrm*)pAnchor)->IsFollow() ) in Paste() 1436 const SwTxtFrm* pTmp = (SwTxtFrm*)pAnchor; in Paste() 1441 pAnchor = pTmp; in Paste() 1448 Point aNewAnchor = pAnchor->GetFrmAnchorPos( ::HasWrap( pOldObj ) ); in Paste()
|
/aoo41x/main/sw/source/ui/docvw/ |
H A D | AnchorOverlayObject.cxx | 277 /*static*/ void AnchorOverlayObject::DestroyAnchorOverlayObject( AnchorOverlayObject* pAnchor ) in DestroyAnchorOverlayObject() argument 279 if ( pAnchor ) in DestroyAnchorOverlayObject() 281 if ( pAnchor->getOverlayManager() ) in DestroyAnchorOverlayObject() 284 pAnchor->getOverlayManager()->remove(*pAnchor); in DestroyAnchorOverlayObject() 286 delete pAnchor; in DestroyAnchorOverlayObject()
|
/aoo41x/main/sw/source/core/docnode/ |
H A D | ndcopy.cxx | 568 SwFmtAnchor const*const pAnchor = &pFmt->GetAnchor(); in lcl_ChkFlyFly() local 569 SwPosition const*const pAPos = pAnchor->GetCntntAnchor(); in lcl_ChkFlyFly() 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() 1425 SwFmtAnchor const*const pAnchor = &pFmt->GetAnchor(); in CopyFlyInFlyImpl() local 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() [all …]
|
H A D | node.cxx | 597 const SwFmtAnchor* pAnchor = &pFmt->GetAnchor(); in FindPageDesc() local 598 if ((FLY_AT_PAGE != pAnchor->GetAnchorId()) && in FindPageDesc() 599 pAnchor->GetCntntAnchor() ) in FindPageDesc() 601 pNd = &pAnchor->GetCntntAnchor()->nNode.GetNode(); in FindPageDesc() 619 pAnchor = &pFrmFmt->GetAnchor(); in FindPageDesc() 620 if ((FLY_AT_PAGE == pAnchor->GetAnchorId()) || in FindPageDesc() 621 !pAnchor->GetCntntAnchor() ) in FindPageDesc() 627 pFlyNd = pAnchor->GetCntntAnchor()->nNode. in FindPageDesc()
|
/aoo41x/main/sw/source/core/inc/ |
H A D | flyfrms.hxx | 67 SwFlyFreeFrm( SwFlyFrmFmt*, SwFrm*, SwFrm *pAnchor ); 129 SwFlyLayFrm( SwFlyFrmFmt*, SwFrm*, SwFrm *pAnchor ); 158 SwFlyAtCntFrm( SwFlyFrmFmt*, SwFrm*, SwFrm *pAnchor ); 196 SwFlyInCntFrm( SwFlyFrmFmt*, SwFrm*, SwFrm *pAnchor );
|
H A D | mvsave.hxx | 162 const SwFmtAnchor* pAnchor; member in _ZSortFly 170 pFmt = rCpy.pFmt, pAnchor = rCpy.pAnchor, nOrdNum = rCpy.nOrdNum; in operator =() 179 const SwFmtAnchor* GetAnchor() const { return pAnchor; } in GetAnchor()
|
/aoo41x/main/sc/source/filter/xcl97/ |
H A D | xcl97esc.cxx | 175 XclExpDffAnchorBase* pAnchor = mrObjMgr.CreateDffAnchor(); in CreateDffAnchor() local 177 pAnchor->SetSdrObject( rSdrObj ); in CreateDffAnchor() 178 return pAnchor; in CreateDffAnchor() 294 XclExpDffAnchorBase* pAnchor = mrObjMgr.CreateDffAnchor(); in StartShape() local 295 pAnchor->SetFlags( *pObj ); in StartShape() 296 pCurrAppData->SetClientAnchor( pAnchor ); in StartShape()
|
/aoo41x/main/sdext/source/pdfimport/tree/ |
H A D | writertreevisiting.cxx | 118 Element* pAnchor = rElem.Parent; in fillFrameProps() local 119 while( pAnchor && in fillFrameProps() 120 ! dynamic_cast<ParagraphElement*>(pAnchor) && in fillFrameProps() 121 ! dynamic_cast<PageElement*>(pAnchor) ) in fillFrameProps() 123 pAnchor = pAnchor->Parent; in fillFrameProps() 125 if( pAnchor ) in fillFrameProps() 127 if( dynamic_cast<ParagraphElement*>(pAnchor) ) in fillFrameProps() 134 PageElement* pPage = dynamic_cast<PageElement*>(pAnchor); in fillFrameProps() 138 rel_x -= pAnchor->x; in fillFrameProps() 139 rel_y -= pAnchor->y; in fillFrameProps()
|
/aoo41x/main/sw/source/core/access/ |
H A D | accframebase.cxx | 335 const SwFmtAnchor& pAnchor = pFrmFmt->GetAnchor(); in GetSelectedState() local 336 const SwPosition *pPos = pAnchor.GetCntntAnchor(); in GetSelectedState() 362 if( pAnchor.GetAnchorId() == FLY_AS_CHAR ) in GetSelectedState() 368 else if( pAnchor.GetAnchorId() == FLY_AT_PARA ) in GetSelectedState()
|
H A D | accmap.cxx | 1189 const SwFmtAnchor& pAnchor = pFrmFmt->GetAnchor(); in InvalidateShapeInParaSelection() local 1190 const SwPosition *pPos = pAnchor.GetCntntAnchor(); in InvalidateShapeInParaSelection() 1192 if(pAnchor.GetAnchorId() == FLY_AT_PAGE) in InvalidateShapeInParaSelection() 1224 if( pAnchor.GetAnchorId() == FLY_AS_CHAR ) in InvalidateShapeInParaSelection() 1240 else if( pAnchor.GetAnchorId() == FLY_AT_PARA ) in InvalidateShapeInParaSelection() 1305 const SwFmtAnchor& pAnchor = pFrmFmt->GetAnchor(); in InvalidateShapeInParaSelection() local 1306 if( pAnchor.GetAnchorId() == FLY_AS_CHAR ) in InvalidateShapeInParaSelection() 1602 const SwFmtAnchor& pAnchor = pFrmFmt->GetAnchor(); in DoInvalidateShapeSelection() local 1603 if( pAnchor.GetAnchorId() == FLY_AS_CHAR ) in DoInvalidateShapeSelection()
|
/aoo41x/main/sfx2/source/inc/ |
H A D | tplcomp.hxx | 142 void CreateNewChild( CntAnchor* pAnchor, 144 void RemoveChild( CntAnchor* pAnchor ); 145 void StopListening( CntAnchor* pAnchor ); 212 void CreateNewChild( CntAnchor* pAnchor );
|
/aoo41x/main/svtools/source/contnr/ |
H A D | imivctl1.cxx | 121 pAnchor = 0; in SvxIconChoiceCtrl_Impl() 419 if( pEntry == pAnchor ) in RemoveEntry() 420 pAnchor = 0; in RemoveEntry() 925 pAnchor = 0; in MouseButtonDown() 1164 if( pAnchor ) in SetCursor_Impl() 1167 pAnchor = 0; in SetCursor_Impl() 1172 if( !pAnchor ) in SetCursor_Impl() 1173 pAnchor = pOldCursor; in SetCursor_Impl() 1226 if( bShift && !bMod1 && !pAnchor ) in KeyInput() 2985 pAnchor = 0; in DeselectAllBut() [all …]
|
H A D | svimpbox.cxx | 90 pAnchor = 0; in SvImpLBox() 258 pAnchor = 0; in Clear() 672 if( pAnchor ) in SetCursor() 2791 pImp->pAnchor = pImp->pCursor; in CreateAnchor() 2796 pImp->pAnchor = 0; in DestroyAnchor() 2886 pEntry = pAnchor; in SetAnchorSelection() 2896 while( pEntry && pEntry != pAnchor ) in SetAnchorSelection() 2938 while( pEntry && pEntry != pAnchor ) in SetAnchorSelection() 2945 pEntry = pAnchor; in SetAnchorSelection() 3000 pAnchor = 0; // internen Anker immer loeschen in SelAllDestrAnch() [all …]
|
/aoo41x/main/sw/source/core/txtnode/ |
H A D | thints.cxx | 1307 const SwFmtAnchor* pAnchor = 0; in InsertHint() local 1309 (const SfxPoolItem**)&pAnchor ); in InsertHint() 1316 if (pAnchor && in InsertHint() 1317 (FLY_AS_CHAR == pAnchor->GetAnchorId()) && in InsertHint() 1318 pAnchor->GetCntntAnchor() && in InsertHint() 1319 pAnchor->GetCntntAnchor()->nNode == *this && in InsertHint() 1320 pAnchor->GetCntntAnchor()->nContent == aIdx ) in InsertHint() 1323 pAnchor->GetCntntAnchor()->nContent)--; in InsertHint()
|
/aoo41x/main/sw/source/filter/ww8/ |
H A D | wrtw8nds.cxx | 1363 const SwFmtAnchor* pAnchor = &pFlyFmt->GetAnchor(); in TrueFrameDirection() local 1364 if ((FLY_AT_PAGE != pAnchor->GetAnchorId()) && in TrueFrameDirection() 1365 pAnchor->GetCntntAnchor() ) in TrueFrameDirection() 1367 pFlyFmt = pAnchor->GetCntntAnchor()->nNode.GetNode().GetFlyFmt(); in TrueFrameDirection() 1421 const SwFmtAnchor* pAnchor = &pFlyFmt->GetAnchor(); in TrueFrameBgBrush() local 1422 if ((FLY_AT_PAGE != pAnchor->GetAnchorId()) && in TrueFrameBgBrush() 1423 pAnchor->GetCntntAnchor()) in TrueFrameBgBrush() 1426 pAnchor->GetCntntAnchor()->nNode.GetNode().GetFlyFmt(); in TrueFrameBgBrush()
|