/aoo41x/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()
|
/aoo41x/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 …]
|
/aoo41x/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 …]
|
/aoo41x/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 …]
|
/aoo41x/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()
|
/aoo41x/main/sw/source/filter/html/ |
H A D | htmldraw.cxx | 176 SwFmtAnchor aAnchor( FLY_AS_CHAR ); in InsertDrawObject() local 186 aAnchor.SetType( FLY_AT_FLY ); in InsertDrawObject() 188 aAnchor.SetAnchor( &aPos ); in InsertDrawObject() 192 aAnchor.SetType( FLY_AT_PAGE ); in InsertDrawObject() 202 aAnchor.SetType( FLY_AT_PARA ); in InsertDrawObject() 213 if (FLY_AT_PAGE == aAnchor.GetAnchorId()) in InsertDrawObject() 215 aAnchor.SetPageNum( 1 ); in InsertDrawObject() 217 else if( FLY_AT_FLY != aAnchor.GetAnchorId() ) in InsertDrawObject() 219 aAnchor.SetAnchor( pPam->GetPoint() ); in InsertDrawObject() 221 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()
|
/aoo41x/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()
|
/aoo41x/main/sw/source/filter/rtf/ |
H A D | rtffly.cxx | 481 SwFmtAnchor aAnchor(rAnchor); in SetFlysInDoc() local 482 aAnchor.SetAnchor(&aPos); in SetFlysInDoc() 561 SwFmtAnchor aAnchor( FLY_AT_PARA ); in ReadFly() local 582 aAnchor = (SwFmtAnchor&)pSet->Get( RES_ANCHOR ); in ReadFly() 838 aAnchor.SetPageNum( sal_uInt16(nTokenValue)); in ReadFly() 839 aAnchor.SetAnchor( 0 ); in ReadFly() 848 aAnchor.SetAnchor( &aPos ); in ReadFly() 948 pSet->Put( aAnchor ); in ReadFly() 1286 SwFmtAnchor aAnchor( FLY_AS_CHAR ); in InsPicture() local 1287 aAnchor.SetAnchor( pPos ); in InsPicture() [all …]
|
/aoo41x/main/sw/source/core/unocore/ |
H A D | unodraw.cxx | 648 SwFmtAnchor aAnchor( FLY_AS_CHAR ); in add() local 664 aAnchor = *pDesc->GetAnchor(); in add() 727 if(FLY_AT_FLY == aAnchor.GetAnchorId() && in add() 730 aAnchor.SetType(FLY_AS_CHAR); in add() 734 aAnchor.SetAnchor(pInternalPam->Start()); in add() 745 aAnchor.SetAnchor( pPam->GetPoint() ); in add() 752 aAnchor.SetType(FLY_AT_PAGE); in add() 757 aSet.Put(aAnchor); in add() 1174 aAnchor.SetAnchor(&aPos); in setPropertyValue() 1176 aItemSet.Put(aAnchor); in setPropertyValue() [all …]
|
H A D | unoframe.cxx | 195 rToSet.Put(aAnchor); in FillBaseProperties() 1314 aAnchor.SetAnchor(&aPos); in setPropertyValue() 1315 aAnchor.SetType(FLY_AT_FLY); in setPropertyValue() 1316 aSet.Put(aAnchor); in setPropertyValue() 1350 aAnchor.SetAnchor(&aPos); in setPropertyValue() 1351 aSet.Put(aAnchor); in setPropertyValue() 1361 aSet.Put(aAnchor); in setPropertyValue() 2107 aFrmSet.Put(aAnchor); in attachToRange() 2113 aAnchor.SetAnchor( aPam.GetPoint() ); in attachToRange() 2114 aFrmSet.Put(aAnchor); in attachToRange() [all …]
|
/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/main/sw/source/core/doc/ |
H A D | docnew.cxx | 1293 SwFmtAnchor aAnchor( rCpyFmt.GetAnchor() ); in Paste() local 1294 if (FLY_AT_PAGE == aAnchor.GetAnchorId()) in Paste() 1296 aAnchor.SetPageNum( aAnchor.GetPageNum() /*+ nStartPageNumber - */); in Paste() 1300 this->CopyLayoutFmt( rCpyFmt, aAnchor, true, true ); in Paste()
|
/aoo41x/main/sw/source/core/docnode/ |
H A D | ndcopy.cxx | 1498 SwFmtAnchor aAnchor( *rZSortFly.GetAnchor() ); in CopyFlyInFlyImpl() local 1499 SwPosition* pNewPos = (SwPosition*)aAnchor.GetCntntAnchor(); in CopyFlyInFlyImpl() 1507 if ((aAnchor.GetAnchorId() == FLY_AT_PARA) || in CopyFlyInFlyImpl() 1508 (aAnchor.GetAnchorId() == FLY_AT_CHAR) ) in CopyFlyInFlyImpl() 1520 bAnchorTxtNdFound = aAnchor.GetCntntAnchor()->nNode == aIdx; in CopyFlyInFlyImpl() 1574 if ((FLY_AT_CHAR == aAnchor.GetAnchorId()) && in CopyFlyInFlyImpl() 1606 aAnchor, false, true ), aNewArr.Count() ); in CopyFlyInFlyImpl()
|
/aoo41x/main/chart2/source/inc/ |
H A D | RelativePositionHelper.hxx | 55 ::com::sun::star::drawing::Alignment aAnchor ); 66 ::com::sun::star::drawing::Alignment aAnchor,
|
/aoo41x/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() 1876 SwFmtAnchor aAnchor( eAnchor, 1 ); in BeginFly() local 1883 aAnchor.SetAnchor(pPaM->GetPoint()); // braucht erstaunlicherweise in BeginFly() 1887 pSet->Put( aAnchor ); in BeginFly()
|
/aoo41x/main/offapi/com/sun/star/drawing/framework/ |
H A D | XTabBar.idl | 63 @param aAnchor 68 void addTabBarButtonAfter ([in] TabBarButton aButton, [in] TabBarButton aAnchor);
|
/aoo41x/main/svx/inc/svx/ |
H A D | svdobj.hxx | 277 Point aAnchor; member in SdrObjGeoData 448 Point aAnchor; // Ankerposition (Writer) member in SdrObject 792 void ImpSetAnchorPos(const Point& rPnt) { aAnchor=rPnt; } in ImpSetAnchorPos()
|
/aoo41x/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()
|