/trunk/main/sw/source/ui/dbui/ |
H A D | mmoutputpage.cxx | 543 … Point aPos(m_aFromRB.GetPosPixel()); aPos.Y() = m_nFromToRBPos; m_aFromRB.SetPosPixel(aPos); in IMPL_LINK() local 544 … aPos = m_aToFT.GetPosPixel(); aPos.Y() = m_nFromToFTPos; m_aToFT.SetPosPixel(aPos); in IMPL_LINK() 545 … aPos = m_aFromNF.GetPosPixel(); aPos.Y() = m_nFromToNFPos; m_aFromNF.SetPosPixel(aPos); in IMPL_LINK() 546 … aPos = m_aToNF.GetPosPixel(); aPos.Y() = m_nFromToNFPos; m_aToNF.SetPosPixel(aPos); in IMPL_LINK() 572 …Point aPos(m_aFromRB.GetPosPixel());aPos.Y() = nNewRBXPos; m_aFromRB.SetPosPixel(a… in IMPL_LINK() local 573 …aPos = m_aToFT.GetPosPixel(); aPos.Y() = nNewRBXPos + nRB_FT_Offset; m_aToFT.SetPosPixel(aPo… in IMPL_LINK() 574 …aPos = m_aFromNF.GetPosPixel(); aPos.Y() = nNewRBXPos + nRB_FT_Offset; m_aFromNF.SetPosPixel(a… in IMPL_LINK() 575 …aPos = m_aToNF.GetPosPixel(); aPos.Y() = nNewRBXPos + nRB_FT_Offset; m_aToNF.SetPosPixel(aPo… in IMPL_LINK() 640 …Point aPos(m_aFromRB.GetPosPixel());aPos.Y() = nNewRBXPos; m_aFromRB.SetPosPixel(a… in IMPL_LINK() local 641 …aPos = m_aToFT.GetPosPixel(); aPos.Y() = nNewRBXPos + nRB_FT_Offset; m_aToFT.SetPosPixel(aPo… in IMPL_LINK() [all …]
|
/trunk/main/sc/source/ui/undo/ |
H A D | undocell.cxx | 237 aPos.SetTab( pTabs[i] ); in SetChangeTrack() 354 aPos ( rNewPos ), in ScUndoEnterValue() 395 pDoc->PutCell( aPos, pNewCell ); in Undo() 397 pDocShell->PostPaintCell( aPos ); in Undo() 411 pDoc->SetValue( aPos.Col(), aPos.Row(), aPos.Tab(), nValue ); in Redo() 412 pDocShell->PostPaintCell( aPos ); in Redo() 438 aPos ( rNewPos ), in ScUndoPutCell() 481 pDoc->PutCell( aPos.Col(), aPos.Row(), aPos.Tab(), pNewCell ); in Undo() 483 pDocShell->PostPaintCell( aPos ); in Undo() 499 pDoc->PutCell( aPos.Col(), aPos.Row(), aPos.Tab(), pNewCell ); in Redo() [all …]
|
/trunk/main/reportdesign/source/core/api/ |
H A D | Functions.cxx | 97 ::std::advance(aPos,Index); in insertByIndex() 98 m_aFunctions.insert(aPos, xFunction); in insertByIndex() 115 ::std::advance(aPos,Index); in removeByIndex() 116 xFunction = *aPos; in removeByIndex() 117 m_aFunctions.erase(aPos); in removeByIndex() 135 ::std::advance(aPos,Index); in replaceByIndex() 136 aOldElement <<= *aPos; in replaceByIndex() 137 *aPos = xFunction; in replaceByIndex() 155 TFunctions::iterator aPos = m_aFunctions.begin(); in getByIndex() local 156 ::std::advance(aPos,Index); in getByIndex() [all …]
|
H A D | Groups.cxx | 112 ::std::advance(aPos,Index); in insertByIndex() 113 m_aGroups.insert(aPos, xGroup); in insertByIndex() 129 ::std::advance(aPos,Index); in removeByIndex() 130 xGroup = *aPos; in removeByIndex() 131 m_aGroups.erase(aPos); in removeByIndex() 148 ::std::advance(aPos,Index); in replaceByIndex() 149 aOldElement <<= *aPos; in replaceByIndex() 150 *aPos = xGroup; in replaceByIndex() 168 TGroups::iterator aPos = m_aGroups.begin(); in getByIndex() local 169 ::std::advance(aPos,Index); in getByIndex() [all …]
|
/trunk/main/basctl/source/dlged/ |
H A D | dlgedobj.cxx | 170 aPos = pDevice->LogicToPixel( aPos, MapMode( MAP_100TH_MM ) ); in TransformSdrToControlCoordinates() 193 aPos = pDevice->PixelToLogic( aPos, MapMode( MAP_APPFONT ) ); in TransformSdrToControlCoordinates() 197 nXOut = aPos.Width(); in TransformSdrToControlCoordinates() 220 aPos = pDevice->LogicToPixel( aPos, MapMode( MAP_100TH_MM ) ); in TransformSdrToFormCoordinates() 243 aPos = pDevice->PixelToLogic( aPos, MapMode( MAP_APPFONT ) ); in TransformSdrToFormCoordinates() 247 nXOut = aPos.Width(); in TransformSdrToFormCoordinates() 286 aPos = pDevice->LogicToPixel( aPos, MapMode( MAP_APPFONT ) ); in TransformControlToSdrCoordinates() 305 aPos = pDevice->PixelToLogic( aPos, MapMode( MAP_100TH_MM ) ); in TransformControlToSdrCoordinates() 309 nXOut = aPos.Width(); in TransformControlToSdrCoordinates() 332 aPos = pDevice->LogicToPixel( aPos, MapMode( MAP_APPFONT ) ); in TransformFormToSdrCoordinates() [all …]
|
H A D | dlgedfunc.cxx | 41 aPos = pWindow->PixelToLogic( aPos ); in IMPL_LINK_INLINE_START() 42 ForceScroll( aPos ); in IMPL_LINK_INLINE_START() 385 Point aPos = pWindow->PixelToLogic( rMEvt.GetPosPixel() ); in MouseButtonDown() local 393 SdrHdl* pHdl = pView->PickHandle(aPos); in MouseButtonDown() 396 if ( pHdl!=NULL || pView->IsMarkedHit(aPos, nHitLog) ) in MouseButtonDown() 403 pView->BegCreateObj(aPos); in MouseButtonDown() 435 Point aPos( pWindow->PixelToLogic( rMEvt.GetPosPixel() ) ); in MouseButtonUp() local 436 pView->MarkObj(aPos, nHitLog); in MouseButtonUp() 460 Point aPos( pWindow->PixelToLogic( rMEvt.GetPosPixel() ) ); in MouseMove() local 465 ForceScroll(aPos); in MouseMove() [all …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdograf.cxx | 1444 Point aPos( rMaxRect.TopLeft() ); in AdjustToMaxRect() local 1470 aPos = rMaxRect.Center(); in AdjustToMaxRect() 1474 aPos = aRect.TopLeft(); in AdjustToMaxRect() 1476 aPos.X() -= aSize.Width() / 2; in AdjustToMaxRect() 1477 aPos.Y() -= aSize.Height() / 2; in AdjustToMaxRect() 1478 SetLogicRect( Rectangle( aPos, aSize ) ); in AdjustToMaxRect() 1777 basegfx::B2DPoint aPos; in addCropHandles() local 1779 aPos = aMatrix * basegfx::B2DPoint(0.0, 0.0); in addCropHandles() 1781 aPos = aMatrix * basegfx::B2DPoint(0.5, 0.0); in addCropHandles() 1783 aPos = aMatrix * basegfx::B2DPoint(1.0, 0.0); in addCropHandles() [all …]
|
H A D | svdhlpln.cxx | 49 FASTBOOL bXHit=rPnt.X()>=aPos.X()-nTolLog && rPnt.X()<=aPos.X()+nTolLog+a1Pix.Width(); in IsHit() 50 FASTBOOL bYHit=rPnt.Y()>=aPos.Y()-nTolLog && rPnt.Y()<=aPos.Y()+nTolLog+a1Pix.Height(); in IsHit() 57 return rPnt.X()>=aPos.X()-aRad.Width() && rPnt.X()<=aPos.X()+aRad.Width()+a1Pix.Width() && in IsHit() 58 rPnt.Y()>=aPos.Y()-aRad.Height() && rPnt.Y()<=aPos.Y()+aRad.Height()+a1Pix.Height(); in IsHit() 67 Rectangle aRet(aPos,aPos); in GetBoundRect() 88 Point aPt1(rOut.LogicToPixel(aPos)), aPt2(rOut.LogicToPixel(rHelpLine.aPos)); in IsVisibleEqual()
|
/trunk/main/sw/source/ui/fldui/ |
H A D | fldtdlg.cxx | 155 Point aPos; in Initialize() local 160 aPos = pInfo->aPos; in Initialize() 177 aPos.X() += ( aParentSize.Width() - aSize.Width() ) / 2; in Initialize() 178 aPos.Y() += ( aParentSize.Height() - aSize.Height() ) / 2; in Initialize() 188 if ( aPos.X() > aPoint.X() ) in Initialize() 189 aPos.X() = aPoint.X() ; in Initialize() 190 if ( aPos.Y() > aPoint.Y() ) in Initialize() 191 aPos.Y() = aPoint.Y(); in Initialize() 193 if ( aPos.X() < 0 ) aPos.X() = 0; in Initialize() 194 if ( aPos.Y() < 0 ) aPos.Y() = 0; in Initialize() [all …]
|
H A D | FldRefTreeListBox.cxx | 48 Point aPos( ScreenToOutputPixel( rHEvt.GetMousePosPixel() )); in RequestHelp() local 49 SvLBoxEntry* pEntry = GetEntry( aPos ); in RequestHelp() 54 SvLBoxItem* pItem = GetItem( pEntry, aPos.X(), &pTab ); in RequestHelp() 57 aPos = GetEntryPosition( pEntry ); in RequestHelp() 59 aPos.X() = GetTabPos( pEntry, pTab ); in RequestHelp() 62 if((aPos.X() + aSize.Width()) > GetSizePixel().Width()) in RequestHelp() 63 aSize.Width() = GetSizePixel().Width() - aPos.X(); in RequestHelp() 65 aPos = OutputToScreenPixel(aPos); in RequestHelp() 66 Rectangle aItemRect( aPos, aSize ); in RequestHelp()
|
/trunk/main/vcl/source/gdi/ |
H A D | outdev6.cxx | 817 Point aPos; in ImplDrawBitmapWallpaper() local 875 aPos = aBound.TopLeft(); in ImplDrawBitmapWallpaper() 880 aPos = Point( nX, nY ); in ImplDrawBitmapWallpaper() 913 aPos.X() += ( aSize.Width() - nBmpWidth ); in ImplDrawBitmapWallpaper() 929 aPos.X() += ( aSize.Width() - nBmpWidth ); in ImplDrawBitmapWallpaper() 947 aPos.X() += ( aSize.Width() - nBmpWidth ); in ImplDrawBitmapWallpaper() 961 nFirstX = aPos.X(); in ImplDrawBitmapWallpaper() 962 nFirstY = aPos.Y(); in ImplDrawBitmapWallpaper() 1011 aWorkRect = Rectangle( 0, aPos.Y(), aPos.X() - 1L, aPos.Y() + aBmpSize.Height() - 1L ); in ImplDrawBitmapWallpaper() 1021 …aWorkRect = Rectangle( aPos.X() + aBmpSize.Width(), aPos.Y(), aOutRect.Right(), aPos.Y() + aBmpSiz… in ImplDrawBitmapWallpaper() [all …]
|
/trunk/main/desktop/source/deployment/gui/ |
H A D | dp_gui_extlistbox.cxx | 439 return Rectangle( aPos, aSize ); in GetEntryRect() 545 Point aPos( rRect.TopLeft() ); in DrawRow() local 546 aPos += Point( TOP_OFFSET, TOP_OFFSET ); in DrawRow() 554 …DrawImage( Point( aPos.X()+((ICON_WIDTH-aImageSize.Width())/2), aPos.Y()+((ICON_HEIGHT-aImageSize.… in DrawRow() 597 DrawText( aPos, aShortTitle ); in DrawRow() 601 DrawText( aPos, pEntry->m_sTitle ); in DrawRow() 604 DrawText( Point( aPos.X() + aTitleWidth, aPos.Y() ), pEntry->m_sVersion ); in DrawRow() 625 aPos.Y() += aTextHeight; in DrawRow() 633 DrawText( Rectangle( aPos.X(), aPos.Y(), rRect.Right(), rRect.Bottom() - nExtraHeight ), in DrawRow() 641 DrawText( aPos, sDescription ); in DrawRow() [all …]
|
/trunk/main/sfx2/source/dialog/ |
H A D | dockwin.cxx | 756 Point aPos; in Docking() local 763 aPos = aInnerRect.TopLeft(); in Docking() 765 aPos.X() -= aSize.Width(); in Docking() 782 aPos.X() += aSize.Width(); in Docking() 797 rRect.SetPos(aPos); in Docking() 1099 Point aPos; in Initialize() local 1211 if ( aPos != Point() ) in Initialize_Impl() 1220 aPos = GetParent()->ScreenToOutputPixel( aPos ); in Initialize_Impl() 1221 SetFloatingPos( aPos ); in Initialize_Impl() 1427 Point aInPosTL( aPos.X()-aInRect.Left(), aPos.Y()-aInRect.Top() ); in CalcAlignment() [all …]
|
/trunk/main/starmath/source/ |
H A D | rect.cxx | 324 { Point aPos (GetTopLeft()); in AlignTo() local 338 aPos.Y() = rRect.GetTop() - GetHeight(); in AlignTo() 341 aPos.Y() = rRect.GetBottom() + 1; in AlignTo() 356 aPos.Y() += rRect.GetAlignT() - GetAlignT(); in AlignTo() 359 aPos.Y() += rRect.GetAlignM() - GetAlignM(); in AlignTo() 364 aPos.Y() += rRect.GetBaseline() - GetBaseline(); in AlignTo() 366 aPos.Y() += rRect.GetAlignM() - GetAlignM(); in AlignTo() 369 aPos.Y() += rRect.GetAlignB() - GetAlignB(); in AlignTo() 372 aPos.Y() += rRect.GetCenterY() - GetCenterY(); in AlignTo() 382 aPos.Y() += rRect.GetLoAttrFence() - GetTop(); in AlignTo() [all …]
|
/trunk/main/sd/source/ui/func/ |
H A D | fuinsert.cxx | 158 Point aPos; in DoExecute() local 160 aPos = aRect.Center(); in DoExecute() 161 aPos = mpWindow->PixelToLogic(aPos); in DoExecute() 360 Point aPos; in DoExecute() local 362 aPos = aWinRect.Center(); in DoExecute() 363 aPos = mpWindow->PixelToLogic(aPos); in DoExecute() 364 aPos.X() -= aSize.Width() / 2; in DoExecute() 365 aPos.Y() -= aSize.Height() / 2; in DoExecute() 366 aRect = Rectangle(aPos, aSize); in DoExecute() 770 Point aPos; in DoExecute() local [all …]
|
/trunk/main/sd/source/ui/view/ |
H A D | drviewse.cxx | 1183 aPos.X() -= nW / 2; in FuSupport() 1184 aPos.Y() -= nH / 2; in FuSupport() 1216 aPos.X() -= nW / 2; in FuSupport() 1217 aPos.Y() -= nH / 2; in FuSupport() 1551 Point aPos; in InsertURLField() local 1555 aPos = *pPos; in InsertURLField() 1560 aPos = aRect.Center(); in InsertURLField() 1561 aPos = GetActiveWindow()->PixelToLogic(aPos); in InsertURLField() 1650 Point aPos; in InsertURLButton() local 1654 aPos = *pPos; in InsertURLButton() [all …]
|
/trunk/main/sw/source/core/undo/ |
H A D | undobj.cxx | 368 aPos.nNode--; in MoveToUndoNds() 378 aPos.nNode++; in MoveToUndoNds() 379 aPos.nContent = 0; in MoveToUndoNds() 382 aPos.nNode.GetNode().GetCntntNode()->MakeEndIndex( &aPos.nContent ); in MoveToUndoNds() 392 aPos.nContent = 0; in MoveToUndoNds() 393 aPos.nNode--; in MoveToUndoNds() 414 ++aPos.nContent; in MoveToUndoNds() 424 *pEndNdIdx = aPos.nNode.GetIndex(); in MoveToUndoNds() 426 *pEndCntIdx = aPos.nContent.GetIndex(); in MoveToUndoNds() 429 aPos.nNode = nTmpMvNode; in MoveToUndoNds() [all …]
|
/trunk/main/svtools/source/dialogs/ |
H A D | property.cxx | 102 Point aPos(0,0); in SetCtrSize() local 103 aEdit.SetPosPixel(aPos); in SetCtrSize() 230 Point aPos(0,0); in SetCtrSize() local 367 Point aPos(0,0); in SetCtrSize() local 499 Point aPos(0,0); in Resize() local 753 Point aPos(0,0); in Resize() local 832 aPos.Y()+=nRowHeight; in UpdatePosNSize() 840 Point aPos(0,0); in UpdatePlayGround() local 874 aPos.Y()+=nRowHeight; in UpdatePlayGround() 1148 Point aPos(3,3); in Resize() local [all …]
|
/trunk/main/svtools/source/contnr/ |
H A D | ivctrl.cxx | 285 Point aPos( rPosPixel ); in GetLogicPos() local 286 aPos -= GetMapMode().GetOrigin(); in GetLogicPos() 287 return aPos; in GetLogicPos() 292 Point aPos( rPosLogic ); in GetPixelPos() local 293 aPos += GetMapMode().GetOrigin(); in GetPixelPos() 294 return aPos; in GetPixelPos() 347 Point aPos( rPixPos ); in GetEntry() local 348 aPos -= GetMapMode().GetOrigin(); in GetEntry() 378 Point aPos( rPixPos ); in GetNextEntry() local 379 aPos -= GetMapMode().GetOrigin(); in GetNextEntry() [all …]
|
H A D | imivctl1.cxx | 1446 aPos.X() = nRealWidth; aPos.Y() = 0; in PositionScrollBars() 1448 aPos.X()++; in PositionScrollBars() 1449 aPos.Y()--; in PositionScrollBars() 2593 Point aPos( rPosPix ); in ShowDDIcon() local 2594 ToDocPos( aPos ); in ShowDDIcon() 2598 aDDLastEntryPos = aPos; in ShowDDIcon() 2599 aDDLastRectPos = aPos; in ShowDDIcon() 3545 return aPos; in AdjustAtGrid() 3720 aPos = pView->GetPixelPos( aPos ); in EditEntry() 3721 aRect.SetPos( aPos ); in EditEntry() [all …]
|
/trunk/main/svx/source/dialog/ |
H A D | pagectrl.cxx | 263 Point aPos; in DrawPage() local 276 aPos = aRect.TopLeft(); in DrawPage() 282 aPos = aRect.TopRight(); in DrawPage() 283 aPos.X() -= nAWidth; in DrawPage() 289 aPos = aRect.TopLeft(); in DrawPage() 294 aPos = aRect.TopRight(); in DrawPage() 295 aPos.X() -= nAWidth; in DrawPage() 309 aPos.X() += nHDiff; in DrawPage() 311 DrawText(aPos,sDraw); in DrawPage() 318 aPos.X() -= nHDiff; in DrawPage() [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | viewfun7.cxx | 92 Point aPos( rLogicPos ); in PasteDraw() local 114 aPos -= aDragStartDiff; in PasteDraw() 117 if (aPos.X() > 0) aPos.X() = 0; in PasteDraw() 121 if (aPos.X() < 0) aPos.X() = 0; in PasteDraw() 123 if (aPos.Y() < 0) aPos.Y() = 0; in PasteDraw() 136 long nDiffX = aPos.X() - aSourceStart.X(); in PasteDraw() 137 long nDiffY = aPos.Y() - aSourceStart.Y(); in PasteDraw() 213 lcl_AdjustInsertPos( GetViewData(), aPos, aSize ); in PasteDraw() 425 Point aPos( rPos ); in PasteGraphic() local 443 aPos.X() -= aSize.Width(); in PasteGraphic() [all …]
|
/trunk/main/svx/source/accessibility/ |
H A D | AccessibleFrameSelector.cxx | 365 Point aPos; in getBounds() local 374 aPos = aSpot.TopLeft(); in getBounds() 378 aRet.X = aPos.X(); in getBounds() 379 aRet.Y = aPos.Y(); in getBounds() 391 Point aPos; in getLocation() local 399 aPos = aSpot.TopLeft(); in getLocation() 401 AwtPoint aRet(aPos.X(), aPos.Y()); in getLocation() 411 Point aPos; in getLocationOnScreen() local 419 aPos = aSpot.TopLeft(); in getLocationOnScreen() 421 aPos = mpFrameSel->OutputToAbsoluteScreenPixel( aPos ); in getLocationOnScreen() [all …]
|
/trunk/main/cui/source/dialogs/ |
H A D | colorpicker.cxx | 617 Point aPos = maPosition; in ShowPosition() local 673 aPos.X() += dx; in KeyMove() 674 aPos.Y() += dy; in KeyMove() 675 if( aPos.X() < 0 ) in KeyMove() 676 aPos.X() += aSize.Width(); in KeyMove() 678 aPos.X() -= aSize.Width(); in KeyMove() 680 if( aPos.Y() < 0 ) in KeyMove() 685 ShowPosition( aPos, true ); in KeyMove() 1013 Point aPos; in Paint() local 1018 aPos.X() += 1; in Paint() [all …]
|
/trunk/main/sw/source/core/unocore/ |
H A D | unoparagraph.cxx | 442 SwPosition aPos( rTxtNode ); in SetPropertyValues_Impl() local 598 SwPosition aPos( rTxtNode ); in GetPropertyValues_Impl() local 599 SwPaM aPam( aPos ); in GetPropertyValues_Impl() 734 SwPosition aPos( rTxtNode ); in setPropertyValuesTolerant() local 1055 SwPosition aPos(rTxtNode); in lcl_SwXParagraph_getPropertyState() local 1056 SwPaM aPam(aPos); in lcl_SwXParagraph_getPropertyState() 1228 SwPosition aPos( rTxtNode ); in setPropertyToDefault() local 1377 SwPosition aPos( rTxtNode ); in getAnchor() local 1447 SwPosition aPos( rTxtNode ); in createEnumeration() local 1448 SwPaM aPam ( aPos ); in createEnumeration() [all …]
|