Lines Matching refs:pAnchor
632 const SwFmtAnchor* pAnchor = 0; in _MakeFlySection() local
636 (const SfxPoolItem**)&pAnchor ); in _MakeFlySection()
648 RndStdIds eAnchorId = pAnchor ? pAnchor->GetAnchorId() in _MakeFlySection()
652 if ( !pAnchor || in _MakeFlySection()
653 ( FLY_AT_PAGE != pAnchor->GetAnchorId() && in _MakeFlySection()
654 !pAnchor->GetCntntAnchor() ) || in _MakeFlySection()
655 ( FLY_AT_PAGE == pAnchor->GetAnchorId() && in _MakeFlySection()
656 !pAnchor->GetCntntAnchor() && in _MakeFlySection()
657 pAnchor->GetPageNum() == 0 ) ) in _MakeFlySection()
661 if (pAnchor && (FLY_AT_FLY == pAnchor->GetAnchorId())) in _MakeFlySection()
678 ( !pAnchor || in _MakeFlySection()
934 const SwFmtAnchor* pAnchor = 0; in InsertDrawObj() local
935 rFlyAttrSet.GetItemState( RES_ANCHOR, sal_False, (const SfxPoolItem**) &pAnchor ); in InsertDrawObj()
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()
963 && pAnchor->GetCntntAnchor() == NULL ) ) in InsertDrawObj()
966 SwFmtAnchor aAnch( pAnchor != NULL ? *pAnchor : pFmt->GetAnchor() ); in InsertDrawObj()
2324 const SwFmtAnchor* pAnchor = &pFlyFmt->GetAnchor(); in GetTextDirection() local
2325 if ((FLY_AT_PAGE != pAnchor->GetAnchorId()) && in GetTextDirection()
2326 pAnchor->GetCntntAnchor()) in GetTextDirection()
2328 pFlyFmt = pAnchor->GetCntntAnchor()->nNode. in GetTextDirection()