/trunk/main/vcl/source/window/ |
H A D | dockmgr.cxx | 902 mnTrackX = aPos.X(); in ImplStartDocking() 903 mnTrackY = aPos.Y(); in ImplStartDocking() 991 aPos.X() += maMouseOff.X(); in Tracking() 992 aPos.Y() += maMouseOff.Y(); in Tracking() 1037 maMouseOff.X() = aPos.X() - aTrackRect.Left(); in Tracking() 1038 maMouseOff.Y() = aPos.Y() - aTrackRect.Top(); in Tracking() 1093 Point aPos = aRect.TopLeft(); in EndDocking() local 1094 aPos = GetWindow()->GetParent()->ScreenToOutputPixel( aPos ); in EndDocking() 1550 Point aPos( aData.GetX(), aData.GetY() ); in GetFloatingPos() local 1551 aPos = mpFloatWin->GetParent()->ImplGetFrameWindow()->AbsoluteScreenToOutputPixel( aPos ); in GetFloatingPos() [all …]
|
/trunk/main/sfx2/source/appl/ |
H A D | workwin.cxx | 876 Point aPos; in Arrange_Impl() local 2850 aPos.X() += aSize.Width(); in ArrangeAutoHideWindows() 2856 aPos.X() -= aSize.Width(); in ArrangeAutoHideWindows() 2862 aPos.X() = aArea.Left(); in ArrangeAutoHideWindows() 2868 long nRight = aPos.X(); in ArrangeAutoHideWindows() 2882 aPos.X() = aArea.Left(); in ArrangeAutoHideWindows() 2896 aPos.Y() += aSize.Height(); in ArrangeAutoHideWindows() 2902 aPos.Y() -= aSize.Height(); in ArrangeAutoHideWindows() 2906 aPos.X() = aArea.Left(); in ArrangeAutoHideWindows() 2911 if ( aPos.Y() < aArea.Top() ) in ArrangeAutoHideWindows() [all …]
|
/trunk/main/svtools/source/brwbox/ |
H A D | brwbox2.cxx | 949 ++nRelRow, aPos.Y() += nDataRowHeigt ) in ImplPaintData() 963 aPos.X() = aOverallAreaPos.X(); in ImplPaintData() 991 if ( aPos.X() >= _rRect.Right() ) in ImplPaintData() 1017 Rectangle aFieldRect( aPos, in ImplPaintData() 1062 aPos.X() += pCol->Width(); in ImplPaintData() 1082 long nY = aPos.Y() + nDataRowHeigt - 1; in ImplPaintData() 1093 if (aPos.Y() > aOverallAreaBRPos.Y() + 1) in ImplPaintData() 1094 aPos.Y() = aOverallAreaBRPos.Y() + 1; in ImplPaintData() 1119 ? aPos.Y() - 1 in ImplPaintData() 1153 ? aPos.Y() - 1 in ImplPaintData() [all …]
|
/trunk/main/filter/source/flash/ |
H A D | swfwriter1.cxx | 448 Point aPos( rPos ); in Impl_writeText() local 453 aPos -= aOffset; in Impl_writeText() 457 aPos += aOffset; in Impl_writeText() 477 Point aPos( rPos ); in Impl_writeText() local 491 aPos = rPos + Point(+6,+6); in Impl_writeText() 493 aPos = rPos + Point(-6,+0); in Impl_writeText() 495 aPos = rPos + Point(-6,+6); in Impl_writeText() 497 aPos = rPos + Point(+0,+6); in Impl_writeText() 499 aPos = rPos + Point(+0,-6); in Impl_writeText() 501 aPos = rPos + Point(+6,-1); in Impl_writeText() [all …]
|
/trunk/main/sd/source/ui/animations/ |
H A D | CustomAnimationList.cxx | 263 Point aPos( rPos ); in Paint() local 269 rDev.DrawImage( aPos, mpParent->getImage( IMG_CUSTOMANIMATION_ON_CLICK, bHighContrast ) ); in Paint() 276 aPos.X() += 19; in Paint() 301 Point aImagePos( aPos ); in Paint() 306 aPos.X() += 19; in Paint() 307 aPos.Y() += ( aSize.Height() - rDev.GetTextHeight()) >> 1; in Paint() 309 …rDev.DrawText( aPos, rDev.GetEllipsisString( maDescription, rDev.GetOutputSizePixel().Width() - aP… in Paint() 422 Point aPos( 0, rPos.Y() ); in Paint() local 424 Rectangle aOutRect( aPos, aSize ); in Paint() 523 const Point aPos; in KeyInput() local [all …]
|
/trunk/main/sc/source/ui/attrdlg/ |
H A D | condfrmt.cxx | 105 Point aPos; in ScConditionalFormatDlg() local 165 aPos = aEdtCond12.GetPosPixel(); in ScConditionalFormatDlg() 166 aPos.X() += aEdtCond12.GetSizePixel().Width(); // rechter Rand in ScConditionalFormatDlg() 168 aCond1Size2 = Size( aPos.X() - aCond1Pos2.X(), aCond1Size3.Height() ); in ScConditionalFormatDlg() 169 aCond1Size1 = Size( aPos.X() - aCond1Pos1.X(), aCond1Size3.Height() ); in ScConditionalFormatDlg() 180 aPos = aEdtCond22.GetPosPixel(); in ScConditionalFormatDlg() 181 aPos.X() += aEdtCond22.GetSizePixel().Width(); // rechter Rand in ScConditionalFormatDlg() 183 aCond2Size2 = Size( aPos.X() - aCond2Pos2.X(), aCond2Size3.Height() ); in ScConditionalFormatDlg() 184 aCond2Size1 = Size( aPos.X() - aCond2Pos1.X(), aCond2Size3.Height() ); in ScConditionalFormatDlg() 195 aPos = aEdtCond32.GetPosPixel(); in ScConditionalFormatDlg() [all …]
|
/trunk/main/sc/source/core/tool/ |
H A D | compiler.cxx | 1793 aPos( rPos ), in ScCompiler() 1809 aPos( rPos ), in ScCompiler() 2744 ScRange aRange( aPos, aPos ); in IsDoubleReference() 2786 ScAddress aAddr( aPos ); in IsSingleReference() 3048 SCTAB nThisTab = aPos.Tab(); in IsColRowName() 3076 && ((ScFormulaCell*)pCell)->aPos != aPos // noIter in IsColRowName() 3205 && ((ScFormulaCell*)pCell)->aPos != aPos // noIter in IsColRowName() 5125 rRef.CalcAbsIfRel( aPos ); in CreateStringFromSingleRef() 5250 rRef.CalcAbsIfRel( aPos ); in HandleSingleRef() 5261 SCCOL nMyCol = aPos.Col(); in HandleSingleRef() [all …]
|
/trunk/main/basctl/source/basicide/ |
H A D | objdlg.cxx | 128 Point aPos = IDE_DLL()->GetExtraData()->GetObjectCatalogPos(); in ObjectCatalog() local 130 if ( aPos.X() == INVPOSITION ) in ObjectCatalog() 134 aPos = pWin->OutputToScreenPixel( Point( 0, 0 ) ); in ObjectCatalog() 137 aPos.X() += aAppWinSz.Width() / 2; in ObjectCatalog() 138 aPos.X() -= aDlgWinSz.Width() / 2; in ObjectCatalog() 139 aPos.Y() += aAppWinSz.Height() / 2; in ObjectCatalog() 140 aPos.Y() -= aDlgWinSz.Height() / 2; in ObjectCatalog() 142 SetPosPixel( aPos ); in ObjectCatalog()
|
/trunk/main/sfx2/source/dialog/ |
H A D | alienwarn.cxx | 162 Point aPos = m_aKeepCurrentBtn.GetPosPixel(); in InitSize() local 163 aPos.X() = ( aNewSize.Width() - (2*nTxtW) - a3Size.Width() ) / 2; in InitSize() 165 if ( nDefX < aPos.X() ) in InitSize() 166 aPos.X() = nDefX; in InitSize() 169 m_aKeepCurrentBtn.SetPosSizePixel( aPos, aNewSize ); in InitSize() 170 aPos.X() += nTxtW + a3Size.Width(); in InitSize() 171 m_aSaveODFBtn.SetPosSizePixel( aPos, aNewSize ); in InitSize()
|
/trunk/main/svtools/source/control/ |
H A D | valueset.cxx | 664 aPos.Y() = nStartY+nNoneHeight+1; in Format() 927 Point aPos = aRect.TopLeft(); in ImplHideSelect() local 929 DrawOutDev( aPos, aSize, aPos, aSize, maVirDev ); in ImplHideSelect() 1007 nX = aPos.X()-2; in ImplDrawDropPos() 1008 nY = aPos.Y(); in ImplDrawDropPos() 1015 nX = aPos.X()+2; in ImplDrawDropPos() 1016 nY = aPos.Y(); in ImplDrawDropPos() 1025 Point aPos = aRect1.TopLeft(); in ImplDrawDropPos() local 1027 DrawOutDev( aPos, aSize, aPos, aSize, maVirDev ); in ImplDrawDropPos() 1031 Point aPos = aRect2.TopLeft(); in ImplDrawDropPos() local [all …]
|
/trunk/main/oox/source/xls/ |
H A D | scenariobuffer.cxx | 114 BinAddress aPos; in importInputCells() local 115 rStrm >> aPos; in importInputCells() 119 getAddressConverter().convertToCellAddressUnchecked( aModel.maPos, aPos, mnSheet ); in importInputCells() 144 BinAddress aPos; in importScenario() local 145 rStrm >> aPos; in importScenario() 147 aModel.mbDeleted = getFlag( aPos.mnCol, BIFF_SCENARIO_DELETED ); in importScenario() 148 setFlag( aPos.mnCol, BIFF_SCENARIO_DELETED, false ); in importScenario() 149 getAddressConverter().convertToCellAddressUnchecked( aModel.maPos, aPos, mnSheet ); in importScenario()
|
/trunk/main/svtools/source/contnr/ |
H A D | svicnvw.cxx | 388 Point aPos( rPixPos ); in GetEntry() local 389 aPos -= GetMapMode().GetOrigin(); in GetEntry() 390 return ((SvIconView*)this)->pImp->GetEntry( aPos ); in GetEntry() 542 Point aPos( aRect.TopLeft() ); in EditItemText() local 543 aPos += GetMapMode().GetOrigin(); // Dok-Koord. -> Window-Koord. in EditItemText() 544 aRect.SetPos( aPos ); in EditItemText() 808 Point aPos( rPixPos ); in GetNextEntry() local 809 aPos -= GetMapMode().GetOrigin(); in GetNextEntry() 810 return ((SvIconView*)this)->pImp->GetNextEntry( aPos, pCurEntry ); in GetNextEntry() 815 Point aPos( rPixPos ); in GetPrevEntry() local [all …]
|
/trunk/main/cui/source/dialogs/ |
H A D | commonlingui.cxx | 198 Point aPos; in Enlarge() local 221 aPos = pMoveDown[i]->GetPosPixel(); in Enlarge() 222 aPos.Y() += _nY; in Enlarge() 223 pMoveDown[i]->SetPosPixel( aPos ); in Enlarge() 235 aPos = pMoveRight[i]->GetPosPixel(); in Enlarge() 236 aPos.X() += _nX; in Enlarge() 237 pMoveRight[i]->SetPosPixel( aPos ); in Enlarge()
|
/trunk/main/basctl/source/dlged/ |
H A D | dlged.cxx | 578 Point aPos; in IMPL_LINK() local 580 aPos.X() = (aOutSize.Width()>>1) - (aSize.Width()>>1); in IMPL_LINK() 584 aPos.X() -= aPos.X() % aGridSize_.Width(); in IMPL_LINK() 585 aPos.Y() -= aPos.Y() % aGridSize_.Height(); in IMPL_LINK() 589 if( (aPos.X() < aMinPos.X()) || (aPos.Y() < aMinPos.Y()) ) in IMPL_LINK() 591 aPos = aMinPos; in IMPL_LINK() 592 aPos.X() -= aPos.X() % aGridSize_.Width(); in IMPL_LINK() 593 aPos.Y() -= aPos.Y() % aGridSize_.Height(); in IMPL_LINK() 597 pDlgEdForm->SetSnapRect( Rectangle( aPos, aSize ) ); in IMPL_LINK() 1269 Point aPos( nLeftMargin, nY ); in lcl_PrintHeader() local [all …]
|
/trunk/main/sc/source/filter/xml/ |
H A D | XMLExportIterator.cxx | 140 if( aPos.Tab() != aNote.aPos.Tab() ) in operator <() 141 return (aPos.Tab() < aNote.aPos.Tab()); in operator <() 142 else if( aPos.Row() != aNote.aPos.Row() ) in operator <() 143 return (aPos.Row() < aNote.aPos.Row()); in operator <() 145 return (aPos.Col() < aNote.aPos.Col()); in operator <() 167 ScUnoConversion::FillApiAddress( rCellAddress, aNoteShapeList.begin()->aPos ); in GetFirstAddress() 180 while( (aItr != aNoteShapeList.end()) && (aItr->aPos == aAddress) ) in SetCellData() 190 while( (aItr != aNoteShapeList.end()) && (aItr->aPos.Tab() == nSkip) ) in SkipTable()
|
/trunk/main/chart2/source/controller/dialogs/ |
H A D | tp_Scale.cxx | 74 aPos.X() = nNewXPos; in lcl_placeControlAtX() 75 rControl.SetPosPixel(aPos); in lcl_placeControlAtX() 81 aPos.Y() = nNewYPos; in lcl_placeControlAtY() 82 rControl.SetPosPixel(aPos); in lcl_placeControlAtY() 87 Point aPos( rEdit.GetPosPixel() ); in lcl_shiftControls() local 88 long nShift = nNewXPos - aPos.X(); in lcl_shiftControls() 89 aPos.X() = nNewXPos; in lcl_shiftControls() 90 rEdit.SetPosPixel(aPos); in lcl_shiftControls() 92 aPos = rAuto.GetPosPixel(); in lcl_shiftControls() 93 aPos.X() += nShift; in lcl_shiftControls() [all …]
|
/trunk/main/sw/source/ui/misc/ |
H A D | glosbib.cxx | 548 Point aPos( ScreenToOutputPixel( rHEvt.GetMousePosPixel() )); in RequestHelp() local 549 SvLBoxEntry* pEntry = GetEntry( aPos ); in RequestHelp() 553 SvLBoxItem* pItem = GetItem( pEntry, aPos.X(), &pTab ); in RequestHelp() 556 aPos = GetEntryPosition( pEntry ); in RequestHelp() 558 aPos.X() = GetTabPos( pEntry, pTab ); in RequestHelp() 560 if((aPos.X() + aSize.Width()) > GetSizePixel().Width()) in RequestHelp() 561 aSize.Width() = GetSizePixel().Width() - aPos.X(); in RequestHelp() 562 aPos = OutputToScreenPixel(aPos); in RequestHelp() 563 Rectangle aItemRect( aPos, aSize ); in RequestHelp()
|
/trunk/main/framework/source/layoutmanager/ |
H A D | helpers.cxx | 58 bool hasDefaultPosValue( const ::Point& aPos ) in hasDefaultPosValue() argument 60 return (( aPos.X() == SAL_MAX_INT32 ) || ( aPos.Y() == SAL_MAX_INT32 )); in hasDefaultPosValue() 63 bool isDefaultPos( const ::com::sun::star::awt::Point& aPos ) in isDefaultPos() argument 65 return (( aPos.X == SAL_MAX_INT32 ) && ( aPos.Y == SAL_MAX_INT32 )); in isDefaultPos() 68 bool isDefaultPos( const ::Point& aPos ) in isDefaultPos() argument 70 return (( aPos.X() == SAL_MAX_INT32 ) && ( aPos.Y() == SAL_MAX_INT32 )); in isDefaultPos()
|
/trunk/main/reportdesign/source/ui/dlg/ |
H A D | CondFormat.cxx | 352 Point aPos; in impl_layoutAll() local 353 impl_layoutConditions( aPos ); in impl_layoutAll() 356 m_aCondScroll.SetPosSizePixel( 0, 0, 0, aPos.Y(), WINDOW_POSSIZE_HEIGHT ); in impl_layoutAll() 362 aPos += LogicToPixel( Point( 0 , RELATED_CONTROLS ), MAP_APPFONT ); in impl_layoutAll() 363 m_aSeparator.SetPosSizePixel( 0, aPos.Y(), 0, 0, WINDOW_POSSIZE_Y ); in impl_layoutAll() 365 aPos += LogicToPixel( Point( 0 , UNRELATED_CONTROLS ), MAP_APPFONT ); in impl_layoutAll() 369 pWindows[i]->SetPosSizePixel( 0, aPos.Y(), 0, 0, WINDOW_POSSIZE_Y ); in impl_layoutAll() 372 aPos += LogicToPixel( Point( 0, BUTTON_HEIGHT + RELATED_CONTROLS ), MAP_APPFONT ); in impl_layoutAll() 373 SetPosSizePixel( 0, 0, 0, aPos.Y(), WINDOW_POSSIZE_HEIGHT ); in impl_layoutAll()
|
/trunk/main/chart2/source/controller/main/ |
H A D | ChartController_Window.cxx | 1028 Point aPos( rCEvt.GetMousePosPixel() ); in execute_Command() local 1033 aPos = m_pChartWindow->GetPointerState().maPos; in execute_Command() 1299 Point aPos( rCEvt.GetMousePosPixel() ); in execute_Command() local 1523 awt::Point aPos( xShape->getPosition() ); in execute_KeyInput() local 1526 … aPos.X = static_cast< long >( static_cast< double >( aPos.X ) + fShiftAmountX ); in execute_KeyInput() 1527 … aPos.Y = static_cast< long >( static_cast< double >( aPos.Y ) + fShiftAmountY ); in execute_KeyInput() 1530 if( aPos.X < 0 ) in execute_KeyInput() 1531 aPos.X = 0; in execute_KeyInput() 1534 if( aPos.Y < 0 ) in execute_KeyInput() 1535 aPos.Y = 0; in execute_KeyInput() [all …]
|
/trunk/main/oox/source/dump/ |
H A D | biffdumper.cxx | 635 Address aPos; in dumpAddress() local 638 return aPos; in dumpAddress() 988 TokenAddress aPos; in createTokenAddress() local 989 aPos.mnCol = nCol; in createTokenAddress() 991 aPos.mbRelCol = bRelC; in createTokenAddress() 992 aPos.mnRow = nRow; in createTokenAddress() 994 aPos.mbRelRow = bRelR; in createTokenAddress() 995 return aPos; in createTokenAddress() 1272 Address aPos; in dumpExpToken() local 1512 Address aPos; in dumpAddDataNlr() local [all …]
|
/trunk/main/svx/inc/svx/ |
H A D | svdhlpln.hxx | 47 Point aPos; // je nach Wert von eKind ist X oder Y evtl. belanglos member in SdrHelpLine 57 SdrHelpLine(SdrHelpLineKind eNewKind, const Point& rNewPos): aPos(rNewPos), eKind(eNewKind) {} in SdrHelpLine() 58 bool operator==(const SdrHelpLine& rCmp) const { return aPos==rCmp.aPos && eKind==rCmp.eKind; } in operator ==() 63 void SetPos(const Point& rPnt) { aPos=rPnt; } in SetPos() 64 const Point& GetPos() const { return aPos; } in GetPos()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdhdl.cxx | 323 aPos(rPnt), in SdrHdl() 378 if(aPos != rPnt) in SetPos() 381 aPos = rPnt; in SetPos() 612 basegfx::B2DPoint aPosition(aPos.X(), aPos.Y()); in CreateB2dIAObject() 1048 basegfx::B2DPoint aPosition(aPos.X(), aPos.Y()); in CreateB2dIAObject() 1215 basegfx::B2DVector aVec(a2ndPos.X() - aPos.X(), a2ndPos.Y() - aPos.Y()); in CreateB2dIAObject() 1225 basegfx::B2DPoint aPosition(aPos.X(), aPos.Y()); in CreateB2dIAObject() 1432 basegfx::B2DPoint aPosition2(aPos.X(), aPos.Y()); in CreateB2dIAObject() 1556 basegfx::B2DPoint aPosition(aPos.X(), aPos.Y()); in CreateB2dIAObject() 1675 basegfx::B2DPoint aPosition(aPos.X(), aPos.Y()); in CreateB2dIAObject() [all …]
|
/trunk/main/sd/source/core/ |
H A D | sdpage.cxx | 939 Point aPos( X1, Y1 ); in CreateDefaultPresObj() local 945 Point aPos( X2, Y1 ); in CreateDefaultPresObj() local 951 Point aPos( X1, Y2 ); in CreateDefaultPresObj() local 957 Point aPos( X2, Y2 ); in CreateDefaultPresObj() local 1000 Point aPos = aTitlePos; in GetTitleRect() local 1037 aTitlePos = aPos; in GetTitleRect() 1322 rRectangle[2].SetPos( aPos ); in CalcAutoLayoutRectangles() 3085 Point aPos( nX, nY ); in CalculateHandoutAreas() local 3095 aPos.X() = nStartX; in CalculateHandoutAreas() 3099 aPos.X() += nOffsetX; in CalculateHandoutAreas() [all …]
|
/trunk/main/svx/source/unodraw/ |
H A D | unoshap3.cxx | 582 drawing::Position3D aPos; in getPropertyValueImpl() local 584 aPos.PositionX = rPos.getX(); in getPropertyValueImpl() 585 aPos.PositionY = rPos.getY(); in getPropertyValueImpl() 586 aPos.PositionZ = rPos.getZ(); in getPropertyValueImpl() 588 rValue <<= aPos; in getPropertyValueImpl() 675 static_cast<E3dSphereObj*>(mpObj.get())->SetSize(aPos); in setPropertyValueImpl() 703 drawing::Position3D aPos; in getPropertyValueImpl() local 705 aPos.PositionX = rPos.getX(); in getPropertyValueImpl() 706 aPos.PositionY = rPos.getY(); in getPropertyValueImpl() 707 aPos.PositionZ = rPos.getZ(); in getPropertyValueImpl() [all …]
|