/trunk/main/sd/source/ui/animations/ |
H A D | CustomAnimationPane.cxx | 401 Size aSize( mpFLModify->GetSizePixel() ); in updateLayout() local 404 mpFLModify->SetPosSizePixel( aCursor, aSize ); in updateLayout() 406 aCursor.Y() += aSize.Height() + aOffset.Y(); in updateLayout() 448 aSize = mpFLEffect->GetSizePixel(); in updateLayout() 453 aCursor.Y() += aSize.Height() + aOffset.Y(); in updateLayout() 470 aSize = mpPBPropertyMore->GetSizePixel(); in updateLayout() 532 aSize = mpFLSeperator2->GetSizePixel(); in updateLayout() 563 aSize = mpFLSeperator1->GetSizePixel(); in updateLayout() 568 aSize = mpPBMoveDown->GetSizePixel(); in updateLayout() 571 aCursor.Y() -= aOffset.Y() + aSize.Height(); in updateLayout() [all …]
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | winmtf.cxx | 799 aSize.Width() += 1; in CreateObject() 800 long nDotLen = ImplMap( aSize ).Width(); in CreateObject() 836 aSize.Width() += 1; in CreateObject() 837 long nDotLen = ImplMap( aSize ).Width(); in CreateObject() 1482 const basegfx::B2DVector aVector(aSize.Width(), aSize.Height()); in DrawText() 1708 Size aSize( ImplMap( aRect.GetSize() ) ); in ResolveBitmapActions() local 1754 ImplDrawBitmap( aPos, aSize, aBmpEx ); in ResolveBitmapActions() 1790 ImplDrawBitmap( aPos, aSize, aBmpEx ); in ResolveBitmapActions() 1808 ImplDrawBitmap( aPos, aSize, aBmpEx ); in ResolveBitmapActions() 1826 ImplDrawBitmap( aPos, aSize, aBmpEx ); in ResolveBitmapActions() [all …]
|
/trunk/main/framework/source/tabwin/ |
H A D | tabwindow.cxx | 152 aContainerWindowSize.Width = aSize.Width; in implts_LayoutWindows() 153 aTabControlSize.Width = aSize.Width; in implts_LayoutWindows() 155 aContainerWindowSize.Height = std::max( sal_Int32( 0 ), aSize.Height - nTabControlHeight ); in implts_LayoutWindows() 298 css::awt::Size aSize( aDefaultSize ); in initialize() local 338 aPropValue.Value >>= aSize; in initialize() 339 if ( aSize.Width <= 0 ) in initialize() 340 aSize.Width = aDefaultSize.Width; in initialize() 341 if ( aSize.Height <= 0 ) in initialize() 342 aSize.Height = aDefaultSize.Height; in initialize() 355 … aDescriptor.Bounds = css::awt::Rectangle( 0, 0, aSize.Width, aSize.Height ); in initialize() [all …]
|
/trunk/main/sd/source/ui/view/ |
H A D | drviews9.cxx | 117 Size aSize = aWindow.PixelToLogic(aSizePix); in SO2_DECL_REF() local 128 if ( ( ( aSize.Height() > aPageSize.Height() ) || ( aSize.Width() > aPageSize.Width() ) ) && in SO2_DECL_REF() 129 aSize.Height() && aPageSize.Height() ) in SO2_DECL_REF() 131 float fGrfWH = (float)aSize.Width() / in SO2_DECL_REF() 132 (float)aSize.Height(); in SO2_DECL_REF() 140 aSize.Height()= aPageSize.Height(); in SO2_DECL_REF() 144 aSize.Width() = aPageSize.Width(); in SO2_DECL_REF() 145 aSize.Height()= (long)(aPageSize.Width() / fGrfWH); in SO2_DECL_REF() 151 Point aPnt ((aPageSize.Width() - aSize.Width()) / 2, in SO2_DECL_REF() 152 (aPageSize.Height() - aSize.Height()) / 2); in SO2_DECL_REF() [all …]
|
/trunk/main/reportdesign/source/core/api/ |
H A D | FixedLine.cxx | 173 awt::Size aSize = _xShape->getSize(); in OFixedLine() local 176 if ( aSize.Width < MIN_WIDTH ) in OFixedLine() 178 aSize.Width = MIN_WIDTH; in OFixedLine() 179 _xShape->setSize(aSize); in OFixedLine() 182 else if ( MIN_HEIGHT > aSize.Height ) in OFixedLine() 184 aSize.Height = MIN_HEIGHT; in OFixedLine() 185 _xShape->setSize(aSize); in OFixedLine() 526 void SAL_CALL OFixedLine::setSize( const awt::Size& aSize ) throw (beans::PropertyVetoException, un… in setSize() argument 528 …if ( (aSize.Width < MIN_WIDTH && m_nOrientation == 1) || (aSize.Height < MIN_HEIGHT && m_nOrientat… in setSize() 530 OShapeHelper::setSize(aSize,this); in setSize()
|
/trunk/main/extensions/source/bibliography/ |
H A D | toolbar.cxx | 226 Size aSize=GetSizePixel(); in BibToolBar() local 628 Size aSize = CalcWindowSizePixel(); in AdjustToolBox() local 629 if ( !aSize.Width() ) in AdjustToolBox() 630 aSize.Width() = aOldSize.Width(); in AdjustToolBox() 631 else if ( !aSize.Height() ) in AdjustToolBox() 632 aSize.Height() = aOldSize.Height(); in AdjustToolBox() 636 (aSize.Width() && aSize.Width() != aTbSize.Width()) || in AdjustToolBox() 637 (aSize.Height() && aSize.Height() != aTbSize.Height()) in AdjustToolBox() 640 SetPosSizePixel( GetPosPixel(), aSize ); in AdjustToolBox()
|
/trunk/main/framework/source/layoutmanager/ |
H A D | toolbarlayoutmanager.cxx | 1481 ::Size aSize; in implts_setElementData() 1726 awt::Size aSize; in implts_writeWindowStateData() local 1764 awt::Size aSize; in implts_writeNewWindowStateData() local 1789 rUIElement.m_aFloatingData.m_aSize = ::Size( aSize.Width, aSize.Height ); in implts_writeNewWindowStateData() 2009 return aSize; in implts_getTopBottomDockingAreaSizes() 2826 aTrackingRect.SetSize( ::Size( aSize.Width(), aSize.Height() )); in implts_calcDockingPosSize() 3395 aUIElement.m_aFloatingData.m_aSize = ::Size( aSize.Width, aSize.Height ); in windowResized() 3464 aUIElement.m_aFloatingData.m_aSize = ::Size( aSize.Width, aSize.Height ); in startDocking() 3732 ::Size aSize; in endDocking() 3873 ::Size aSize; in toggleFloatingMode() [all …]
|
/trunk/main/cui/source/dialogs/ |
H A D | dlgname.cxx | 61 Size aSize = aFtDescription.GetSizePixel(); in SvxNameDialog() local 63 if ( nTxtWidth > aSize.Width() ) in SvxNameDialog() 65 long nLines = Min( ( nTxtWidth / aSize.Width() + 1 ), MAX_DESCRIPTION_LINES ); in SvxNameDialog() 66 long nHeight = aSize.Height(); in SvxNameDialog() 67 aSize.Height() = nHeight * nLines; in SvxNameDialog() 68 aFtDescription.SetSizePixel( aSize ); in SvxNameDialog() 70 aPnt.Y() += ( aSize.Height() - nHeight ); in SvxNameDialog()
|
/trunk/main/svx/source/sidebar/possize/ |
H A D | PosSizePropertyPanel.cxx | 498 Size aSize(GetOutputSizePixel().Width(),PS_SECTIONPAGE_HEIGHT2); in HandleContextChange() local 499 aSize = LogicToPixel( aSize, MapMode(MAP_APPFONT) ); in HandleContextChange() 500 SetSizePixel(aSize); in HandleContextChange() 528 Size aSize(GetOutputSizePixel().Width(),PS_SECTIONPAGE_HEIGHT3); in HandleContextChange() local 529 aSize = LogicToPixel( aSize, MapMode(MAP_APPFONT) ); in HandleContextChange() 530 SetSizePixel(aSize); in HandleContextChange() 560 Size aSize(GetOutputSizePixel().Width(),PS_SECTIONPAGE_HEIGHT); in HandleContextChange() local 561 aSize = LogicToPixel( aSize, MapMode(MAP_APPFONT) ); in HandleContextChange() 562 SetSizePixel(aSize); in HandleContextChange() 591 aSize = LogicToPixel( aSize, MapMode(MAP_APPFONT) ); in HandleContextChange() [all …]
|
/trunk/main/vcl/source/control/ |
H A D | fixed.cxx | 285 Size aSize = pDev->LogicToPixel( rSize ); in Draw() local 301 Rectangle aRect( aPos, aSize ); in Draw() 313 ImplDraw( pDev, nFlags, aPos, aSize ); in Draw() 394 aSize.Width() += 2; in CalcMinimumTextSize() 397 if ( aSize.Width() < 0 ) in CalcMinimumTextSize() 398 aSize.Width() = 0; in CalcMinimumTextSize() 399 if ( aSize.Height() <= 0 ) in CalcMinimumTextSize() 402 return aSize; in CalcMinimumTextSize() 833 Size aSize = pDev->LogicToPixel( rSize ); in Draw() local 834 Rectangle aRect( aPos, aSize ); in Draw() [all …]
|
/trunk/main/vcl/source/window/ |
H A D | scrwnd.cxx | 68 const Size aSize( pParent->GetOutputSizePixel() ); in ImplWheelWindow() local 74 mnMaxWidth = (sal_uLong) ( 0.4 * hypot( (double) aSize.Width(), aSize.Height() ) ); in ImplWheelWindow() 124 const Size aSize( rRegionBmp.GetSizePixel() ); in ImplSetRegion() local 126 const Rectangle aRect( aPoint, aSize ); in ImplSetRegion() 129 aPos.X() -= aSize.Width() >> 1; in ImplSetRegion() 130 aPos.Y() -= aSize.Height() >> 1; in ImplSetRegion() 132 SetPosSizePixel( aPos, aSize ); in ImplSetRegion()
|
H A D | dialog.cxx | 218 Size aSize = pDialog->GetOutputSizePixel(); in ImplMouseAutoPos() local 219 pDialog->SetPointerPosPixel( Point( aSize.Width()/2, aSize.Height()/2 ) ); in ImplMouseAutoPos() 230 Size aSize = pWindow->GetOutputSizePixel(); in ImplMouseAutoPos() local 231 pWindow->SetPointerPosPixel( Point( aSize.Width()/2, aSize.Height()/2 ) ); in ImplMouseAutoPos() 966 Size aSize = pDev->LogicToPixel( rSize ); in Draw() local 977 pDev->DrawBitmapEx( aPos, aSize, aWallpaper.GetBitmap() ); in Draw() 981 pDev->DrawRect( Rectangle( aPos, aSize ) ); in Draw() 988 aImplWin.SetPosSizePixel( aPos.X(), aPos.Y(), aSize.Width(), aSize.Height() ); in Draw() 992 aImplWin.Draw( Rectangle( aPos, aSize ), pDev, aPos ); in Draw()
|
H A D | splitwin.cxx | 1500 SetSizePixel( aSize ); in ImplSetWindowSize() 1512 aSize.Width() += nDelta; in ImplSetWindowSize() 1513 SetSizePixel( aSize ); in ImplSetWindowSize() 1520 aSize.Width() += nDelta; in ImplSetWindowSize() 1531 Size aSize( aNewSize ); in CalcLayoutSizePixel() local 1568 return aSize; in CalcLayoutSizePixel() 1591 return aSize; in CalcLayoutSizePixel() 2760 mnDX = aSize.Width(); in Resize() 2761 mnDY = aSize.Height(); in Resize() 3833 Size aSize = rSize; in CalcWindowSizePixel() local [all …]
|
/trunk/main/sd/source/ui/func/ |
H A D | fuinsfil.cxx | 589 Size aSize(pOutliner->CalcTextSize()); in InsTextOrRTFinDrMode() local 591 aSize.Height() = Min(aSize.Height(), aMaxSize.Height()); in InsTextOrRTFinDrMode() 592 aSize.Width() = Min(aSize.Width(), aMaxSize.Width()); in InsTextOrRTFinDrMode() 593 aSize = mpWindow->LogicToPixel(aSize); in InsTextOrRTFinDrMode() 598 aPos.X() -= aSize.Width() / 2; in InsTextOrRTFinDrMode() 599 aPos.Y() -= aSize.Height() / 2; in InsTextOrRTFinDrMode() 600 aSize = mpWindow->PixelToLogic(aSize); in InsTextOrRTFinDrMode() 602 pTO->SetLogicRect(Rectangle(aPos, aSize)); in InsTextOrRTFinDrMode()
|
/trunk/main/sw/source/ui/misc/ |
H A D | insrule.cxx | 196 Size aSize = aFont.GetSize(); in UserDraw() local 198 aSize.Height() = nRectHeight * 2 / 3; in UserDraw() 199 aFont.SetSize(aSize); in UserDraw() 202 aSize.Width() = pDev->GetTextWidth(aText); in UserDraw() 203 aSize.Height() = pDev->GetTextHeight(); in UserDraw() 205 aPos.Y() += (nRectHeight - aSize.Height()) / 2; in UserDraw() 206 aPos.X() += (aRect.GetWidth() - aSize.Width()) / 2; in UserDraw()
|
/trunk/main/cui/source/options/ |
H A D | optaccessibility.cxx | 86 Size aSize = m_aAccessibilityTool.LogicToPixel( Size( 0, nDelta ), MAP_APPFONT ); in SvxAccessibilityOptionsTabPage() local 87 nDelta = aSize.Height(); in SvxAccessibilityOptionsTabPage() 88 aSize = m_aAccessibilityTool.GetSizePixel(); in SvxAccessibilityOptionsTabPage() 89 aSize.Height() += nDelta; in SvxAccessibilityOptionsTabPage() 90 m_aAccessibilityTool.SetSizePixel( aSize ); in SvxAccessibilityOptionsTabPage() 96 Size aSize = m_aAccessibilityTool.LogicToPixel( Size( 0, nHeightDelta ), MAP_APPFONT ); in SvxAccessibilityOptionsTabPage() local 97 nHeightDelta = aSize.Height(); in SvxAccessibilityOptionsTabPage()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdograf.cxx | 1433 Size aSize; in AdjustToMaxRect() local 1442 if( aSize.Height() != 0 && aSize.Width() != 0 ) in AdjustToMaxRect() 1450 ( aSize.Width() > aMaxSize.Width() ) )&& in AdjustToMaxRect() 1451 aSize.Height() && aMaxSize.Height() ) in AdjustToMaxRect() 1453 float fGrfWH = (float)aSize.Width() / in AdjustToMaxRect() 1454 (float)aSize.Height(); in AdjustToMaxRect() 1462 aSize.Height()= aMaxSize.Height(); in AdjustToMaxRect() 1466 aSize.Width() = aMaxSize.Width(); in AdjustToMaxRect() 1476 aPos.X() -= aSize.Width() / 2; in AdjustToMaxRect() 1477 aPos.Y() -= aSize.Height() / 2; in AdjustToMaxRect() [all …]
|
/trunk/main/svtools/source/contnr/ |
H A D | templwin.cxx | 1309 aSize.Height() += 4; in InitToolBoxes() 1312 aSize.Height() += 4; in InitToolBoxes() 1427 aSize.Width() = nItemSize; in Resize() 1428 aFileViewTB.SetSizePixel( aSize ); in Resize() 1432 aFrameWinTB.SetSizePixel( aSize ); in Resize() 1435 aSize = aWinSize; in Resize() 1436 aSize.Height() -= nToolBoxHeight; in Resize() 1756 Size aSize = GetOutputSizePixel(); in InitImpl() local 1764 aSize.Height() -= nDelta; in InitImpl() 1765 SetOutputSizePixel( aSize ); in InitImpl() [all …]
|
/trunk/main/sw/source/core/bastyp/ |
H A D | swtypes.cxx | 93 Size aSize( rGraphic.GetPrefSize() ); in GetGraphicSizeTwip() local 98 aSize = pOutDev->PixelToLogic( aSize, aMapTwip ); in GetGraphicSizeTwip() 101 aSize = OutputDevice::LogicToLogic( aSize, in GetGraphicSizeTwip() 103 return aSize; in GetGraphicSizeTwip()
|
/trunk/main/chart2/source/controller/accessibility/ |
H A D | AccessibleViewForwarder.cxx | 82 Size aSize; in LogicToPixel() local 85 aSize = m_pWindow->LogicToPixel( rSize, m_aMapMode ); in LogicToPixel() 87 return aSize; in LogicToPixel() 104 Size aSize; in PixelToLogic() local 107 aSize = m_pWindow->PixelToLogic( rSize, m_aMapMode ); in PixelToLogic() 109 return aSize; in PixelToLogic()
|
/trunk/main/sfx2/source/doc/ |
H A D | iframe.cxx | 79 Size aSize = GetSizePixel(); in SetBorder() local 85 if ( GetSizePixel() != aSize ) in SetBorder() 86 SetSizePixel( aSize ); in SetBorder() 284 Size aSize = maFrmDescr.GetMargin(); in setPropertyValue() local 287 aSize.Width() = nMargin; in setPropertyValue() 288 maFrmDescr.SetMargin( aSize ); in setPropertyValue() 295 Size aSize = maFrmDescr.GetMargin(); in setPropertyValue() local 298 aSize.Height() = nMargin; in setPropertyValue() 299 maFrmDescr.SetMargin( aSize ); in setPropertyValue()
|
H A D | objembed.cxx | 223 Size aSize = GetVisArea( nAspect ).GetSize(); in DoDraw() local 225 aSize = pDev->LogicToLogic( aSize, &aWilliMode, &aMod ); in DoDraw() 226 if( aSize.Width() && aSize.Height() ) in DoDraw() 228 Fraction aXF( rSize.Width(), aSize.Width() ); in DoDraw() 229 Fraction aYF( rSize.Height(), aSize.Height() ); in DoDraw()
|
/trunk/main/filter/source/msfilter/ |
H A D | msoleexp.cxx | 252 awt::Size aSize; in ExportOLEObject() local 257 aSize = rObj->getVisualAreaSize( embed::Aspects::MSOLE_CONTENT ); in ExportOLEObject() 262 aSize.Width = 5000; in ExportOLEObject() 263 aSize.Height = 5000; in ExportOLEObject() 268 aSize.Width = 5000; in ExportOLEObject() 269 aSize.Height = 5000; in ExportOLEObject() 279 pRect[1] = aSize.Width; in ExportOLEObject() 281 pRect[3] = aSize.Height; in ExportOLEObject()
|
/trunk/main/cui/source/tabpages/ |
H A D | grfpage.cxx | 330 Size aSize; in ActivatePage() local 333 aSize = ((const SvxSizeItem*)pItem)->GetSize(); in ActivatePage() 335 nOldWidth = aSize.Width(); in ActivatePage() 336 nOldHeight = aSize.Height(); in ActivatePage() 444 Size aSize( lcl_GetValue(aWidthMF, eUnit), in IMPL_LINK() local 454 sal_uInt16 nZoom = (sal_uInt16)( aSize.Width() * 100L / nWidth); in IMPL_LINK() 464 sal_uInt16 nZoom = (sal_uInt16)( aSize.Height() * 100L/ nHeight); in IMPL_LINK() 761 Size aSize( rGrf.GetPrefSize() ); in GetGrfOrigSize() local 763 aSize = PixelToLogic( aSize, aMapTwip ); in GetGrfOrigSize() 765 aSize = OutputDevice::LogicToLogic( aSize, in GetGrfOrigSize() [all …]
|
/trunk/main/sc/source/ui/navipi/ |
H A D | scenwnd.cxx | 291 Size aSize( rNewSize ); in SetSizePixel() local 292 long nHeight = aSize.Height() / 2; in SetSizePixel() 294 Window::SetSizePixel( aSize ); in SetSizePixel() 296 aSize.Height() = nHeight; in SetSizePixel() 297 aLbScenario.SetSizePixel( aSize ); in SetSizePixel() 299 aSize.Height() -= 4; in SetSizePixel() 300 aEdComment.SetPosSizePixel( Point( 0, nHeight+4 ), aSize ); in SetSizePixel()
|