/trunk/main/svx/source/dialog/ |
H A D | framelink.cxx | 824 bool bHor = Abs( aEnd.X() - aBeg.X() ) > Abs( aEnd.Y() - aBeg.Y() ); in lclDrawThinLine() 825 …const Point& rBegPos( bHor ? ((aBeg.X() < aEnd.X()) ? aBeg : aEnd) : ((aBeg.Y() < aEnd.Y()) ? aBeg… in lclDrawThinLine() 828 long nAlongBeg = bHor ? rBegPos.X() : rBegPos.Y(); in lclDrawThinLine() 829 long nAcrssBeg = bHor ? rBegPos.Y() : rBegPos.X(); in lclDrawThinLine() 830 long nAlongSize = (bHor ? rEndPos.X() : rEndPos.Y()) - nAlongBeg; in lclDrawThinLine() 831 long nAcrssSize = (bHor ? rEndPos.Y() : rEndPos.X()) - nAcrssBeg; in lclDrawThinLine() 912 …DBG_ASSERT( rLPos.X() <= rRPos.X(), "svx::frame::lclDrawHorFrameBorder - wrong order of line ends"… in lclDrawHorFrameBorder() 914 if( rLPos.X() <= rRPos.X() ) in lclDrawHorFrameBorder() 968 DBG_ASSERT( rTPos.X() == rBPos.X(), "svx::frame::lclDrawVerFrameBorder - line not vertical" ); in lclDrawVerFrameBorder() 1011 (bVert ? aPoints.maBeg.Y() : aPoints.maBeg.X()) += lclToMapUnit( nTOffs ); in lclGetDiagLineEnds() [all …]
|
H A D | dlgctrl.cxx | 560 aPtNew.X() = aPtMM.X(); in SetActualRPWithoutInvalidate() 600 if( aPt.X() < aSize.Width() / 3 ) in GetApproxLogPtFromPixPt() 601 x = aPtLT.X(); in GetApproxLogPtFromPixPt() 603 x = aPtMM.X(); in GetApproxLogPtFromPixPt() 605 x = aPtRB.X(); in GetApproxLogPtFromPixPt() 608 x = aPtMM.X(); in GetApproxLogPtFromPixPt() 696 _aPtNew.X() = aPtMM.X(); in SetState() 851 aDiff.X() = aFontSize.Width(); in Paint() 856 aDiff.X() = aDiff .X() * 3 / 2; in Paint() 867 aDiff.X() = aFontSize.Width() * 2; in Paint() [all …]
|
/trunk/main/oox/source/xls/ |
H A D | drawingmanager.cxx | 1051 sal_Int32 nL = rShapeRect.X; in implConvertAndInsert() 1053 sal_Int32 nR = rShapeRect.X + ::std::max< sal_Int32 >( rShapeRect.Width - 1, 0 ); in implConvertAndInsert() 1058 case BIFF_OBJ_LINE_TL: rBeg.X = nL; rBeg.Y = nT; rEnd.X = nR; rEnd.Y = nB; break; in implConvertAndInsert() 1059 case BIFF_OBJ_LINE_TR: rBeg.X = nR; rBeg.Y = nT; rEnd.X = nL; rEnd.Y = nB; break; in implConvertAndInsert() 1060 case BIFF_OBJ_LINE_BR: rBeg.X = nR; rBeg.Y = nB; rEnd.X = nL; rEnd.Y = nT; break; in implConvertAndInsert() 1061 case BIFF_OBJ_LINE_BL: rBeg.X = nL; rBeg.Y = nB; rEnd.X = nR; rEnd.Y = nT; break; in implConvertAndInsert() 1184 Rectangle aNewRect( rShapeRect.X, rShapeRect.Y, rShapeRect.Width * 2, rShapeRect.Height * 2 ); in implConvertAndInsert() 1189 …case BIFF_OBJ_ARC_TR: nStartAngle = 0; aNewRect.X -= rShapeRect.Width; … in implConvertAndInsert() 1244 …rAnchorRect.X + static_cast< sal_Int32 >( rAnchorRect.Width * getLimitedValue< double >( static_ca… in lclGetPolyPoint() 1264 …tFlag( mnPolyFlags, BIFF_OBJ_POLY_CLOSED ) && ((maCoords.front().X != maCoords.back().X) || (maCoo… in implConvertAndInsert() [all …]
|
H A D | worksheethelper.cxx | 691 …ool bLoopCols = lclPrepareInterval( nBegCol, nMidCol, nEndCol, aBegPos.X, aEndPos.X, rPosition.X ); in getCellAddressFromPosition() 700 …ls && lclUpdateInterval( nBegCol, nMidCol, nEndCol, aBegPos.X, aMidPos.X, aEndPos.X, rPosition.X ); in getCellAddressFromPosition() 708 if( aMidPos.X > rPosition.X ) --nMidCol; in getCellAddressFromPosition() 715 CellAddress aStartAddr = getCellAddressFromPosition( Point( rRect.X, rRect.Y ) ); in getCellRangeFromRectangle() 716 Point aBotRight( rRect.X + rRect.Width, rRect.Y + rRect.Height ); in getCellRangeFromRectangle() 725 if( bMultiCols && (aBotRight.X <= aEndPos.X) ) in getCellRangeFromRectangle() 785 …sal_Int32 nEndX = ::std::max( maShapeBoundingBox.X + maShapeBoundingBox.Width, rShapeRect.X + rSha… in extendShapeBoundingBox() 787 maShapeBoundingBox.X = ::std::min( maShapeBoundingBox.X, rShapeRect.X ); in extendShapeBoundingBox() 789 maShapeBoundingBox.Width = nEndX - maShapeBoundingBox.X; in extendShapeBoundingBox()
|
/trunk/main/xmloff/source/draw/ |
H A D | shapeexport2.cxx | 132 rTRTranslate -= ::basegfx::B2DTuple(pRefPoint->X, pRefPoint->Y); in ImpExportNewTrans_DecomposeAndRefPoint() 850 pArray->X + aBasePosition.X, 858 pArray->X + aBasePosition.X, 875 aEnd.X -= aStart.X; 1355 aStart.X -= pRefPoint->X; 1357 aEnd.X -= pRefPoint->X; 1370 aEnd.X -= aStart.X; 1386 mrExport.GetMM100UnitConverter().convertMeasure(sStringBuffer, aEnd.X); 1511 aStart.X -= pRefPoint->X; 1513 aEnd.X -= pRefPoint->X; [all …]
|
/trunk/main/chart2/source/controller/dialogs/ |
H A D | res_TextSeparator.cxx | 87 …m_aLB_Separator.SetPosPixel( Point( aPoint.X()+m_aFT_Separator.GetSizePixel().Width()+aDistanceSiz… in PositionBelowControl() 94 …long nMinPossibleLeftBorder = m_aFT_Separator.GetPosPixel().X() + m_aFT_Separator.GetSizePixel().W… in AlignListBoxWidthAndXPos() 98 aPos.X() = nWantedLeftBorder; in AlignListBoxWidthAndXPos() 102 …long nMinPossibleRightBorder = m_aLB_Separator.GetPosPixel().X() + m_aLB_Separator.CalcMinimumSize… in AlignListBoxWidthAndXPos() 103 if( nWantedRightBorder < m_aLB_Separator.GetPosPixel().X() + nMinimumListBoxWidth ) in AlignListBoxWidthAndXPos() 104 nWantedRightBorder = m_aLB_Separator.GetPosPixel().X() + nMinimumListBoxWidth; in AlignListBoxWidthAndXPos() 109 aSize.Width() = nWantedRightBorder-m_aLB_Separator.GetPosPixel().X(); in AlignListBoxWidthAndXPos()
|
/trunk/main/sw/source/core/frmedt/ |
H A D | fetab.cxx | 1581 SwTwips& rPointX = bVert ? aPt.Y() : aPt.X(); in lcl_FindFrm() 1582 SwTwips& rPointY = bVert ? aPt.X() : aPt.Y(); in lcl_FindFrm() 1781 const basegfx::B2DVector aBC( rC.X() - rB.X(), rC.Y() - rB.Y() ); in lcl_DistancePoint2Segment() 1782 const basegfx::B2DVector aAB( rB.X() - rA.X(), rB.Y() - rA.Y() ); in lcl_DistancePoint2Segment() 1789 const basegfx::B2DVector aAC( rC.X() - rA.X(), rC.Y() - rA.Y() ); in lcl_DistancePoint2Segment() 1790 const basegfx::B2DVector aBA( rA.X() - rB.X(), rA.Y() - rB.Y() ); in lcl_DistancePoint2Segment() 1882 aRet.X() = aMin1.X(); in lcl_ProjectOntoClosestTableFrm() 1891 if ( aRet.X() > aMin2.X() ) in lcl_ProjectOntoClosestTableFrm() 1892 aRet.X() = aMin2.X(); in lcl_ProjectOntoClosestTableFrm() 1893 else if ( aRet.X() < aMin1.X() ) in lcl_ProjectOntoClosestTableFrm() [all …]
|
/trunk/main/sdext/source/presenter/ |
H A D | PresenterScrollBar.cxx | 465 aRepaintBox.X += aWindowBox.X; in windowPaint() 483 maDragAnchor.X = rEvent.X; in mousePressed() 485 meButtonDownArea = GetArea(rEvent.X, rEvent.Y); in mousePressed() 541 const Area eArea (GetArea(rEvent.X, rEvent.Y)); in mouseMoved() 643 aBox.X1 += aWindowBox.X; in PaintBitmap() 645 aBox.X2 += aWindowBox.X; in PaintBitmap() 983 aBox.X1 += aWindowBox.X; in PaintComposite() 985 aBox.X2 += aWindowBox.X; in PaintComposite() 1029 const double nDistance (nX - maDragAnchor.X); in GetDragDistance() 1205 aBox.X1 += aWindowBox.X; in PaintComposite() [all …]
|
/trunk/main/sw/source/ui/fldui/ |
H A D | fldtdlg.cxx | 177 aPos.X() += ( aParentSize.Width() - aSize.Width() ) / 2; in Initialize() 183 aPoint.X() = aRect.Right() - aSize.Width(); in Initialize() 188 if ( aPos.X() > aPoint.X() ) in Initialize() 189 aPos.X() = aPoint.X() ; in Initialize() 193 if ( aPos.X() < 0 ) aPos.X() = 0; in Initialize()
|
/trunk/main/vcl/source/window/ |
H A D | taskpanelist.cxx | 64 if( pos1.X() == pos2.X() ) in operator ()() 67 return ( pos1.X() < pos2.X() ); in operator ()() 77 if( pos1.X() == pos2.X() ) in operator ()() 80 return ( pos1.X() < pos2.X() ); in operator ()()
|
H A D | brdwin.cxx | 279 if ( rPos.X() < pData->mnLeftBorder ) in ImplHitTest() 299 if ( rPos.X() < nSizeWidth ) in ImplHitTest() 308 if ( rPos.X() < nSizeWidth ) in ImplHitTest() 428 pData->mnTrackX = aPos.X(); in ImplMouseButtonDown() 795 aMousePos.X() -= pData->maMouseOff.X(); in ImplTracking() 803 aPos.X() += aMousePos.X(); in ImplTracking() 813 pData->mnTrackX = aPos.X(); in ImplTracking() 844 aNewRect.Left() += aMousePos.X(); in ImplTracking() 852 aNewRect.Right() += aMousePos.X(); in ImplTracking() 1733 aInRect.Move( pOffset->X(), pOffset->Y() ); in DrawWindow() [all …]
|
/trunk/main/sd/source/ui/slidesorter/view/ |
H A D | SlsFramePainter.cxx | 199 rAnchor1.X() in PaintSide() 201 + rCornerBitmap1.maOffset.X()); in PaintSide() 203 rAnchor2.X() in PaintSide() 204 + rCornerBitmap2.maOffset.X()\ in PaintSide() 214 else if (rAnchor1.X() == rAnchor2.X()) in PaintSide() 217 const sal_Int32 nX (rAnchor1.X() + maOffset.X()); in PaintSide()
|
/trunk/main/sd/source/ui/docshell/ |
H A D | sdclient.cxx | 125 aPos.X() = Max(aPos.X(), aWorkAreaTL.X()); in RequestNewObjectArea() 126 aPos.X() = Min(aPos.X(), aWorkAreaBR.X()-aSize.Width()); in RequestNewObjectArea() 158 aNewRectangle.Move(aDelta.X(), aDelta.Y()); in ObjectAreaChanged()
|
/trunk/main/svtools/source/control/ |
H A D | toolbarmenuacc.cxx | 365 const Point aNullPoint, aTestPoint( aPoint.X, aPoint.Y ); in containsPoint() 379 const Point aVclPoint( aPoint.X, aPoint.Y ); in getAccessibleAtPoint() 389 awt::Point aChildPoint( aPoint.X - pEntry->maRect.Left(), aPoint.Y - pEntry->maRect.Top() ); in getAccessibleAtPoint() 412 aRet.X = aOutPos.X(); in getBounds() 427 return awt::Point( aOutPos.X(), aOutPos.Y() ); in getLocation() 437 return awt::Point( aScreenPos.X(), aScreenPos.Y() ); in getLocationOnScreen() 895 const Point aNullPoint, aTestPoint( aPoint.X, aPoint.Y ); in containsPoint() 923 aRet.X = aRect.Left(); in getBounds() 937 return awt::Point( aRect.X, aRect.Y ); in getLocation() 951 aRet.X = aScreenPos.X(); in getLocationOnScreen()
|
/trunk/main/wizards/com/sun/star/wizards/reportbuilder/layout/ |
H A D | ReportBuilderLayouter.java | 688 xFixedText.setPositionX(_aRect.X); in insertLabel() 694 _aRect.X += _nWidth; in insertLabel() 791 _aRect.X += _nWidth; in insertFormattedField() 895 xFixedLine.setPositionX(_aRect.X); in insertLine() 899 _aRect.X += _nWidth; in insertLine() 1341 aRect.X = getLeftPageIndent(); in insertPageHeader() 1356 aRect.X = getLeftPageIndent(); in insertPageHeader() 1363 aRect.X = getLeftPageIndent(); in insertPageHeader() 1371 aRect.X = getLeftPageIndent(); in insertPageHeader() 1454 aRect.X = getLeftPageIndent(); in insertPageFooter() [all …]
|
/trunk/main/autodoc/inc/cosv/tpl/ |
H A D | processor.hxx | 89 template <typename X, typename R = void> 96 const X & i_object ) in Process() 100 const X & i_object ) = 0; 110 template <typename X, typename R = void> 117 X & i_object ) in Process() 121 X & i_object ) = 0;
|
/trunk/main/sc/source/ui/view/ |
H A D | select.cxx | 93 pViewData->GetPosFromPixel( aMPos.X(), aMPos.Y(), GetWhich(), nPosX, nPosY ); in BeginDrag() 247 if ( aEffPos.X() == 0 ) in SetCursorAtPoint() 248 aEffPos.X() = -1; in SetCursorAtPoint() 255 sal_Bool bRightScroll = ( aEffPos.X() >= aWinSize.Width() ); in SetCursorAtPoint() 257 sal_Bool bNegScroll = ( aEffPos.X() < 0 || aEffPos.Y() < 0 ); in SetCursorAtPoint() 262 pViewData->GetPosFromPixel( aEffPos.X(), aEffPos.Y(), GetWhich(), in SetCursorAtPoint() 293 if ( aEffPos.X() >= aWinSize.Width() ) in SetCursorAtPoint() 764 bScroll = ( rPointPixel.X() < 0 || rPointPixel.X() >= aWinSize.Width() ); in SetCursorAtPoint() 775 if ( rPointPixel.X() > aWinSize.Width() ) in SetCursorAtPoint() 808 pViewData->GetPosFromPixel( rPointPixel.X(), rPointPixel.Y(), pViewData->GetActivePart(), in SetCursorAtPoint() [all …]
|
/trunk/main/sd/source/core/ |
H A D | sdpage.cxx | 1216 aLayoutPos.X() = long (aLayoutPos.X() + aLayoutSize.Width() * 1.05); in CalcAutoLayoutRectangles() 1227 aLayoutPos.X() = long (aLayoutPos.X() + aLayoutSize.Width() * 1.05); in CalcAutoLayoutRectangles() 1257 aLayoutPos.X() = long (aLayoutPos.X() + aLayoutSize.Width() * 1.05); in CalcAutoLayoutRectangles() 1280 aLayoutPos.X() = long (aLayoutPos.X() + aLayoutSize.Width() * 1.05); in CalcAutoLayoutRectangles() 1283 aLayoutPos.X() = aTempPnt.X(); in CalcAutoLayoutRectangles() 1302 aLayoutPos.X() = nX; in CalcAutoLayoutRectangles() 1368 aLayoutPos.X() = nX; in CalcAutoLayoutRectangles() 2057 aNewPos.X() = long((aTopLeft.X() - GetLftBorder()) * (double)aFractX) + nLeft; in ScaleObjects() 2060 Size aVec(aNewPos.X() - aTopLeft.X(), aNewPos.Y() - aTopLeft.Y()); in ScaleObjects() 3095 aPos.X() = nStartX; in CalculateHandoutAreas() [all …]
|
/trunk/main/oox/source/drawingml/chart/ |
H A D | chartdrawingfragment.cxx | 91 aAnchorRect.X = static_cast< sal_Int64 >( maFrom.mfX * rChartRect.Width + 0.5 ); in calcAnchorRectEmu() 97 … aAnchorRect.Width = static_cast< sal_Int64 >( maTo.mfX * rChartRect.Width + 0.5 ) - aAnchorRect.X; in calcAnchorRectEmu() 100 aAnchorRect.X += aAnchorRect.Width; in calcAnchorRectEmu() 127 maChartRectEmu.X = convertHmmToEmu( rShapesOffset.X ); in ChartDrawingFragment() 215 …if( (aShapeRectEmu.X >= 0) && (aShapeRectEmu.Y >= 0) && (aShapeRectEmu.Width >= 0) && (aShapeRectE… in onEndElement() 219 getLimitedValue< sal_Int32, sal_Int64 >( aShapeRectEmu.X, 0, SAL_MAX_INT32 ), in onEndElement()
|
/trunk/main/svtools/source/filter/ |
H A D | sgvspln.cxx | 138 #define abs(X) ((X) >= 0 ? (X) : -(X)) /* Absolutbetrag von X */ argument 139 #define sign(X, Y) (Y < 0 ? -abs(X) : abs(X)) /* Vorzeichen von */ argument 141 #define sqr(X) ((X) * (X)) /* Quadrat von X */ argument 743 ax[n]=Pt.X(); in CalcSpline()
|
/trunk/main/vcl/source/app/ |
H A D | help.cxx | 718 aPos.X() -= 4; in ImplSetHelpWindowPos() 731 aPos.X() += 12; in ImplSetHelpWindowPos() 749 aPos.X() = devHelpArea.Left(); in ImplSetHelpWindowPos() 751 aPos.X() = devHelpArea.Right(); in ImplSetHelpWindowPos() 763 aPos.X() -= aSz.Width(); in ImplSetHelpWindowPos() 765 aPos.X() -= aSz.Width()/2; in ImplSetHelpWindowPos() 775 if ( aPos.X() < aScreenRect.Left() ) in ImplSetHelpWindowPos() 776 aPos.X() = aScreenRect.Left(); in ImplSetHelpWindowPos() 777 else if ( ( aPos.X() + aSz.Width() ) > aScreenRect.Right() ) in ImplSetHelpWindowPos() 778 aPos.X() = aScreenRect.Right() - aSz.Width(); in ImplSetHelpWindowPos() [all …]
|
/trunk/main/svx/source/sidebar/tools/ |
H A D | ValueSetWithTextControl.cxx | 221 aBLPos.X() + 4, in UserDraw() 338 Point aStart(aBLPos.X() + nRectWidth *30 / 100,0); in UserDraw() 339 Point aEnd(aBLPos.X() + nRectWidth * 9 / 10,0); in UserDraw() 354 Point aStart(aBLPos.X() + nRectWidth / 9,0); in UserDraw() 372 Point aSStart(aBLPos.X()+(nRectWidth-nTextWidth)/2, aBLPos.Y() +(nRectHeight-nTextHeight)/2); in UserDraw() 393 aStart.X() = aBLPos.X() + 2; in UserDraw() 464 Point aStart(aBLPos.X()+(nRectWidth-nTextWidth)/2, aBLPos.Y() +(nRectHeight-nTextHeight)/2); in UserDraw() 476 Point aStart(aBLPos.X() + nRectWidth*7/20, aBLPos.Y() + nRectHeight*7/20); in UserDraw() 510 Point aStart(aBLPos.X()+(nRectWidth-nTextWidth)/2, aBLPos.Y() +(nRectHeight-nTextHeight)/2); in UserDraw()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdorect.cxx | 227 rRect.Move(aTmpPt.X(),aTmpPt.Y()); in TakeUnrotatedSnapRect() 346 aPnt.X()+=a; in GetHdl() 413 sal_Int32 nRad(aPt.X() - aRect.Left()); in applySpecialDrag() 451 sal_Int32 nRad(aPt.X() - aRect.Left()); in getSpecialDragComment() 545 case 1: aPt=aRect.RightCenter(); aPt.X()+=nWdt; break; in GetVertexGluePoint() 547 case 3: aPt=aRect.LeftCenter(); aPt.X()-=nWdt; break; in GetVertexGluePoint() 570 case 0: aPt=aRect.TopLeft(); aPt.X()-=nWdt; aPt.Y()-=nWdt; break; in GetCornerGluePoint() 571 case 1: aPt=aRect.TopRight(); aPt.X()+=nWdt; aPt.Y()-=nWdt; break; in GetCornerGluePoint() 572 case 2: aPt=aRect.BottomRight(); aPt.X()+=nWdt; aPt.Y()+=nWdt; break; in GetCornerGluePoint() 573 case 3: aPt=aRect.BottomLeft(); aPt.X()-=nWdt; aPt.Y()+=nWdt; break; in GetCornerGluePoint()
|
/trunk/main/extensions/source/scanner/ |
H A D | grid.cxx | 194 aRet.X() = (long)( ( x - m_fMinX ) * in transform() 208 …x = ( rOriginal.X() - m_aGridArea.Left() ) * (m_fMaxX - m_fMinX) / (double)m_aGridArea.GetWidth() … in transform() 350 aPt.X() -= aTextSize.Width()/2; in drawGrid() 363 aPt.X() -= aTextSize.Width() + 2; in drawGrid() 438 aPoint.X() = m_aHandles[m_nDragIndex].maPos.X(); in MouseMove() 442 if(aPoint.X() < m_aGridArea.Left()) in MouseMove() 443 aPoint.X() = m_aGridArea.Left(); in MouseMove() 444 else if(aPoint.X() > m_aGridArea.Right()) in MouseMove() 445 aPoint.X() = m_aGridArea.Right(); in MouseMove()
|
/trunk/main/vcl/aqua/source/res/MainMenu.nib/ |
H A D | keyedobjects.nib | 3 …nagerYNSNextOidVNSRoot�>�X�E�F�?�D�Z�G��[� �@�(�Y���234[NSClassName���678YNS.str… 4 ���"�'�VWX0Z[\]NSDestinationWNSLabelXNSSource�����^_`abcdefghijklVN… 5 …X0�[������^_`abcdef��i�kl������[Hide OthersQh_hideOtherAppli… 6 ���8�)�"�.��=�GVίWXYZ[\]^_`abcdef�H�I�J�K�L�M�N�O�P�Q�R�S�T�U�V�W�=��…
|