/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/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()
|
/aoo41x/main/reportdesign/source/core/api/ |
H A D | FixedLine.cxx | 172 awt::Size aSize = _xShape->getSize(); in OFixedLine() local 175 if ( aSize.Width < MIN_WIDTH ) in OFixedLine() 177 aSize.Width = MIN_WIDTH; in OFixedLine() 178 _xShape->setSize(aSize); in OFixedLine() 181 else if ( MIN_HEIGHT > aSize.Height ) in OFixedLine() 183 aSize.Height = MIN_HEIGHT; in OFixedLine() 184 _xShape->setSize(aSize); in OFixedLine() 525 void SAL_CALL OFixedLine::setSize( const awt::Size& aSize ) throw (beans::PropertyVetoException, un… in setSize() argument 527 …if ( (aSize.Width < MIN_WIDTH && m_nOrientation == 1) || (aSize.Height < MIN_HEIGHT && m_nOrientat… in setSize() 529 OShapeHelper::setSize(aSize,this); in setSize()
|
/aoo41x/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()
|
/aoo41x/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 …]
|
/aoo41x/main/reportdesign/source/ui/report/ |
H A D | EndMarker.cxx | 58 Size aSize = GetSizePixel(); in Paint() local 59 aSize.Width() += nCornerSpace; in Paint() 60 Rectangle aWholeRect(Point(-nCornerSpace,0),aSize); in Paint() 73 aGradient.SetSteps(static_cast<sal_uInt16>(aSize.Height())); in Paint() 79 Size(aSize.Width()- nCornerSpace,aSize.Height() - nCornerSpace- nCornerSpace)); in Paint()
|
/aoo41x/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 …]
|
/aoo41x/main/cui/source/tabpages/ |
H A D | numpages.cxx | 1172 aSize = OutputDevice::LogicToLogic(aSize, MAP_100TH_MM, (MapUnit)eCoreUnit); in IMPL_LINK() 2253 Size aSize; in IMPL_LINK() local 2286 aSize = OutputDevice::LogicToLogic(aSize, MAP_100TH_MM, (MapUnit)eCoreUnit); in IMPL_LINK() 2354 sal_Bool bWidth = aSize.Width() > aSize.Height(); in IMPL_LINK() 2469 Size aSaveSize(aSize); in IMPL_LINK() 2479 aSize.Width() = nWidthVal; in IMPL_LINK() 2502 if(aSize != aSaveSize) in IMPL_LINK() 2677 pVDev->SetOutputSize( aSize ); in Paint() 2964 DrawOutDev( Point(0,0), aSize, in Paint() 2965 Point(0,0), aSize, in Paint() [all …]
|
/aoo41x/main/svx/source/engine3d/ |
H A D | sphere3d.cxx | 75 aSize = r3DSize; in E3dSphereObj() 107 aSize = rDefault.GetDefaultSphereSize(); in SetDefaultAttributes() 164 aSize = r3DObj.aSize; in operator =() 184 if(aSize != rNew) in SetSize() 186 aSize = rNew; in SetSize()
|
/aoo41x/main/basebmp/test/ |
H A D | bmpmasktest.cxx | 110 const basegfx::B2ISize aSize(10,10); in setUp() local 111 mpDevice1bpp = createBitmapDevice( aSize, in setUp() 114 mpDevice32bpp = createBitmapDevice( aSize, in setUp() 118 mpMaskBmp1bpp = createBitmapDevice( aSize, in setUp() 122 mpBmp1bpp = createBitmapDevice( aSize, in setUp() 125 mpBmp32bpp = createBitmapDevice( aSize, in setUp()
|
/aoo41x/main/sfx2/source/doc/ |
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()
|
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()
|
/aoo41x/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()
|
/aoo41x/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 …]
|
/aoo41x/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()
|
/aoo41x/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 …]
|
/aoo41x/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()
|
/aoo41x/main/editeng/source/items/ |
H A D | paperinf.cxx | 91 Size aSize( GetPaperSize( ePaper ) ); in GetPaperSize() local 94 Swap( aSize ); in GetPaperSize() 95 return aSize; in GetPaperSize() 102 …Size aSize(eUnit == MAP_100TH_MM ? rSize : OutputDevice::LogicToLogic(rSize, eUnit, MAP_100TH_MM)); in GetSvxPaper() local 103 PaperInfo aInfo(aSize.Width(), aSize.Height()); in GetSvxPaper()
|
/aoo41x/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 …]
|
/aoo41x/main/svx/source/sidebar/possize/ |
H A D | PosSizePropertyPanel.cxx | 491 Size aSize(GetOutputSizePixel().Width(),PS_SECTIONPAGE_HEIGHT2); in HandleContextChange() local 492 aSize = LogicToPixel( aSize, MapMode(MAP_APPFONT) ); in HandleContextChange() 493 SetSizePixel(aSize); in HandleContextChange() 521 Size aSize(GetOutputSizePixel().Width(),PS_SECTIONPAGE_HEIGHT3); in HandleContextChange() local 522 aSize = LogicToPixel( aSize, MapMode(MAP_APPFONT) ); in HandleContextChange() 523 SetSizePixel(aSize); in HandleContextChange() 553 Size aSize(GetOutputSizePixel().Width(),PS_SECTIONPAGE_HEIGHT); in HandleContextChange() local 554 aSize = LogicToPixel( aSize, MapMode(MAP_APPFONT) ); in HandleContextChange() 555 SetSizePixel(aSize); in HandleContextChange() 584 aSize = LogicToPixel( aSize, MapMode(MAP_APPFONT) ); in HandleContextChange() [all …]
|
/aoo41x/main/framework/source/layoutmanager/ |
H A D | toolbarlayoutmanager.cxx | 1477 ::Size aSize; in implts_setElementData() 1722 awt::Size aSize; in implts_writeWindowStateData() local 1760 awt::Size aSize; in implts_writeNewWindowStateData() local 1785 rUIElement.m_aFloatingData.m_aSize = ::Size( aSize.Width, aSize.Height ); in implts_writeNewWindowStateData() 2005 return aSize; in implts_getTopBottomDockingAreaSizes() 2813 aTrackingRect.SetSize( ::Size( aSize.Width(), aSize.Height() )); in implts_calcDockingPosSize() 3382 aUIElement.m_aFloatingData.m_aSize = ::Size( aSize.Width, aSize.Height ); in windowResized() 3451 aUIElement.m_aFloatingData.m_aSize = ::Size( aSize.Width, aSize.Height ); in startDocking() 3719 ::Size aSize; in endDocking() 3860 ::Size aSize; in toggleFloatingMode() [all …]
|