/aoo42x/main/svx/source/svdraw/ |
H A D | svdovirt.cxx | 67 aAnchor=rAnchorPos; in SdrVirtObj() 167 aAnchor=((SdrVirtObj&)rObj).aAnchor; in operator =() 211 if(aAnchor.X() || aAnchor.Y()) in TakeXorPoly() 399 rRefObj.NbcMirror(rRef1-aAnchor,rRef2-aAnchor); in NbcMirror() 446 rRefObj.Mirror(rRef1-aAnchor,rRef2-aAnchor); in Mirror() 481 aR-=aAnchor; in SetSnapRect() 491 aR-=aAnchor; in NbcSetSnapRect() 509 aR-=aAnchor; in SetLogicRect() 518 aR-=aAnchor; in NbcSetLogicRect() 545 aP+=aAnchor; in GetSnapPoint() [all …]
|
H A D | svdogrp.cxx | 539 aAnchor=rPnt; in NbcSetAnchorPos() 540 Size aSiz(rPnt.X()-aAnchor.X(),rPnt.Y()-aAnchor.Y()); in NbcSetAnchorPos() 741 FASTBOOL bChg=aAnchor!=rPnt; in SetAnchorPos() 742 aAnchor=rPnt; in SetAnchorPos() 743 Size aSiz(rPnt.X()-aAnchor.X(),rPnt.Y()-aAnchor.Y()); in SetAnchorPos() 768 Point aRelPos0(GetSnapRect().TopLeft()-aAnchor); in NbcSetRelativePos() 775 Point aRelPos0(GetSnapRect().TopLeft()-aAnchor); in SetRelativePos()
|
H A D | svdobj.cxx | 1045 aAnchor =rObj.aAnchor; in operator =() 1619 Point aRelPos0(GetSnapRect().TopLeft()-aAnchor); in NbcSetRelativePos() 1638 return GetSnapRect().TopLeft()-aAnchor; in GetRelativePos() 1643 Size aSiz(rPnt.X()-aAnchor.X(),rPnt.Y()-aAnchor.Y()); in NbcSetAnchorPos() 1644 aAnchor=rPnt; in NbcSetAnchorPos() 1650 if (rPnt!=aAnchor) { in SetAnchorPos() 1662 return aAnchor; in GetAnchorPos() 1918 rGeo.aAnchor =aAnchor ; in SaveGeoData() 1945 aAnchor =rGeo.aAnchor ; in RestGeoData()
|
/aoo42x/main/sw/source/core/frmedt/ |
H A D | fecopy.cxx | 158 aAnchor.SetAnchor( &aPos ); in Copy() 207 aAnchor.SetAnchor( &aPos ); in Copy() 208 aSet.Put( aAnchor ); in Copy() 226 aAnchor.SetAnchor( &aPos ); in Copy() 345 SwFmtAnchor aAnchor( rAnchor ); in CopyDrawSel() local 377 *pDestShell, aAnchor, in CopyDrawSel() 396 aSet.Put( aAnchor ); in CopyDrawSel() 982 aAnchor.SetAnchor( pPos ); in Paste() 1098 aAnchor.SetPageNum( aAnchor.GetPageNum() + nStartPageNumber - 1 ); in Paste() 1205 aAnchor.GetPageNum() >= nStartPage && aAnchor.GetPageNum() <= nEndPage) in PastePages() [all …]
|
/aoo42x/main/sw/source/core/txtnode/ |
H A D | atrflyin.cxx | 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() 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() [all …]
|
/aoo42x/main/sw/source/core/undo/ |
H A D | undobj1.cxx | 88 SwFmtAnchor aAnchor( (RndStdIds)nRndId ); in InsFly() local 92 aAnchor.SetPageNum( (sal_uInt16)nNdPgPos ); in InsFly() 103 aAnchor.SetAnchor( &aNewPos ); in InsFly() 312 SwFmtAnchor aAnchor( pFrmFmt->GetAnchor() ); in RepeatImpl() local 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() 322 aAnchor.SetAnchor( &aPos ); in RepeatImpl() 324 else if( FLY_AT_FLY == aAnchor.GetAnchorId() ) in RepeatImpl() [all …]
|
/aoo42x/main/svx/source/sdr/contact/ |
H A D | viewcontactofvirtobj.cxx | 76 Point aAnchor(GetVirtObj().GetAnchorPos()); in createViewIndependentPrimitive2DSequence() local 78 if(aAnchor.X() || aAnchor.Y()) in createViewIndependentPrimitive2DSequence() 80 aObjectMatrix.set(0, 2, aAnchor.X()); in createViewIndependentPrimitive2DSequence() 81 aObjectMatrix.set(1, 2, aAnchor.Y()); in createViewIndependentPrimitive2DSequence()
|
/aoo42x/main/sw/source/filter/html/ |
H A D | htmldraw.cxx | 170 SwFmtAnchor aAnchor( FLY_AS_CHAR ); in InsertDrawObject() local 180 aAnchor.SetType( FLY_AT_FLY ); in InsertDrawObject() 182 aAnchor.SetAnchor( &aPos ); in InsertDrawObject() 186 aAnchor.SetType( FLY_AT_PAGE ); in InsertDrawObject() 196 aAnchor.SetType( FLY_AT_PARA ); in InsertDrawObject() 207 if (FLY_AT_PAGE == aAnchor.GetAnchorId()) in InsertDrawObject() 209 aAnchor.SetPageNum( 1 ); in InsertDrawObject() 211 else if( FLY_AT_FLY != aAnchor.GetAnchorId() ) in InsertDrawObject() 213 aAnchor.SetAnchor( pPam->GetPoint() ); in InsertDrawObject() 215 aFrmSet.Put( aAnchor ); in InsertDrawObject()
|
H A D | htmlcss1.cxx | 2059 SwFmtAnchor aAnchor; in SetAnchorAndAdjustment() local 2079 aAnchor.SetType( FLY_AT_FLY ); in SetAnchorAndAdjustment() 2081 aAnchor.SetAnchor( &aPos ); in SetAnchorAndAdjustment() 2085 aAnchor.SetType( FLY_AT_PAGE ); in SetAnchorAndAdjustment() 2086 aAnchor.SetPageNum( 1 ); in SetAnchorAndAdjustment() 2093 aAnchor.SetType( FLY_AT_PARA ); in SetAnchorAndAdjustment() 2094 aAnchor.SetAnchor( pPam->GetPoint() ); in SetAnchorAndAdjustment() 2119 aAnchor.SetType( FLY_AT_CHAR ); in SetAnchorAndAdjustment() 2126 aAnchor.SetType( FLY_AT_PARA ); in SetAnchorAndAdjustment() 2131 aAnchor.SetAnchor( pPam->GetPoint() ); in SetAnchorAndAdjustment() [all …]
|
H A D | htmlgrin.cxx | 204 SwFmtAnchor aAnchor( FLY_AS_CHAR ); in SetAnchorAndAdjustment() local 263 aAnchor.SetType( FLY_AT_CHAR ); in SetAnchorAndAdjustment() 270 aAnchor.SetType( FLY_AT_PARA ); in SetAnchorAndAdjustment() 284 aAnchor.SetAnchor( pPam->GetPoint() ); in SetAnchorAndAdjustment() 289 rFrmSet.Put( aAnchor ); in SetAnchorAndAdjustment()
|
/aoo42x/main/sw/source/core/unocore/ |
H A D | unodraw.cxx | 646 SwFmtAnchor aAnchor( FLY_AS_CHAR ); in add() local 662 aAnchor = *pDesc->GetAnchor(); in add() 725 if(FLY_AT_FLY == aAnchor.GetAnchorId() && in add() 728 aAnchor.SetType(FLY_AS_CHAR); in add() 732 aAnchor.SetAnchor(pInternalPam->Start()); in add() 743 aAnchor.SetAnchor( pPam->GetPoint() ); in add() 750 aAnchor.SetType(FLY_AT_PAGE); in add() 755 aSet.Put(aAnchor); in add() 1172 aAnchor.SetAnchor(&aPos); in setPropertyValue() 1174 aItemSet.Put(aAnchor); in setPropertyValue() [all …]
|
H A D | unoframe.cxx | 218 rToSet.Put(aAnchor); in FillBaseProperties() 1717 aAnchor.SetAnchor(&aPos); in setPropertyValue() 1718 aAnchor.SetType(FLY_AT_FLY); in setPropertyValue() 1719 aSet.Put(aAnchor); in setPropertyValue() 1862 aAnchor.SetAnchor(&aPos); in setPropertyValue() 1863 aSet.Put(aAnchor); in setPropertyValue() 1873 aSet.Put(aAnchor); in setPropertyValue() 2750 aFrmSet.Put(aAnchor); in attachToRange() 2756 aAnchor.SetAnchor( aPam.GetPoint() ); in attachToRange() 2757 aFrmSet.Put(aAnchor); in attachToRange() [all …]
|
/aoo42x/main/sw/source/filter/rtf/ |
H A D | rtffly.cxx | 476 SwFmtAnchor aAnchor(rAnchor); in SetFlysInDoc() local 477 aAnchor.SetAnchor(&aPos); in SetFlysInDoc() 556 SwFmtAnchor aAnchor( FLY_AT_PARA ); in ReadFly() local 577 aAnchor = (SwFmtAnchor&)pSet->Get( RES_ANCHOR ); in ReadFly() 833 aAnchor.SetPageNum( sal_uInt16(nTokenValue)); in ReadFly() 834 aAnchor.SetAnchor( 0 ); in ReadFly() 843 aAnchor.SetAnchor( &aPos ); in ReadFly() 943 pSet->Put( aAnchor ); in ReadFly() 1281 SwFmtAnchor aAnchor( FLY_AS_CHAR ); in InsPicture() local 1282 aAnchor.SetAnchor( pPos ); in InsPicture() [all …]
|
H A D | swparrtf.cxx | 995 SwNodeIndex aAnchor(aSectPaM.GetPoint()->nNode); in InsertSegments() local 998 aAnchor = aNext->maStart; in InsertSegments() 999 aSectPaM.GetPoint()->nNode = aAnchor; in InsertSegments() 1011 mrReader.pDoc->GetNodes().MakeTxtNode(aAnchor, in InsertSegments() 1253 SwFmtAnchor aAnchor( FLY_AT_PARA ); in ReadDrawingObject() local 1254 aAnchor.SetAnchor( pPam->GetPoint() ); in ReadDrawingObject() 1255 aFlySet.Put( aAnchor ); in ReadDrawingObject() 1319 SwFmtAnchor aAnchor( FLY_AT_PARA ); in InsertShpObject() local 1320 aAnchor.SetAnchor( pPam->GetPoint() ); in InsertShpObject() 1321 aFlySet.Put( aAnchor ); in InsertShpObject()
|
/aoo42x/main/chart2/source/tools/ |
H A D | RelativePositionHelper.cxx | 133 , drawing::Alignment aAnchor ) in getUpperLeftCornerOfAnchoredObject() argument 141 switch( aAnchor ) in getUpperLeftCornerOfAnchoredObject() 162 switch( aAnchor ) in getUpperLeftCornerOfAnchoredObject() 191 , drawing::Alignment aAnchor in getCenterOfAnchoredObject() argument 200 switch( aAnchor ) in getCenterOfAnchoredObject() 221 switch( aAnchor ) in getCenterOfAnchoredObject()
|
/aoo42x/main/sw/source/core/layout/ |
H A D | ssfrm.cxx | 323 Point aAnchor = Frm().Pos(); in GetFrmAnchorPos() local 326 aAnchor.X() += Frm().Width(); in GetFrmAnchorPos() 333 aAnchor.Y() += nBaseOfstForFly; in GetFrmAnchorPos() 335 aAnchor.X() += nBaseOfstForFly; in GetFrmAnchorPos() 345 aAnchor.X() -= nUpperSpaceAmountConsideredForPrevFrmAndPageGrid; in GetFrmAnchorPos() 349 aAnchor.Y() += nUpperSpaceAmountConsideredForPrevFrmAndPageGrid; in GetFrmAnchorPos() 353 return aAnchor; in GetFrmAnchorPos()
|
/aoo42x/main/sw/source/filter/ww8/ |
H A D | ww8graf2.cxx | 397 SwFmtAnchor aAnchor(pSFlyPara->eAnchor); in MakeGrafNotInCntnt() local 398 aAnchor.SetAnchor(pPaM->GetPoint()); in MakeGrafNotInCntnt() 399 aFlySet.Put(aAnchor); in MakeGrafNotInCntnt() 612 SwFmtAnchor aAnchor(pSFlyPara->eAnchor); in ImportGraf() local 613 aAnchor.SetAnchor(pPaM->GetPoint()); in ImportGraf() 614 aFlySet.Put(aAnchor); in ImportGraf()
|
H A D | ww8par4.cxx | 286 SwFmtAnchor aAnchor( FLY_AS_CHAR ); in ImportOle() local 287 aAnchor.SetAnchor( pPaM->GetPoint() ); in ImportOle() 288 pTempSet->Put( aAnchor ); in ImportOle()
|
/aoo42x/main/chart2/source/controller/main/ |
H A D | PositionAndSizeHelper.cxx | 87 Point aAnchor = aObjectRect.TopLeft(); in moveObject() local 90 static_cast< double >( aAnchor.X()) / in moveObject() 93 static_cast< double >( aAnchor.Y()) / in moveObject()
|
/aoo42x/main/sw/source/core/docnode/ |
H A D | ndcopy.cxx | 1501 SwFmtAnchor aAnchor( *rZSortFly.GetAnchor() ); in CopyFlyInFlyImpl() local 1502 SwPosition* pNewPos = (SwPosition*)aAnchor.GetCntntAnchor(); in CopyFlyInFlyImpl() 1510 if ((aAnchor.GetAnchorId() == FLY_AT_PARA) || in CopyFlyInFlyImpl() 1511 (aAnchor.GetAnchorId() == FLY_AT_CHAR) ) in CopyFlyInFlyImpl() 1523 bAnchorTxtNdFound = aAnchor.GetCntntAnchor()->nNode == aIdx; in CopyFlyInFlyImpl() 1577 if ((FLY_AT_CHAR == aAnchor.GetAnchorId()) && in CopyFlyInFlyImpl() 1609 aAnchor, false, true ), aNewArr.Count() ); in CopyFlyInFlyImpl()
|
/aoo42x/main/sw/source/core/doc/ |
H A D | docnew.cxx | 1308 SwFmtAnchor aAnchor( rCpyFmt.GetAnchor() ); in Paste() local 1309 if (FLY_AT_PAGE == aAnchor.GetAnchorId()) in Paste() 1311 aAnchor.SetPageNum( aAnchor.GetPageNum() /*+ nStartPageNumber - */); in Paste() 1315 this->CopyLayoutFmt( rCpyFmt, aAnchor, true, true ); in Paste()
|
/aoo42x/main/chart2/source/inc/ |
H A D | RelativePositionHelper.hxx | 55 ::com::sun::star::drawing::Alignment aAnchor ); 66 ::com::sun::star::drawing::Alignment aAnchor,
|
/aoo42x/main/sw/source/filter/ww1/ |
H A D | fltshell.cxx | 499 SwFmtAnchor aAnchor(pFmt->GetAnchor()); in SetAttrInDoc() local 500 aAnchor.SetAnchor(aRegion.GetPoint()); in SetAttrInDoc() 501 pFmt->SetFmtAttr(aAnchor); in SetAttrInDoc() 1873 SwFmtAnchor aAnchor( eAnchor, 1 ); in BeginFly() local 1880 aAnchor.SetAnchor(pPaM->GetPoint()); // braucht erstaunlicherweise in BeginFly() 1884 pSet->Put( aAnchor ); in BeginFly()
|
/aoo42x/main/sfx2/source/appl/ |
H A D | sfxhelp.cxx | 773 String aAnchor; in CreateHelpURL_Impl() local 794 bHasAnchor = GetHelpAnchor_Impl( aTempURL, aAnchor ); in CreateHelpURL_Impl() 802 aHelpURL += aAnchor; in CreateHelpURL_Impl()
|
/aoo42x/main/svx/inc/svx/ |
H A D | svdobj.hxx | 277 Point aAnchor; member in SdrObjGeoData 440 Point aAnchor; // Ankerposition (Writer) member in SdrObject 784 void ImpSetAnchorPos(const Point& rPnt) { aAnchor=rPnt; } in ImpSetAnchorPos()
|