/trunk/main/sw/source/ui/uiview/ |
H A D | viewmdi.cxx | 199 Point aPos; in _SetZoom() local 202 aPos.Y() = pWrtShell->GetAnyCurRect(RECT_PAGE).Top() - DOCUMENTBORDER; in _SetZoom() 207 aPos.X() = lLeftMargin; in _SetZoom() 210 rCharRect.Bottom() < aPos.Y() ) in _SetZoom() 211 aPos.Y() = rCharRect.Top() - rCharRect.Height(); in _SetZoom() 213 aPos.Y() = GetVisArea().Top(); in _SetZoom() 215 SetVisArea( aPos ); in _SetZoom()
|
H A D | viewdraw.cxx | 196 Point aPos( rVisArea.Center() ); in ExecDraw() local 201 aPos.X() = aDocSize.Width() / 2 + rVisArea.Left(); in ExecDraw() 204 aPos.Y() = aDocSize.Height() / 2 + rVisArea.Top(); in ExecDraw() 217 pWrtShell->SwFEShell::InsertDrawObj( *pObj, aPos ); in ExecDraw() 795 Point aPos( GetEditWin().LogicToPixel( rPt ) ); in ExecDrwTxtSpellPopup() local 797 if (pOLV->IsWrongSpelledWordAtPos( aPos )) in ExecDrwTxtSpellPopup() 801 pOLV->ExecuteSpellPopup( aPos,&aLink ); in ExecDrwTxtSpellPopup()
|
/trunk/main/svtools/source/brwbox/ |
H A D | brwhead.cxx | 53 Point aPos( rCEvt.GetMousePosPixel() ); in Command() local 55 aPos.X() += _pBrowseBox->GetColumnWidth(0); in Command() 57 Point( aPos.X(), aPos.Y() - GetSizePixel().Height() ), in Command()
|
H A D | editbrowsebox.cxx | 385 Point aPos( rRect.TopLeft() ); in PaintStatusCell() local 391 aPos.X() += ( rRect.GetWidth() - aImageSize.Width() ) / 2; in PaintStatusCell() 394 aPos.Y() += ( rRect.GetHeight() - aImageSize.Height() ) / 2; in PaintStatusCell() 397 rDev.DrawImage( aPos, aImageSize, aImage, 0 ); in PaintStatusCell() 399 rDev.DrawImage( aPos, aImage, 0 ); in PaintStatusCell() 580 Point aPos = _rEvt.GetPosPixel() - _rEvt.GetRect().TopLeft(); in implActivateCellOnMouseEvent() local 582 Window* pRealHandler = aController->GetWindow().FindWindow(aPos); in implActivateCellOnMouseEvent() 585 aPos -= pRealHandler->GetPosPixel(); in implActivateCellOnMouseEvent() 590 MouseEvent aEvent(aPos, _rEvt.GetClicks(), _rEvt.GetMode(), in implActivateCellOnMouseEvent()
|
/trunk/main/sd/source/ui/view/ |
H A D | drviewsb.cxx | 615 Point aPos; in FuTemp02() local 616 Rectangle aRect( aPos, GetActiveWindow()->GetOutputSizePixel() ); in FuTemp02() 617 aPos = aRect.Center(); in FuTemp02() 618 aPos = GetActiveWindow()->PixelToLogic(aPos); in FuTemp02() 619 aPos.X() -= aSize.Width() / 2; in FuTemp02() 620 aPos.Y() -= aSize.Height() / 2; in FuTemp02() 622 Rectangle aLogicRect(aPos, aSize); in FuTemp02()
|
/trunk/main/fpicker/source/office/ |
H A D | iodlg.cxx | 675 Point aPos( in Init_Impl() local 680 aPos.X() - n6AppFontInPixel, in Init_Impl() 685 aPos.X() += aSize.Width(); in Init_Impl() 686 aPos.X() += n3AppFontInPixel; in Init_Impl() 688 aPos.X() += aSize.Width(); in Init_Impl() 689 aPos.X() += n3AppFontInPixel / 2; in Init_Impl() 724 aPos.Y() += aSize.Height(); in Init_Impl() 726 long nYOffset = aPos.Y(); in Init_Impl() 728 nYOffset -= aPos.Y(); in Init_Impl() 731 aPos.Y() += nYOffset; in Init_Impl() [all …]
|
/trunk/main/dbaccess/source/core/dataaccess/ |
H A D | definitioncontainer.cxx | 101 NamedDefinitions::iterator aPos = find( _pDefinition ); in erase() local 102 if ( aPos != end() ) in erase() 103 m_aDefinitions.erase( aPos ); in erase() 428 Documents::iterator aPos = m_aDocuments[_nIndex]; in getByIndex() local 429 Reference<XContent> xProp = aPos->second; in getByIndex() 433 xProp = createObject(aPos->first); in getByIndex() 434 aPos->second = Documents::mapped_type(); in getByIndex()
|
/trunk/main/sc/source/ui/navipi/ |
H A D | content.cxx | 409 ScAddress aPos = GetNotePos( nChild ); in IMPL_LINK() local 410 pParentWindow->SetCurrentTable( aPos.Tab() ); in IMPL_LINK() 411 pParentWindow->SetCurrentCell( aPos.Col(), aPos.Row() ); in IMPL_LINK() 687 Point aPos( ScreenToOutputPixel( rHEvt.GetMousePosPixel() )); in RequestHelp() local 688 SvLBoxEntry* pEntry = GetEntry( aPos ); in RequestHelp() 723 SvLBoxString* pItem = (SvLBoxString*)(GetItem( pEntry, aPos.X(), &pTab )); in RequestHelp() 726 aPos = GetEntryPosition( pEntry ); in RequestHelp() 727 aPos.X() = GetTabPos( pEntry, pTab ); in RequestHelp() 728 aPos = OutputToScreenPixel(aPos); in RequestHelp() 731 Rectangle aItemRect( aPos, aSize ); in RequestHelp()
|
/trunk/main/vcl/unx/gtk/a11y/ |
H A D | atkcomponent.cxx | 177 awt::Point aPos; in component_wrapper_get_position() local 180 aPos = pComponent->getLocationOnScreen(); in component_wrapper_get_position() 182 aPos = pComponent->getLocation(); in component_wrapper_get_position() 184 *x = aPos.X; in component_wrapper_get_position() 185 *y = aPos.Y; in component_wrapper_get_position()
|
/trunk/main/cui/source/options/ |
H A D | optjava.cxx | 162 Point aPos(m_aClassPathBtn.GetPosPixel()); in SvxJavaOptionsPage() local 163 aPos.X() -= nDiff; in SvxJavaOptionsPage() 165 m_aClassPathBtn.SetPosSizePixel(aPos, aButtonSize); in SvxJavaOptionsPage() 166 aPos = m_aAddBtn.GetPosPixel(); in SvxJavaOptionsPage() 167 aPos.X() -= nDiff; in SvxJavaOptionsPage() 168 m_aAddBtn.SetPosSizePixel(aPos, aButtonSize); in SvxJavaOptionsPage() 169 aPos = m_aParameterBtn.GetPosPixel(); in SvxJavaOptionsPage() 170 aPos.X() -= nDiff; in SvxJavaOptionsPage() 171 m_aParameterBtn.SetPosSizePixel(aPos, aButtonSize); in SvxJavaOptionsPage()
|
H A D | optcolor.cxx | 1047 Point aPos = _pWin->GetPosPixel(); in SetNewPosition() local 1048 aPos.Y() -= nDelta; in SetNewPosition() 1049 _pWin->SetPosPixel( aPos ); in SetNewPosition() 1275 Point aPos = pWindow->GetPosPixel(); in lcl_MoveAndShow() local 1276 aPos.Y() += nOffset; in lcl_MoveAndShow() 1277 pWindow->SetPosPixel(aPos); in lcl_MoveAndShow() 1279 bHide = aPos.Y() > nMaxVisible || (aPos.Y() + pWindow->GetSizePixel().Height()) < 0; in lcl_MoveAndShow() 1299 Point aPos; in IMPL_LINK() local 1357 …Point aPos = aScrollWindow.aChapters[i]->GetPosPixel(); aPos.Y() += nOffset; aScrollWindow.aChapte… in IMPL_LINK() local 1358 …aPos = aScrollWindow.aChapterWins[i]->GetPosPixel(); aPos.Y() += nOffset; aScrollWindow.aChapterWi… in IMPL_LINK()
|
/trunk/main/sw/source/core/txtnode/ |
H A D | swfont.cxx | 872 Point aPos( rInf.GetPos() ); in _DrawText() local 874 rInf.SetPos( aPos ); in _DrawText() 877 CalcEsc( rInf, aPos ); in _DrawText() 1003 Point aPos( rInf.GetPos() ); in _DrawStretchText() local 1006 CalcEsc( rInf, aPos ); in _DrawStretchText() 1010 rInf.SetPos( aPos ); in _DrawStretchText() 1021 rInf.GetFrm()->SwitchLTRtoRTL( aPos ); in _DrawStretchText() 1024 rInf.GetFrm()->SwitchHorizontalToVertical( aPos ); in _DrawStretchText() 1028 rInf.GetOut().DrawStretchText( aPos, rInf.GetWidth(), in _DrawStretchText() 1031 rInf.GetOut().DrawStretchText( aPos, rInf.GetWidth(), CalcCaseMap( in _DrawStretchText() [all …]
|
/trunk/main/sw/source/filter/ww8/dump/ |
H A D | dump8.cxx | 137 Point aPos( aWinSize.Width() / 2 - aTextSize.Width() / 2, in Paint() local 140 DrawText( aPos, aText ); in Paint() 142 aPos.Y() += 20; in Paint() 143 DrawText( aPos, rMessg ); in Paint()
|
/trunk/main/sc/source/core/tool/ |
H A D | detdata.cxx | 73 ScAddress aPos = (*this)[i]->GetPos(); in UpdateReference() local 74 SCCOL nCol1 = aPos.Col(); in UpdateReference() 75 SCROW nRow1 = aPos.Row(); in UpdateReference() 76 SCTAB nTab1 = aPos.Tab(); in UpdateReference()
|
/trunk/main/sc/source/ui/view/ |
H A D | reffact.cxx | 232 pInfo->aPos.X()=nScSimpleRefX; in ScSimpleRefDlgWrapper() 233 pInfo->aPos.Y()=nScSimpleRefY; in ScSimpleRefDlgWrapper() 248 void ScSimpleRefDlgWrapper::SetDefaultPosSize(Point aPos, Size aSize, sal_Bool bSet) in SetDefaultPosSize() argument 253 nScSimpleRefX=aPos.X(); in SetDefaultPosSize() 254 nScSimpleRefY=aPos.Y(); in SetDefaultPosSize()
|
/trunk/main/svx/source/dialog/ |
H A D | dialcontrol.cxx | 66 Point aPos; in CopyBackground() local 67 DrawBitmapEx( aPos, rSrc.GetBitmapEx( aPos, maRect.GetSize() ) ); in CopyBackground() 274 Point aPos; in Paint() local 275 DrawBitmapEx( aPos, mpImpl->mpBmpBuffered->GetBitmapEx( aPos, mpImpl->maWinSize ) ); in Paint()
|
/trunk/main/dbaccess/source/ui/control/ |
H A D | TableGrantCtrl.cxx | 457 Point aPos( rRect.TopLeft() ); in PaintCell() local 461 if( aPos.X() < rRect.Right() || aPos.X() + nWidth > rRect.Right() || in PaintCell() 462 aPos.Y() < rRect.Top() || aPos.Y() + nHeight > rRect.Bottom() ) in PaintCell() 465 rDev.DrawText( aPos, aText ); in PaintCell()
|
/trunk/main/svtools/inc/svtools/ |
H A D | contextmenuhelper.hxx | 64 void completeAndExecute( const Point& aPos, PopupMenu& aPopupMenu ); 65 …void completeAndExecute( const Point& aPos, const ::com::sun::star::uno::Reference< ::com::sun::st… 73 bool createAndExecute( const Point& aPos, const ::rtl::OUString& aPopupMenuResourceURL ); 84 void executePopupMenu( const Point& aPos, PopupMenu* pMenu );
|
/trunk/main/svtools/source/control/ |
H A D | ctrlbox.cxx | 217 Point aPos( rUDEvt.GetRect().TopLeft() ); in UserDraw() local 219 aPos.X() += 2; in UserDraw() 220 aPos.Y() += ( rUDEvt.GetRect().GetHeight() - aImageSize.Height() ) / 2; in UserDraw() 222 const Rectangle aRect(aPos, aImageSize); in UserDraw() 813 Point aPos( nX, aTopLeft.Y() + (nH-pImg->GetSizePixel().Height())/2 ); in UserDraw() local 814 rUDEvt.GetDevice()->DrawImage( aPos, *pImg ); in UserDraw() 835 Point aPos( nX, aTopLeft.Y() + (nH-rUDEvt.GetDevice()->GetTextHeight())/2 ); in UserDraw() local 836 rUDEvt.GetDevice()->DrawText( aPos, aText ); in UserDraw() 903 Point aPos( nX, aTopLeft.Y() + (nH-nTextHeight)/2 ); in UserDraw() local 904 rUDEvt.GetDevice()->DrawText( aPos, aString ); in UserDraw()
|
/trunk/main/sw/source/core/doc/ |
H A D | doclay.cxx | 656 aAnch.SetAnchor( &aPos ); in _MakeFlySection() 813 SwPosition aPos( aIndex ); in MakeFlyAndMove() local 814 aPos.nContent.Assign( pNode, 0 ); in MakeFlyAndMove() 848 rTbl.MakeCopy( this, aPos, *pSelBoxes ); in MakeFlyAndMove() 858 aPos.nContent.Assign( 0, 0 ); // Index abmelden !! in MakeFlyAndMove() 890 CopyRange( *pTmp, aPos, false ); in MakeFlyAndMove() 963 aAnch.SetAnchor( &aPos ); in InsertDrawObj() 1438 SwPosition aPos( aAnchIdx ); in lcl_InsertLabel() local 1439 aAnch.SetAnchor( &aPos ); in lcl_InsertLabel() 1756 SwPosition aPos( aAnchIdx ); in lcl_InsertDrawLabel() local [all …]
|
/trunk/main/vcl/source/window/ |
H A D | scrwnd.cxx | 123 Point aPos( GetPointerPosPixel() ); in ImplSetRegion() local 128 maCenter = maLastMousePos = aPos; in ImplSetRegion() 129 aPos.X() -= aSize.Width() >> 1; in ImplSetRegion() 130 aPos.Y() -= aSize.Height() >> 1; in ImplSetRegion() 132 SetPosSizePixel( aPos, aSize ); in ImplSetRegion()
|
/trunk/main/sw/source/core/edit/ |
H A D | edglss.cxx | 186 SwPosition aPos( aIdx, SwIndex( pNd, pNd->Len() )); in _CopySelToDoc() local 191 *pSttNd = aPos.nNode; in _CopySelToDoc() 226 bRet = pInsDoc->InsCopyOfTbl( aPos, aBoxes, 0, bCpyTblNm, sal_False ); in _CopySelToDoc() 246 bRet = GetDoc()->CopyRange( *PCURCRSR, aPos, false ) in _CopySelToDoc() 254 bRet = GetDoc()->CopyRange( *PCURCRSR, aPos, false ) || bRet; in _CopySelToDoc()
|
/trunk/main/forms/source/richtext/ |
H A D | richtextengine.cxx | 134 ::std::vector< IEngineStatusListener* >::iterator aPos = ::std::find_if( in revokeEngineStatusListener() 139 …OSL_ENSURE( aPos != m_aStatusListeners.end(), "RichTextEngine::revokeEngineStatusListener: listene… in revokeEngineStatusListener() 140 if ( aPos != m_aStatusListeners.end() ) in revokeEngineStatusListener() 141 m_aStatusListeners.erase( aPos ); in revokeEngineStatusListener()
|
/trunk/main/svtools/source/dialogs/ |
H A D | wizdlg.cxx | 168 Point aPos( nOffX, nOffY+((nMaxHeight-aBtnSize.Height())/2) ); in ImplPosCtrls() local 169 pBtnData->mpButton->SetPosPixel( aPos ); in ImplPosCtrls() 175 Point aPos( nOffLeftAlignX, nOffY+((nMaxHeight-aBtnSize.Height())/2) ); in ImplPosCtrls() local 176 pBtnData->mpButton->SetPosPixel( aPos ); in ImplPosCtrls() 308 Point aPos( nOffX, nOffY ); in ImplPosTabPage() local 309 mpCurTabPage->SetPosSizePixel( aPos, aDlgSize ); in ImplPosTabPage()
|
/trunk/main/chart2/source/controller/dialogs/ |
H A D | tp_AxisPositions.cxx | 73 Point aPos( rControl.GetPosPixel() ); in lcl_newXPos() local 74 aPos.X() = nXPos; in lcl_newXPos() 75 rControl.SetPosPixel(aPos); in lcl_newXPos() 80 Point aPos( rControl.GetPosPixel() ); in lcl_shiftY() local 81 aPos.Y() += nYDiff; in lcl_shiftY() 82 rControl.SetPosPixel(aPos); in lcl_shiftY()
|