Lines Matching refs:aAnchor

146 		SwFmtAnchor aAnchor( pFlyFmt->GetAnchor() );  in Copy()  local
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()
158 aAnchor.SetAnchor( &aPos ); in Copy()
160 pFlyFmt = pClpDoc->CopyLayoutFmt( *pFlyFmt, aAnchor, true, true ); in Copy()
174 if ( FLY_AS_CHAR == aAnchor.GetAnchorId() ) in Copy()
206 SwFmtAnchor aAnchor( FLY_AT_PARA ); in Copy() local
207 aAnchor.SetAnchor( &aPos ); in Copy()
208 aSet.Put( aAnchor ); in Copy()
220 SwFmtAnchor aAnchor( pFmt->GetAnchor() ); in Copy() local
221 if ((FLY_AT_PARA == aAnchor.GetAnchorId()) || in Copy()
222 (FLY_AT_CHAR == aAnchor.GetAnchorId()) || in Copy()
223 (FLY_AT_FLY == aAnchor.GetAnchorId()) || in Copy()
224 (FLY_AS_CHAR == aAnchor.GetAnchorId())) in Copy()
226 aAnchor.SetAnchor( &aPos ); in Copy()
229 pClpDoc->CopyLayoutFmt( *pFmt, aAnchor, true, true ); in Copy()
345 SwFmtAnchor aAnchor( rAnchor ); in CopyDrawSel() local
348 if ((FLY_AT_PARA == aAnchor.GetAnchorId()) || in CopyDrawSel()
349 (FLY_AT_CHAR == aAnchor.GetAnchorId()) || in CopyDrawSel()
350 (FLY_AT_FLY == aAnchor.GetAnchorId()) || in CopyDrawSel()
351 (FLY_AS_CHAR == aAnchor.GetAnchorId())) in CopyDrawSel()
367 *pDestShell, aAnchor, aNewAnch, sal_False ); in CopyDrawSel()
377 *pDestShell, aAnchor, in CopyDrawSel()
381 else if ( FLY_AT_PAGE == aAnchor.GetAnchorId() ) in CopyDrawSel()
383 aAnchor.SetPageNum( pDestShell->GetPageNumber( rInsPt ) ); in CopyDrawSel()
396 aSet.Put( aAnchor ); in CopyDrawSel()
402 pFmt = pDestDoc->CopyLayoutFmt( *pFmt, aAnchor, true, true ); in CopyDrawSel()
408 if ( FLY_AS_CHAR != aAnchor.GetAnchorId() ) in CopyDrawSel()
494 SwFmtAnchor aAnchor( pFlyFmt->GetAnchor() ); in Copy() local
498 if ((FLY_AT_PARA == aAnchor.GetAnchorId()) || in Copy()
499 (FLY_AT_CHAR == aAnchor.GetAnchorId()) || in Copy()
500 (FLY_AT_FLY == aAnchor.GetAnchorId()) || in Copy()
501 (FLY_AS_CHAR == aAnchor.GetAnchorId())) in Copy()
525 *pDestShell, aAnchor, aNewAnch, sal_True ); in Copy()
535 pFly, rInsPt, *pDestShell, aAnchor, in Copy()
539 else if ( FLY_AT_PAGE == aAnchor.GetAnchorId() ) in Copy()
541 aAnchor.SetPageNum( pDestShell->GetPageNumber( rInsPt ) ); in Copy()
554 pFlyFmt = pDestShell->GetDoc()->CopyLayoutFmt( *pFlyFmt, aAnchor, true, true ); in Copy()
556 if ( FLY_AS_CHAR != aAnchor.GetAnchorId() ) in Copy()
970 SwFmtAnchor aAnchor( rCpyFmt.GetAnchor() ); in Paste() local
971 if ((FLY_AT_PARA == aAnchor.GetAnchorId()) || in Paste()
972 (FLY_AT_CHAR == aAnchor.GetAnchorId()) || in Paste()
973 (FLY_AS_CHAR == aAnchor.GetAnchorId())) in Paste()
982 aAnchor.SetAnchor( pPos ); in Paste()
984 else if ( FLY_AT_PAGE == aAnchor.GetAnchorId() ) in Paste()
986 aAnchor.SetPageNum( GetPhyPageNum() ); in Paste()
988 else if( FLY_AT_FLY == aAnchor.GetAnchorId() ) in Paste()
992 0, aPt, *this, aAnchor, aPt, sal_False ); in Paste()
995 SwFrmFmt * pNew = GetDoc()->CopyLayoutFmt( rCpyFmt, aAnchor, true, true ); in Paste()
1095 SwFmtAnchor aAnchor( rCpyFmt.GetAnchor() ); in Paste() local
1096 if ( FLY_AT_PAGE == aAnchor.GetAnchorId() ) in Paste()
1098 aAnchor.SetPageNum( aAnchor.GetPageNum() + nStartPageNumber - 1 ); in Paste()
1102 GetDoc()->CopyLayoutFmt( rCpyFmt, aAnchor, true, true ); in Paste()
1203 SwFmtAnchor aAnchor( rCpyFmt.GetAnchor() ); in PastePages() local
1204 if ((FLY_AT_PAGE == aAnchor.GetAnchorId()) && in PastePages()
1205 aAnchor.GetPageNum() >= nStartPage && aAnchor.GetPageNum() <= nEndPage) in PastePages()
1207 aAnchor.SetPageNum( aAnchor.GetPageNum() - nStartPage + 1); in PastePages()
1211 rToFill.GetDoc()->CopyLayoutFmt( rCpyFmt, aAnchor, true, true ); in PastePages()