/trunk/main/sw/source/ui/frmdlg/ |
H A D | frmmgr.cxx | 288 SwRect aBoundRect; in ValidateMetrics() local 307 Point aPos(aBoundRect.Pos()); in ValidateMetrics() 311 Size aSize(aBoundRect.SSize()); in ValidateMetrics() 315 aBoundRect.Chg( aPos, aSize ); in ValidateMetrics() 324 rVal.nMinHPos = aBoundRect.Left(); in ValidateMetrics() 325 rVal.nMinVPos = aBoundRect.Top(); in ValidateMetrics() 358 nV = aBoundRect.Top(); in ValidateMetrics() 361 nH = aBoundRect.Left(); in ValidateMetrics() 414 rVal.nMinVPos = aBoundRect.Top(); in ValidateMetrics() 492 rVal.nMaxWidth = aBoundRect.Width(); in ValidateMetrics() [all …]
|
/trunk/main/sw/source/ui/shells/ |
H A D | drwbassh.cxx | 820 SwRect aBoundRect; in IMPL_LINK() local 835 pSh->CalcBoundRect( aBoundRect, eAnchorType, in IMPL_LINK() 850 Point aPos(aBoundRect.Pos()); in IMPL_LINK() 854 Size aSize(aBoundRect.SSize()); in IMPL_LINK() 858 aBoundRect.Chg( aPos, aSize ); in IMPL_LINK() 867 pValidation->nMinHPos = aBoundRect.Left(); in IMPL_LINK() 868 pValidation->nMinVPos = aBoundRect.Top(); in IMPL_LINK() 901 nV = aBoundRect.Top(); in IMPL_LINK() 904 nH = aBoundRect.Left(); in IMPL_LINK() 965 ? aBoundRect.Left() in IMPL_LINK() [all …]
|
/trunk/main/svx/source/customshapes/ |
H A D | EnhancedCustomShapeFontWork.cxx | 75 Rectangle aBoundRect; member 81 Rectangle aBoundRect; member 87 Rectangle aBoundRect; member 323 aCharacterData.aBoundRect.Move( nM, 0 ); in GetTextAreaOutline() 400 aParagraphIter->aBoundRect.Union( aBoundRect ); in GetTextAreaOutline() 406 if ( aParagraphIter->aBoundRect.IsEmpty() ) in GetTextAreaOutline() 408 if ( rTextArea.aBoundRect.IsEmpty() ) in GetTextAreaOutline() 512 … nHorzDiff = ( aTextAreaIter->aBoundRect.GetWidth() - aParagraphIter->aBoundRect.GetWidth() ) / 2; in GetFontWorkOutline() 514 nHorzDiff = ( aTextAreaIter->aBoundRect.GetWidth() - aParagraphIter->aBoundRect.GetWidth() ); in GetFontWorkOutline() 700 double fx1 = aBoundRect.Left() - nLeft; in FitTextOutlinesToShapeOutlines() [all …]
|
H A D | EnhancedCustomShape3d.cxx | 508 …const Rectangle aBoundRect(basegfx::fround(aTempRange.getMinX()), basegfx::fround(aTempRange.getMi… in Create3DObject() local 509 aBoundRect2d.Union( aBoundRect ); in Create3DObject() 544 if ( aSnapRect != aBoundRect ) in Create3DObject() 549 double fXScale = (double)aBoundRect.GetWidth() / (double)aSnapRect.GetWidth(); in Create3DObject() 550 double fYScale = (double)aBoundRect.GetHeight() / (double)aSnapRect.GetHeight(); in Create3DObject() 552 …Point aPt( (sal_Int32)( (double)( aBoundRect.Left() - aSnapRect.Left() )* (double)aBmpSize.Width()… in Create3DObject() 553 …(sal_Int32)( (double)( aBoundRect.Top() - aSnapRect.Top() ) * (double)aBmpSize.Height() / (double)… in Create3DObject()
|
/trunk/main/vcl/source/gdi/ |
H A D | print2.cxx | 591 aActionBounds = rOut.PixelToLogic( aBoundRect ); in ImplCalcActionBounds() 622 aActionBounds = rOut.PixelToLogic( aBoundRect ); in ImplCalcActionBounds() 1171 Rectangle aBoundRect( aCurr->aBounds ); in RemoveTransparenciesFromMetaFile() local 1172 aBoundRect.Intersection( aOutputRect ); in RemoveTransparenciesFromMetaFile() 1174 const double fBmpArea( (double) aBoundRect.GetWidth() * aBoundRect.GetHeight() ); in RemoveTransparenciesFromMetaFile() 1188 if( aBoundRect.GetWidth() && aBoundRect.GetHeight() ) in RemoveTransparenciesFromMetaFile() 1190 Point aDstPtPix( aBoundRect.TopLeft() ); in RemoveTransparenciesFromMetaFile() 1204 while( aDstPtPix.Y() <= aBoundRect.Bottom() ) in RemoveTransparenciesFromMetaFile() 1206 aDstPtPix.X() = aBoundRect.Left(); in RemoveTransparenciesFromMetaFile() 1210 aDstSzPix.Height() = aBoundRect.Bottom() - aDstPtPix.Y() + 1L; in RemoveTransparenciesFromMetaFile() [all …]
|
H A D | outdev4.cxx | 892 const Rectangle aBoundRect( rPolyPoly.GetBoundRect() ); in DrawGradient() local 897 Rectangle aRect( ImplLogicToDevicePixel( aBoundRect ) ); in DrawGradient() 937 const Rectangle aBoundRect( aPolyPoly.GetBoundRect() ); in DrawGradient() local 941 aDstRect.Intersection( aBoundRect ); in DrawGradient() 979 pVDev->DrawGradient( aBoundRect, aGradient ); in DrawGradient() 984 pVDev->DrawGradient( aBoundRect, aGradient ); in DrawGradient()
|
/trunk/main/cui/source/dialogs/ |
H A D | cuicharmap.cxx | 189 Rectangle aBoundRect; in Paint() local 190 if( !GetTextBoundRect( aBoundRect, aText ) || aBoundRect.IsEmpty() ) in Paint() 195 aBoundRect += aPoint; in Paint() 198 int nYLDelta = aBoundRect.Top(); in Paint() 199 int nYHDelta = aSize.Height() - aBoundRect.Bottom(); in Paint() 208 aPoint.X() = -aBoundRect.Left() in Paint() 209 + (aSize.Width() - aBoundRect.GetWidth()) / 2; in Paint() 214 int nXLDelta = aBoundRect.Left(); in Paint() 215 int nXHDelta = aSize.Width() - aBoundRect.Right(); in Paint()
|
/trunk/main/svtools/source/contnr/ |
H A D | imivctl1.cxx | 2075 aBoundRect.SetPos( rPos ); in SetEntryPos() 3037 Rectangle aBoundRect; in CalcMaxTextRect() local 3050 if( aBoundRect.Top() > aBoundRect.Bottom()) in CalcMaxTextRect() 3051 aBoundRect.Top() = aBoundRect.Bottom(); in CalcMaxTextRect() 3053 aBoundRect.Left()++; in CalcMaxTextRect() 3055 aBoundRect.Right()--; in CalcMaxTextRect() 3056 if( aBoundRect.Left() > aBoundRect.Right()) in CalcMaxTextRect() 3057 aBoundRect.Left() = aBoundRect.Right(); in CalcMaxTextRect() 3066 if( aBoundRect.Left() > aBoundRect.Right() ) in CalcMaxTextRect() 3067 aBoundRect.Left() = aBoundRect.Right(); in CalcMaxTextRect() [all …]
|
/trunk/main/svx/source/dialog/ |
H A D | charmap.cxx | 353 Rectangle aBoundRect; in DrawChars_Impl() local 369 if( GetTextBoundRect( aBoundRect, aCharStr ) && !aBoundRect.IsEmpty() ) in DrawChars_Impl() 374 aPointTxTy.X() = x - aBoundRect.Left() in DrawChars_Impl() 375 + (nX - aBoundRect.GetWidth() + 1) / 2; in DrawChars_Impl() 378 aBoundRect += aPointTxTy; in DrawChars_Impl() 381 int nYLDelta = aBoundRect.Top() - y; in DrawChars_Impl() 382 int nYHDelta = (y + nY) - aBoundRect.Bottom(); in DrawChars_Impl() 389 int nXLDelta = aBoundRect.Left() - x; in DrawChars_Impl() 390 int nXHDelta = (x + nX) - aBoundRect.Right(); in DrawChars_Impl()
|
/trunk/main/filter/source/svg/ |
H A D | svgfontexport.cxx | 265 Rectangle aBoundRect; in implEmbedGlyph() local 269 if( !rOut.GetTextBoundRect( aBoundRect, rCellStr ) ) in implEmbedGlyph() 270 aBoundRect = Rectangle( Point( 0, 0 ), Size( rOut.GetTextWidth( rCellStr ), 0 ) ); in implEmbedGlyph() 275 aBoundRect = Rectangle( Point( 0, 0 ), Size( rOut.GetTextWidth( sal_Unicode( ' ' ) ), 0 ) ); in implEmbedGlyph() 277 …mrExport.AddAttribute( XML_NAMESPACE_NONE, "horiz-adv-x", ::rtl::OUString::valueOf( aBoundRect.Get… in implEmbedGlyph()
|
H A D | svgexport.cxx | 889 ::com::sun::star::awt::Rectangle aBoundRect; in implExportShape() 892 xShapePropSet->getPropertyValue( B2UCONST( "BoundRect" ) ) >>= aBoundRect; in implExportShape() 894 const Point aTopLeft( aBoundRect.X, aBoundRect.Y ); in implExportShape() 895 const Size aSize( aBoundRect.Width, aBoundRect.Height ); in implExportShape()
|
/trunk/main/filter/source/msfilter/ |
H A D | msdffimp.cxx | 554 if ( aBoundRect.GetWidth() && aBoundRect.GetHeight() ) in SolveSolver() 4151 pRet->SetLogicRect( rObjData.aBoundRect ); in ImportGraphic() 4406 aObjData.aBoundRect = aObjData.aChildAnchor; in ImportShape() 4412 if ( !aObjData.aBoundRect.IsEmpty() ) in ImportShape() 4423 Size aNewSize( aObjData.aBoundRect.GetHeight(), aObjData.aBoundRect.GetWidth() ); in ImportShape() 4425 aObjData.aBoundRect = aNewRect; in ImportShape() 4428 aTextRect = aObjData.aBoundRect; in ImportShape() 4462 aPoly.append(basegfx::B2DPoint(aObjData.aBoundRect.Left(), aObjData.aBoundRect.Top())); in ImportShape() 4463 aPoly.append(basegfx::B2DPoint(aObjData.aBoundRect.Right(), aObjData.aBoundRect.Bottom())); in ImportShape() 4710 Point aP( aObjData.aBoundRect.Center() ); in ImportShape() [all …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdview.cxx | 540 Rectangle aBoundRect(pHitObj->GetCurrentBoundRect()); in PickAnything() local 545 aBoundRect = pHitObj->GetSnapRect(); in PickAnything() 558 …if( (aLocalLogicPosition.X() >= aBoundRect.Left() - nTolerance && aLocalLogicPosition.X() <= aBoun… in PickAnything() 559 …|| (aLocalLogicPosition.X() >= aBoundRect.Right() - nTolerance && aLocalLogicPosition.X() <= aBoun… in PickAnything() 560 …|| (aLocalLogicPosition.Y() >= aBoundRect.Top() - nTolerance && aLocalLogicPosition.Y() <= aBoundR… in PickAnything() 561 …|| (aLocalLogicPosition.Y() >= aBoundRect.Bottom() - nTolerance && aLocalLogicPosition.Y() <= aBou… in PickAnything()
|
H A D | svdoattr.cxx | 143 Rectangle aBoundRect = GetLastBoundRect(); in Notify() local 150 SendUserCall(SDRUSERCALL_CHGATTR, aBoundRect); in Notify()
|
H A D | svdxcgv.cxx | 730 const Rectangle aBoundRect( pObj->GetCurrentBoundRect() ); in GetObjGraphic() local 747 aMtf.Move(-aBoundRect.Left(), -aBoundRect.Top()); in GetObjGraphic() 750 aMtf.SetPrefSize( aBoundRect.GetSize() ); in GetObjGraphic()
|
H A D | svdoashp.cxx | 2100 Rectangle aBoundRect( aPoly.GetBoundRect() ); in ImpCheckCustomGluePointsAreAdded() local 2101 sal_Int32 nXDiff = aBoundRect.Left() - aRect.Left(); in ImpCheckCustomGluePointsAreAdded() 2102 sal_Int32 nYDiff = aBoundRect.Top() - aRect.Top(); in ImpCheckCustomGluePointsAreAdded() 3403 Rectangle aBoundRect( aPol.GetBoundRect() ); in TRGetBaseGeometry() local 3405 Point aRef1( ( aBoundRect.Left() + aBoundRect.Right() ) >> 1, aBoundRect.Top() ); in TRGetBaseGeometry() 3425 Rectangle aBoundRect( aPol.GetBoundRect() ); in TRGetBaseGeometry() local 3427 Point aRef1( aBoundRect.Left(), ( aBoundRect.Top() + aBoundRect.Bottom() ) >> 1 ); in TRGetBaseGeometry()
|
/trunk/main/avmedia/source/java/ |
H A D | PlayerWindow.java | 62 com.sun.star.awt.Rectangle aBoundRect = (com.sun.star.awt.Rectangle) aArgs[ 1 ]; in PlayerWindow() local 65 … maFrame.setPosSize( aBoundRect.X, aBoundRect.Y, aBoundRect.Width, aBoundRect.Height, (short) 0 ); in PlayerWindow()
|
/trunk/main/svx/source/unodraw/ |
H A D | unoshtxt.cxx | 542 Rectangle aBoundRect( pTextObj->GetCurrentBoundRect() ); in SetupOutliner() local 546 maTextOffset = aPaintRect.TopLeft() - aBoundRect.TopLeft(); in SetupOutliner() 565 Rectangle aBoundRect( pTextObj->GetCurrentBoundRect() ); in UpdateOutliner() local 569 maTextOffset = aPaintRect.TopLeft() - aBoundRect.TopLeft(); in UpdateOutliner() 787 Rectangle aBoundRect( pTextObj->GetCurrentBoundRect() ); in CreateViewForwarder() local 790 return new SvxDrawOutlinerViewForwarder( rOutlView, aBoundRect.TopLeft() ); in CreateViewForwarder()
|
H A D | unoshap2.cxx | 2017 Rectangle aBoundRect( aPol.GetBoundRect() ); in getPosition() local 2019 Point aRef1( ( aBoundRect.Left() + aBoundRect.Right() ) >> 1, aBoundRect.Top() ); in getPosition() 2039 Rectangle aBoundRect( aPol.GetBoundRect() ); in getPosition() local 2041 Point aRef1( aBoundRect.Left(), ( aBoundRect.Top() + aBoundRect.Bottom() ) >> 1 ); in getPosition()
|
/trunk/main/filter/source/flash/ |
H A D | swfexporter.cxx | 630 … com::sun::star::awt::Rectangle aBoundRect;//(aPosition.X, aPosition.Y, aSize.Width, aSize.Height); in exportShape() local 631 … xPropSet->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM("BoundRect") ) ) >>= aBoundRect; in exportShape() 634 pShapeInfo->mnX = aBoundRect.X; in exportShape() 635 pShapeInfo->mnY = aBoundRect.Y; in exportShape() 636 pShapeInfo->mnWidth = aBoundRect.Width; in exportShape() 637 pShapeInfo->mnHeight = aBoundRect.Height; in exportShape()
|
/trunk/main/vcl/unx/headless/ |
H A D | svpgdi.cxx | 177 const Rectangle& aBoundRect = aRectangles[0]; in setClipRegion() local 180 … basegfx::B2IRange(aBoundRect.Left(),aBoundRect.Top(),aBoundRect.Right(),aBoundRect.Bottom()) ); in setClipRegion()
|
/trunk/main/sc/source/filter/excel/ |
H A D | xeescher.cxx | 961 ::com::sun::star::awt::Rectangle aBoundRect; in XclExpChartObj() 962 aShapeProp.GetProperty( aBoundRect, CREATE_OUSTRING( "BoundRect" ) ); in XclExpChartObj() 963 …Rectangle aChartRect( Point( aBoundRect.X, aBoundRect.Y ), Size( aBoundRect.Width, aBoundRect.Heig… in XclExpChartObj()
|
/trunk/main/sc/source/ui/docshell/ |
H A D | docsh4.cxx | 1907 Rectangle aBoundRect = GetVisArea( ASPECT_THUMBNAIL ); in Draw() local 1910 aDocument.SnapVisArea( aBoundRect ); in Draw() 1911 aTmpData.SetScreen( aBoundRect ); in Draw() 1912 ScPrintFunc::DrawToDev( &aDocument, pDev, 1.0, aBoundRect, &aTmpData, sal_True ); in Draw() 1916 Rectangle aBoundRect = SfxObjectShell::GetVisArea(); in Draw() local 1919 aDocument.SnapVisArea( aBoundRect ); in Draw() 1920 aTmpData.SetScreen( aBoundRect ); in Draw() 1921 ScPrintFunc::DrawToDev( &aDocument, pDev, 1.0, aBoundRect, &aTmpData, sal_True ); in Draw()
|
/trunk/main/sd/source/ui/view/ |
H A D | sdview4.cxx | 597 Rectangle aBoundRect(pRec->aRect); in LockRedraw() local 606 aBoundRect.Union(pRec->aRect); in LockRedraw() 617 CompleteRedraw(pCurrentOut, Region(aBoundRect)); in LockRedraw()
|
H A D | drviewse.cxx | 1211 Rectangle aBoundRect( pPageView->GetObjList()->GetAllObjBoundRect() ); in FuSupport() local 1213 long nW = (long) (aBoundRect.GetWidth() * 1.03); in FuSupport() 1214 long nH = (long) (aBoundRect.GetHeight() * 1.03); in FuSupport() 1215 Point aPos = aBoundRect.Center(); in FuSupport()
|