Lines Matching refs:aAnchor
116 SwFmtAnchor aAnchor( pFmt->GetAnchor() ); in CopyFlyFmt() local
117 if ((FLY_AT_PAGE != aAnchor.GetAnchorId()) && in CopyFlyFmt()
128 SwPosition* pPos = (SwPosition*)aAnchor.GetCntntAnchor(); in CopyFlyFmt()
130 if (FLY_AS_CHAR == aAnchor.GetAnchorId()) in CopyFlyFmt()
141 SwFrmFmt* pNew = pDoc->CopyLayoutFmt( *pFmt, aAnchor, false, false ); in CopyFlyFmt()
166 SwFmtAnchor aAnchor( pFmt->GetAnchor() ); in SetAnchor() local
168 if( !aAnchor.GetCntntAnchor() || in SetAnchor()
169 !aAnchor.GetCntntAnchor()->nNode.GetNode().GetNodes().IsDocNodes() || in SetAnchor()
170 &aAnchor.GetCntntAnchor()->nNode.GetNode() != (SwNode*)pNode ) in SetAnchor()
173 aPos.nNode = aAnchor.GetCntntAnchor()->nNode; in SetAnchor()
175 aAnchor.SetType( FLY_AS_CHAR ); // default! in SetAnchor()
176 aAnchor.SetAnchor( &aPos ); in SetAnchor()
190 SwFrmFmt* pNew = pDoc->CopyLayoutFmt( *pFmt, aAnchor, false, false ); in SetAnchor()
202 pFmt->SetFmtAttr( aAnchor ); // nur den Anker neu setzen in SetAnchor()
206 pFmt->SetFmtAttr( aAnchor ); // nur den Anker neu setzen in SetAnchor()