/trunk/main/reportdesign/source/ui/report/ |
H A D | ReportSection.cxx | 498 Point aPos = _rCEvt.GetMousePosPixel(); in Command() local 500 const sal_uInt16 nId = aContextMenu.Execute(this, aPos); in Command() 575 if ( aPos.X < i_nLeftMargin ) in impl_adjustObjectSizePosition() 577 aPos.X = i_nLeftMargin; in impl_adjustObjectSizePosition() 580 if ( (aPos.X + aSize.Width) > nRightBorder ) in impl_adjustObjectSizePosition() 582 aPos.X = nRightBorder - aSize.Width; in impl_adjustObjectSizePosition() 583 if ( aPos.X < i_nLeftMargin ) in impl_adjustObjectSizePosition() 586 aPos.X = i_nLeftMargin; in impl_adjustObjectSizePosition() 594 if ( aPos.Y < 0 ) in impl_adjustObjectSizePosition() 595 aPos.Y = 0; in impl_adjustObjectSizePosition() [all …]
|
/trunk/main/sw/source/core/undo/ |
H A D | undobj1.cxx | 290 SwPosition aPos( *pNode, aIndex ); in UndoImpl() local 291 rDoc.CorrAbs( aIdx, aEndIdx, aPos, sal_True ); in UndoImpl() 317 SwPosition aPos( *rContext.GetRepeatPaM().GetPoint() ); in RepeatImpl() local 320 aPos.nContent.Assign( 0, 0 ); in RepeatImpl() 322 aAnchor.SetAnchor( &aPos ); in RepeatImpl() 330 SwPosition aPos( *pSttNd ); in RepeatImpl() local 331 aAnchor.SetAnchor( &aPos ); in RepeatImpl() 525 SwPosition aPos( *pNd ); in GetAnchor() local 535 aPos.nContent.Assign(static_cast<SwTxtNode*>(pNd), nCntnt); in GetAnchor() 540 rAnchor.SetAnchor( &aPos ); in GetAnchor()
|
/trunk/main/svtools/source/contnr/ |
H A D | svimpbox.cxx | 813 Point aPos( rPosPixel ); in EntryReallyHit() local 815 if( aRect.IsInside( aPos ) ) in EntryReallyHit() 1464 nMaxRight = nMaxRight + aPos.X() - 1; in ShowVerSBar() 2120 Point aPos( rMEvt.GetPosPixel()); in MouseButtonDown() local 2122 if( aPos.X() > aOutputSize.Width() || aPos.Y() > aOutputSize.Height() ) in MouseButtonDown() 2140 if( !EntryReallyHit(pEntry,aPos,nY)) in MouseButtonDown() 2163 pEntry = GetClickedEntry( aPos ); in MouseButtonDown() 3272 aPos.X() *= -1; in GetVisibleArea() 3273 Rectangle aRect( aPos, aOutputSize ); in GetVisibleArea() 3339 aPos = GetEntryPosition( pEntry ); in RequestHelp() [all …]
|
H A D | svtreebx.cxx | 1423 Point aPos = GetEntryPosition( pEntry ); in EditItemText() local 1425 aPos.X() = GetTabPos( pEntry, pTab ); in EditItemText() 1434 aSize.Width() = nRight - aPos.X(); in EditItemText() 1439 Rectangle aRect( aPos, aSize ); in EditItemText() 1905 aPos.X() += pImp->nNodeBmpTabDistance; in PaintEntry1() 1957 DrawImage( aPos, *pImg ,nStyle); in PaintEntry1() 2597 Point aPos; in GetFirstEntryInView() local 2598 return GetEntry( aPos ); in GetFirstEntryInView() 2606 Point aPos( GetEntryPosition(pNext) ); in GetNextEntryInView() local 2608 if( aPos.Y() < 0 || aPos.Y() >= rSize.Height() ) in GetNextEntryInView() [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | gridwin2.cxx | 182 ScAddress aPos( nCol, nRow, nTab ); in DoPushButton() local 183 long nField = pDPObj->GetHeaderDim( aPos, nOrient ); in DoPushButton() 190 if (DPTestFieldPopupArrow(rMEvt, aPos, pDPObj)) in DoPushButton() 201 else if ( pDPObj->IsFilterButton(aPos) ) in DoPushButton() 302 ScAddress aPos( nPosX, nPosY, pViewData->GetTabNo() ); in DPTestMouse() local 804 Point aPos = rMEvt.GetPosPixel(); in PagebreakMove() local 807 if ( aPos.X() < 0 ) nDx = -1; in PagebreakMove() 808 if ( aPos.Y() < 0 ) nDy = -1; in PagebreakMove() 810 if ( aPos.X() >= aSize.Width() ) in PagebreakMove() 812 if ( aPos.Y() >= aSize.Height() ) in PagebreakMove() [all …]
|
H A D | tabview4.cxx | 95 Point aPos( bLeft ? aStart.X() : ( aEnd.X() + 3 ), in ShowRefTip() local 105 aPos.Y() -= 2; // die 3 von oben in ShowRefTip() 109 Rectangle aRect( pWin->OutputToScreenPixel( aPos ), Size(1,1) ); in ShowRefTip() 292 Point aPos = aViewData.GetScrPos( nEndX+nAddX, nEndY+nAddY, aViewData.GetActivePart() ); in UpdateRef() local 293 aPos.X() += 8; in UpdateRef() 294 aPos.Y() += 4; in UpdateRef() 297 aPos = pWin->OutputToScreenPixel( aPos ); in UpdateRef() 298 Rectangle aRect( aPos, aPos ); in UpdateRef()
|
/trunk/main/svx/source/table/ |
H A D | tablecontroller.cxx | 333 CellPos aPos; in onMouseMove() local 336 if(aPos != maMouseDownPos) in onMouseMove() 340 setSelectedCells( maMouseDownPos, aPos ); in onMouseMove() 350 UpdateSelection( aPos ); in onMouseMove() 1447 gotoCell( aPos, bSelect, pWindow, nAction ); in executeAction() 1690 CellPos aPos( rPos ); in EditCell() local 1691 findMergeOrigin( aPos ); in EditCell() 1698 pTableObj->setActiveCell( aPos ); in EditCell() 1808 CellPos aPos( nCol, nRow ); in getSelectedCells() local 1809 findMergeOrigin( aPos ); in getSelectedCells() [all …]
|
/trunk/main/basctl/source/basicide/ |
H A D | baside2.cxx | 140 Point aPos( nLeftMargin, nY ); in lcl_PrintHeader() local 142 pPrinter->DrawText( aPos, rTitle ); in lcl_PrintHeader() 152 aPos.X() += pPrinter->GetTextWidth( rTitle ); in lcl_PrintHeader() 154 pPrinter->DrawText( aPos, aPageStr ); in lcl_PrintHeader() 996 Point aPos( LMARGPRN, TMARGPRN ); in FormatAndPrint() local 1005 aPos.Y() += nLineHeight; in FormatAndPrint() 1015 aPos.Y() += nParaSpace; in FormatAndPrint() 1187 String aPos( IDEResId( RID_STR_LINE ) ); in GetState() local 1188 aPos += ' '; in GetState() 1191 aPos += String( IDEResId( RID_STR_COLUMN ) ); in GetState() [all …]
|
/trunk/main/odk/examples/DevelopersGuide/OfficeDev/Linguistic/ |
H A D | SampleHyphenator.java | 368 short aPos[] = new short[] { (short) 4 }; in createPossibleHyphens() local 370 "Schiff=fahrt", aPos); in createPossibleHyphens() 374 short aPos[] = new short[] { (short) 5 }; in createPossibleHyphens() local 376 "Schiff=fahrt", aPos); in createPossibleHyphens() 383 short aPos[] = new short[] in createPossibleHyphens() local 386 "wa=ter=fall", aPos); in createPossibleHyphens() 390 short aPos[] = new short[] in createPossibleHyphens() local 393 "driv=ing", aPos); in createPossibleHyphens()
|
/trunk/main/sfx2/source/dialog/ |
H A D | dinfdlg.cxx | 1752 Point aPos = m_aNoButton.GetPosPixel(); in Resize() local 1753 aPos.X() -= nDelta; in Resize() 1888 aPos.Y() -= nDelta; in IMPL_LINK() 2027 Point aDurationPos( aPos ); in InitControls() 2042 aPos.X() += aSize.Width() + 4; in InitControls() 2101 aPos.Y() += nPos; in AddLine() 2102 aPos.Y() += m_nScrollPos; in AddLine() 2229 aPos.Y() += nNewPos; in DoScroll() 2230 (*pCurrent)->SetPosPixel( aPos ); in DoScroll() 2359 Point aPos = m_aHeaderBar.GetPosPixel(); in CustomPropertiesControl() local [all …]
|
/trunk/main/vcl/source/window/ |
H A D | toolbox2.cxx | 1147 Point aPos; in ImplGetPopupPosition() local 1161 aPos = rRect.BottomLeft(); in ImplGetPopupPosition() 1162 aPos.Y()++; in ImplGetPopupPosition() 1168 aPos = rRect.TopLeft(); in ImplGetPopupPosition() 1169 aPos.Y()--; in ImplGetPopupPosition() 1177 aPos = rRect.TopRight(); in ImplGetPopupPosition() 1178 aPos.X()++; in ImplGetPopupPosition() 1184 aPos = rRect.TopLeft(); in ImplGetPopupPosition() 1185 aPos.X()--; in ImplGetPopupPosition() 1190 aPos.X() = rRect.Right(); in ImplGetPopupPosition() [all …]
|
/trunk/main/sd/source/ui/annotations/ |
H A D | annotationtag.cxx | 603 … Point aPos( static_cast<long>(aPosition.X * 100.0), static_cast<long>(aPosition.Y * 100.0) ); in select() 605 Rectangle aVisRect( aPos, pWindow->PixelToLogic(maSize) ); in select() 657 Point aPos; in CreateAnnotationBitmap() local 658 Rectangle aBorderRect( aPos, maSize ); in CreateAnnotationBitmap() 666 return aVDev.GetBitmapEx( aPos, maSize ); in CreateAnnotationBitmap() 680 …Point aPos( pWindow->OutputToScreenPixel( pWindow->LogicToPixel( Point( static_cast<long>(aPositio… in OpenPopup() local 682 aPos.X() += 4; // magic! in OpenPopup() 683 aPos.Y() += 1; in OpenPopup() 685 Rectangle aRect( aPos, maSize ); in OpenPopup()
|
/trunk/main/toolkit/source/controls/ |
H A D | stdtabcontroller.cxx | 268 pE->aPos.X() = aPosSize.X; in autoTabOrder() 269 pE->aPos.Y() = aPosSize.Y; in autoTabOrder() 275 if ( pEntry->aPos.Y() >= pE->aPos.Y() ) in autoTabOrder() 277 while ( pEntry && ( pEntry->aPos.Y() == pE->aPos.Y() ) in autoTabOrder() 278 && ( pEntry->aPos.X() < pE->aPos.X() ) ) in autoTabOrder()
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | nameuno.cxx | 172 ScAddress aPos(pOld->GetPos()); in Modify_Impl() local 174 aPos = *pNewPos; in Modify_Impl() 299 ScAddress aPos; in getReferencePosition() local 302 aPos = pData->GetPos(); in getReferencePosition() 304 aAddress.Column = aPos.Col(); in getReferencePosition() 305 aAddress.Row = aPos.Row(); in getReferencePosition() 306 aAddress.Sheet = aPos.Tab(); in getReferencePosition() 327 Modify_Impl( NULL, NULL, NULL, &aPos, NULL,formula::FormulaGrammar::GRAM_PODF_A1 ); in setReferencePosition() 600 ScAddress aPos( (SCCOL)aPosition.Column, (SCROW)aPosition.Row, aPosition.Sheet ); in ImplAddNewByScopeAndName() local 621 aPos, nNewType,formula::FormulaGrammar::GRAM_PODF_A1 );//GRAM_ODFF,// in ImplAddNewByScopeAndName() [all …]
|
/trunk/main/framework/source/uielement/ |
H A D | langselectionstatusbarcontroller.cxx | 119 const ::com::sun::star::awt::Point& aPos ) in LangMenu() 205 com::sun::star::awt::Rectangle aRect( aPos.X, aPos.Y, 0, 0 ); in LangMenu() 261 const ::com::sun::star::awt::Point& aPos, in command() 270 LangMenu( aPos ); in command() 275 const ::com::sun::star::awt::Point& aPos ) in click() 279 LangMenu( aPos ); in click()
|
/trunk/main/vcl/source/control/ |
H A D | morebtn.cxx | 164 Point aPos( pParent->GetPosPixel() ); in Click() local 168 if ( (aPos.Y()+aSize.Height()) > aDeskRect.Bottom() ) in Click() 170 aPos.Y() = aDeskRect.Bottom()-aSize.Height(); in Click() 172 if ( aPos.Y() < aDeskRect.Top() ) in Click() 173 aPos.Y() = aDeskRect.Top(); in Click() 175 pParent->SetPosSizePixel( aPos, aSize ); in Click()
|
H A D | imgctrl.cxx | 85 Point aPos( _rArea.TopLeft() ); in lcl_centerWithin() local 86 aPos.X() += ( _rArea.GetWidth() - _rObjectSize.Width() ) / 2; in lcl_centerWithin() 87 aPos.Y() += ( _rArea.GetHeight() - _rObjectSize.Height() ) / 2; in lcl_centerWithin() 88 return aPos; in lcl_centerWithin() 194 const Point aPos = pDev->LogicToPixel( rPos ); in Draw() local 196 Rectangle aRect( aPos, aSize ); in Draw()
|
H A D | button.cxx | 1005 Point aPos = rRect.TopLeft(); in ImplDrawPushButtonContent() local 1273 Point aPos( GetPosPixel() ); in ImplSetDefButton() local 1305 aPos.Move(-dLeft, -dTop); in ImplSetDefButton() 1316 aPos.Move(dLeft, dTop); in ImplSetDefButton() 1323 SetPosSizePixel( aPos.X(), aPos.Y(), aSize.Width(), aSize.Height(), WINDOW_POSSIZE_ALL ); in ImplSetDefButton() 2313 Point aPos( rPos ); in ImplDraw() local 3409 Point aPos( rPos ); in ImplDraw() local 3795 aPos.Move(-1,-1); in GetFocus() 3798 SetPosSizePixel( aPos.X(), aPos.Y(), aSize.Width(), aSize.Height(), WINDOW_POSSIZE_ALL ); in GetFocus() 3827 aPos.Move(1,1); in LoseFocus() [all …]
|
/trunk/main/svx/source/tbxctrls/ |
H A D | layctrl.cxx | 147 Point aPos = rMEvt.GetPosPixel(); in MouseMove() local 148 Point aMousePos( aPos ); in MouseMove() 164 if ( aPos.X() > 0 ) in MouseMove() 165 nNewCol = aPos.X() / nMX + 1; in MouseMove() 166 if ( aPos.Y() > 0 ) in MouseMove() 167 nNewLine = aPos.Y() / nMY + 1; in MouseMove() 539 Point aPos = rMEvt.GetPosPixel(); in MouseMove() local 540 Point aMousePos = aPos; in MouseMove() 554 if ( aPos.X() > 0 ) in MouseMove() 555 nNewCol = aPos.X() / nMX + 1; in MouseMove() [all …]
|
/trunk/main/starmath/source/ |
H A D | toolbox.cxx | 285 Point aPos( 50, 75 ); in AdjustPosSize() local 289 aPos = Point( rWin.OutputToScreenPixel( in AdjustPosSize() 292 if (aPos.X() < 0) in AdjustPosSize() 293 aPos.X() = 0; in AdjustPosSize() 294 if (aPos.Y() < 0) in AdjustPosSize() 295 aPos.Y() = 0; in AdjustPosSize() 296 SetPosPixel( aPos ); in AdjustPosSize()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdotxdr.cxx | 99 Point aPos(rDrag.GetNow()); in ImpDragCalcRect() local 101 if (aGeo.nDrehWink!=0) RotatePoint(aPos,aTmpRect.TopLeft(),-aGeo.nSin,aGeo.nCos); in ImpDragCalcRect() 103 if (aGeo.nShearWink!=0) ShearPoint(aPos,aTmpRect.TopLeft(),-aGeo.nTan); in ImpDragCalcRect() 109 if (bLft) aTmpRect.Left() =aPos.X(); in ImpDragCalcRect() 110 if (bRgt) aTmpRect.Right() =aPos.X(); in ImpDragCalcRect() 111 if (bTop) aTmpRect.Top() =aPos.Y(); in ImpDragCalcRect() 112 if (bBtm) aTmpRect.Bottom()=aPos.Y(); in ImpDragCalcRect()
|
H A D | svdomedia.cxx | 155 Point aPos( rMaxRect.TopLeft() ); in AdjustToMaxRect() local 181 aPos = rMaxRect.Center(); in AdjustToMaxRect() 185 aPos = aRect.TopLeft(); in AdjustToMaxRect() 187 aPos.X() -= aSize.Width() / 2; in AdjustToMaxRect() 188 aPos.Y() -= aSize.Height() / 2; in AdjustToMaxRect() 189 SetLogicRect( Rectangle( aPos, aSize ) ); in AdjustToMaxRect()
|
/trunk/main/chart2/source/controller/dialogs/ |
H A D | tp_SeriesToAxis.cxx | 249 Point aPos = rCtrl.GetPosPixel(); in lcl_offsetControl() local 250 rCtrl.SetPosPixel( Point(aPos.getX() + nXOffset, aPos.getY() + nYOffset) ); in lcl_offsetControl() 275 Point aPos; in AdaptControlPositionsAndVisibility() local 277 aPos = aGrpAxis.GetPosPixel(); in AdaptControlPositionsAndVisibility() 279 aPos = aGrpBar.GetPosPixel(); in AdaptControlPositionsAndVisibility() 281 long nYOffset = aPos.getY() - m_aFL_PlotOptions.GetPosPixel().getY(); in AdaptControlPositionsAndVisibility()
|
/trunk/main/sfx2/source/statbar/ |
H A D | stbitem.cxx | 333 ::Point aPos( rMouseEvent.X, rMouseEvent.Y ); in mouseButtonDown() 335 ::MouseEvent aMouseEvent( aPos, in mouseButtonDown() 351 ::Point aPos( rMouseEvent.X, rMouseEvent.Y ); in mouseMove() 353 ::MouseEvent aMouseEvent( aPos, in mouseMove() 368 ::Point aPos( rMouseEvent.X, rMouseEvent.Y ); in mouseButtonUp() 370 ::MouseEvent aMouseEvent( aPos, in mouseButtonUp() 388 ::Point aPos( rPos.X, rPos.Y ); in command() 389 CommandEvent aCmdEvent( aPos, (sal_uInt16)nCommand, sal_True, NULL ); in command()
|
/trunk/main/dbaccess/source/ui/misc/ |
H A D | WExtendPages.cxx | 69 Point aPos(m_flColumns.GetPosPixel()); in OWizNormalExtend() local 71 m_flColumns.SetPosSizePixel(aPos, aflSize ); in OWizNormalExtend() 74 aPos = m_aTypeControl.GetPosPixel(); in OWizNormalExtend() 75 Size aNewSize(m_aTypeControl.GetSizePixel().Width(),nHeight - aPos.Y()-6); in OWizNormalExtend() 78 m_aTypeControl.SetPosSizePixel(aPos,aNewSize); in OWizNormalExtend()
|