/trunk/main/sfx2/source/doc/ |
H A D | sfxbasemodel.cxx | 3551 Size aWinSize = pWindow->GetSizePixel(); in setVisualAreaSize() local 3556 aWinSize.Width() += aDiff.Width(); in setVisualAreaSize() 3557 aWinSize.Height() += aDiff.Height(); in setVisualAreaSize() 3558 pWindow->SetSizePixel( aWinSize ); in setVisualAreaSize()
|
/trunk/main/vcl/source/control/ |
H A D | tabctrl.cxx | 352 Size aWinSize = Control::GetOutputSizePixel(); in ImplGetTabRect() local 354 nWidth = aWinSize.Width(); in ImplGetTabRect() 356 nHeight = aWinSize.Height(); in ImplGetTabRect()
|
/trunk/main/sw/source/core/view/ |
H A D | pagepreviewlayout.cxx | 230 Size aWinSize = mrParentViewShell.GetOut()->PixelToLogic( _rPxWinSize, aMapMode ); in Init() local 231 Fraction aXScale( aWinSize.Width(), mnPrevwLayoutWidth ); in Init() 232 Fraction aYScale( aWinSize.Height(), mnPrevwLayoutHeight ); in Init()
|
/trunk/main/vcl/source/window/ |
H A D | toolbox.cxx | 1118 Size aWinSize = pThis->GetSizePixel(); in ImplLineSizing() local 1126 if ( nMaxSize < aWinSize.Height() ) in ImplLineSizing() 1127 nMaxSize = aWinSize.Height(); in ImplLineSizing() 1133 if ( nMaxSize < aWinSize.Width() ) in ImplLineSizing() 1134 nMaxSize = aWinSize.Width(); in ImplLineSizing()
|
H A D | toolbox2.cxx | 272 Size aWinSize = mpWindow->GetSizePixel(); in GetSize() local 273 if ( !bCheckMaxWidth || (aWinSize.Width() <= maxWidth) ) in GetSize() 275 aSize.Width() = aWinSize.Width(); in GetSize() 276 aSize.Height() = aWinSize.Height(); in GetSize()
|
H A D | dialog.cxx | 389 Size aWinSize = GetSizePixel(); in ImplCenterDialog() local 393 Point aWinPos( ((aDeskSize.Width() - aWinSize.Width()) / 2) + aDeskPos.X(), in ImplCenterDialog() 394 ((aDeskSize.Height() - aWinSize.Height()) / 2) + aDeskPos.Y() ); in ImplCenterDialog() 397 if ( (aWinPos.X() + aWinSize.Width()) > (aDeskPos.X()+aDeskSize.Width()) ) in ImplCenterDialog() 398 aWinPos.X() = aDeskPos.X()+aDeskSize.Width() - aWinSize.Width(); in ImplCenterDialog() 399 if ( (aWinPos.Y()+aWinSize.Height()) > (aDeskPos.Y()+aDeskSize.Height()) ) in ImplCenterDialog() 400 aWinPos.Y() = aDeskPos.Y()+aDeskSize.Height() - aWinSize.Height(); in ImplCenterDialog()
|
/trunk/main/sc/source/ui/view/ |
H A D | preview.cxx | 363 Size aWinSize = GetOutputSize(); in DoPrint() local 365 DrawRect(Rectangle( 0, 0, -aOffset.X(), aWinSize.Height() )); in DoPrint() 367 DrawRect(Rectangle( 0, 0, aWinSize.Width(), -aOffset.Y() )); in DoPrint() 482 Size aWinSize = GetOutputSize(); in DoPrint() local 483 Point aWinEnd( aWinSize.Width(), aWinSize.Height() ); in DoPrint() 770 Size aWinSize = GetOutputSizePixel(); in GetOptimalZoom() local 776 aWinSize.Width() -= 2 * aMarginSize.Width(); in GetOptimalZoom() 777 aWinSize.Height() -= 2 * aMarginSize.Height(); in GetOptimalZoom() 782 long nZoomX = (long) ( aWinSize.Width() * 100 / ( aLocalPageSize.Width() * nWinScaleX )); in GetOptimalZoom() 783 long nZoomY = (long) ( aWinSize.Height() * 100 / ( aLocalPageSize.Height() * nWinScaleY )); in GetOptimalZoom()
|
/trunk/main/sd/source/ui/dlg/ |
H A D | animobjs.cxx | 754 Size aWinSize( GetOutputSizePixel() ); // vorher rSize im Resizing() in Resize() local 757 aDiffSize.Width() = aWinSize.Width() - aSize.Width(); in Resize() 758 aDiffSize.Height() = aWinSize.Height() - aSize.Height(); in Resize() 843 aSize = aWinSize; in Resize()
|
/trunk/main/chart2/source/controller/dialogs/ |
H A D | dlg_DataEditor.cxx | 104 Size aWinSize( GetOutputSizePixel()); in DataEditor() local 107 sal_Int32 nMinWidth = aWinSize.getWidth(); in DataEditor() 109 … (aWinSizeWithBorder.getWidth() - aWinSize.getWidth() + aWinPos.getX()) - 10; // leave some space in DataEditor() 113 aWinSize.setWidth( nWindowWidth ); in DataEditor() 114 SetOutputSizePixel( aWinSize ); in DataEditor()
|
/trunk/main/sw/source/ui/shells/ |
H A D | textsh.cxx | 520 Size aWinSize = rEdtWin.GetSizePixel(); in TYPEINIT1() local 521 Point aStartPos(aWinSize.Width()/2, aWinSize.Height() / 2); in TYPEINIT1()
|
/trunk/main/framework/source/layoutmanager/ |
H A D | toolbarlayoutmanager.cxx | 4252 awt::Size aWinSize; in getToolbarSize() local 4253 aWinSize.Width = aSize.Width(); in getToolbarSize() 4254 aWinSize.Height = aSize.Height(); in getToolbarSize() 4255 return aWinSize; in getToolbarSize()
|
/trunk/main/cui/source/options/ |
H A D | optcolor.cxx | 814 Size aWinSize = LogicToPixel( Size( _WN_WIDTH , _WN_HEIGHT ), MAP_APPFONT ); in ColorConfigWindow_Impl() local 839 …>SetPosSizePixel(LogicToPixel( Point( _WN_XPOS, nLineNum * _LINE_HEIGHT ), MAP_APPFONT ),aWinSize); in ColorConfigWindow_Impl()
|
/trunk/main/dbaccess/source/ui/app/ |
H A D | AppDetailPageHelper.cxx | 1437 const Size aWinSize( GetOutputSizePixel() ); in ImplGetGraphicCenterRect() local 1445 const double fWinWH = (double) aWinSize.Width() / aWinSize.Height(); in ImplGetGraphicCenterRect() 1449 aNewSize.Width() = (long) ( aWinSize.Height() * fGrfWH ); in ImplGetGraphicCenterRect() 1450 aNewSize.Height()= aWinSize.Height(); in ImplGetGraphicCenterRect() 1454 aNewSize.Width() = aWinSize.Width(); in ImplGetGraphicCenterRect() 1455 aNewSize.Height()= (long) ( aWinSize.Width() / fGrfWH); in ImplGetGraphicCenterRect() 1458 const Point aNewPos( ( aWinSize.Width() - aNewSize.Width() ) >> 1, in ImplGetGraphicCenterRect() 1459 ( aWinSize.Height() - aNewSize.Height() ) >> 1 ); in ImplGetGraphicCenterRect()
|
/trunk/main/sd/source/ui/view/ |
H A D | sdwindow.cxx | 166 Size aWinSize = PixelToLogic(GetOutputSizePixel()); in CalcMinZoom() local 525 nX = (sal_uLong) ((double) aWinSize.Height() in GetZoomForRect() 531 nY = (sal_uLong) ((double) aWinSize.Width() in GetZoomForRect() 598 nX = (sal_uLong) ((double) aWinSize.Height() in SetZoomRect() 604 nY = (sal_uLong) ((double) aWinSize.Width() in SetZoomRect() 631 …aWinSize.Width() = (long) ((double) aWinSize.Width() * (double) ZOOM_MULTIPLICATOR / (double) nFac… in SetZoomRect() 633 …aWinSize.Height() = (long) ((double) aWinSize.Height() * (double) ZOOM_MULTIPLICATOR / (double) nF… in SetZoomRect() 810 if ( aWinSize.Width() > maViewSize.Width() ) in GetVisibleWidth() 811 aWinSize.Width() = maViewSize.Width(); in GetVisibleWidth() 825 if ( aWinSize.Height() > maViewSize.Height() ) in GetVisibleHeight() [all …]
|
/trunk/main/ucb/workben/ucb/ |
H A D | ucbdemo.cxx | 2116 Size aWinSize = GetOutputSizePixel(); in Resize() local 2117 int nWinW = aWinSize.Width(); in Resize() 2118 int nWinH = aWinSize.Height(); in Resize()
|
/trunk/main/sw/source/ui/utlui/ |
H A D | unotools.cxx | 153 Size aWinSize(rWindow.GetOutputSizePixel()); in CreateControl() local 154 xWin->setPosSize( 0, 0, aWinSize.Width(), aWinSize.Height(), awt::PosSize::SIZE ); in CreateControl()
|
/trunk/main/sw/source/ui/misc/ |
H A D | insrule.cxx | 160 Size aWinSize = aRect.GetSize(); in UserDraw() local 161 Size aPaintSize = aWinSize; in UserDraw() 162 int nRelWin = aWinSize.Height() * 100 / aWinSize.Width(); in UserDraw() 165 aPaintSize.Width() = aWinSize.Height() * 100 / nRelGrf; in UserDraw() 166 aBLPos.X() += (aWinSize.Width() - aPaintSize.Width()) /2; in UserDraw() 170 aPaintSize.Height() = aWinSize.Width() * nRelGrf/100; in UserDraw() 171 aBLPos.Y() += (aWinSize.Height() - aPaintSize.Height()) /2; in UserDraw()
|
/trunk/main/sw/source/filter/ww8/dump/ |
H A D | dump8.cxx | 135 Size aWinSize = GetOutputSizePixel(); in Paint() local 137 Point aPos( aWinSize.Width() / 2 - aTextSize.Width() / 2, in Paint() 138 aWinSize.Height() / 2 - aTextSize.Height() / 2 ); in Paint()
|
/trunk/main/svx/source/tbxctrls/ |
H A D | layctrl.cxx | 182 Size aWinSize = GetOutputSizePixel(); in UpdateSize_Impl() local 246 Invalidate( Rectangle( 0, aWinSize.Height()-nTextHeight+2, in UpdateSize_Impl() 247 aWinSize.Width(), aWinSize.Height() ) ); in UpdateSize_Impl() 567 Size aWinSize = GetOutputSizePixel(); in UpdateSize_Impl() local 589 Invalidate( Rectangle( 0, aWinSize.Height()-nTextHeight+2, in UpdateSize_Impl() 590 aWinSize.Width(), aWinSize.Height() ) ); in UpdateSize_Impl() 591 SetOutputSizePixel( Size( nMX*nWidth-1, aWinSize.Height() ) ); in UpdateSize_Impl() 597 Invalidate( Rectangle( 0, aWinSize.Height()-nTextHeight+2, in UpdateSize_Impl() 598 aWinSize.Width(), aWinSize.Height() ) ); in UpdateSize_Impl() 612 nMaxCol*nMX+1, aWinSize.Height()-nTextHeight+2 ) ); in UpdateSize_Impl()
|
/trunk/main/svx/source/gallery2/ |
H A D | galctrl.cxx | 134 const Size aWinSize( GetOutputSizePixel() ); in ImplGetGraphicCenterRect() local 142 const double fWinWH = (double) aWinSize.Width() / aWinSize.Height(); in ImplGetGraphicCenterRect() 146 aNewSize.Width() = (long) ( aWinSize.Height() * fGrfWH ); in ImplGetGraphicCenterRect() 147 aNewSize.Height()= aWinSize.Height(); in ImplGetGraphicCenterRect() 151 aNewSize.Width() = aWinSize.Width(); in ImplGetGraphicCenterRect() 152 aNewSize.Height()= (long) ( aWinSize.Width() / fGrfWH); in ImplGetGraphicCenterRect() 155 const Point aNewPos( ( aWinSize.Width() - aNewSize.Width() ) >> 1, in ImplGetGraphicCenterRect() 156 ( aWinSize.Height() - aNewSize.Height() ) >> 1 ); in ImplGetGraphicCenterRect()
|
/trunk/main/svx/source/engine3d/ |
H A D | float3d.cxx | 2310 Size aWinSize( GetOutputSizePixel() ); // vorher rSize im Resizing() in Resize() local 2312 if( aWinSize.Height() >= GetMinOutputSizePixel().Height() && in Resize() 2313 aWinSize.Width() >= GetMinOutputSizePixel().Width() ) in Resize() 2316 aDiffSize.Width() = aWinSize.Width() - aSize.Width(); in Resize() 2317 aDiffSize.Height() = aWinSize.Height() - aSize.Height(); in Resize() 2390 aSize = aWinSize; in Resize()
|
/trunk/main/svx/source/dialog/ |
H A D | pagectrl.cxx | 46 aWinSize(), in SvxPageWindow() 90 aWinSize = GetOutputSizePixel(); in SvxPageWindow() 91 aWinSize.Height() -= 4; in SvxPageWindow() 92 aWinSize.Width() -= 4; in SvxPageWindow() 94 aWinSize = PixelToLogic(aWinSize); in SvxPageWindow() 110 Fraction aXScale(aWinSize.Width(),std::max((long)(aSize.Width() * 2 + aSize.Width() / 8),1L)); in Paint() 111 Fraction aYScale(aWinSize.Height(),std::max(aSize.Height(),1L)); in Paint()
|
H A D | paraprev.cxx | 54 aWinSize = GetOutputSizePixel(); in SvxParaPrevWindow() 55 aWinSize = PixelToLogic( aWinSize ); in SvxParaPrevWindow() 58 aWinSize.Width() -= aTmp.Width() /2; in SvxParaPrevWindow() 59 aWinSize.Height() -= aTmp.Height() /2; in SvxParaPrevWindow() 85 DrawRect( Rectangle( Point(), aWinSize ) ); in DrawParagraph() 89 long nH = aWinSize.Height() / 19; in DrawParagraph() 90 Size aLineSiz( aWinSize.Width() - DEF_MARGIN, nH ), in DrawParagraph() 230 aWinSize = GetOutputSizePixel(); in OutputSizeChanged() 231 aWinSize = PixelToLogic( aWinSize ); in OutputSizeChanged()
|
H A D | rubydialog.cxx | 841 Size aWinSize = GetOutputSize(); in RubyPreview() local 844 aFont.SetHeight(aWinSize.Height() / 4); in RubyPreview() 858 Size aWinSize = GetOutputSize(); in Paint() local 859 Rectangle aRect(Point(0, 0), aWinSize); in Paint() 881 long nCenter = aWinSize.Width() / 2; in Paint() 885 long nYRuby = aWinSize.Height() / 4 - nTextHeight / 2; in Paint() 886 long nYBase = aWinSize.Height() * 3 / 4 - nTextHeight / 2; in Paint()
|
H A D | graphctl.cxx | 283 const Size aWinSize = PixelToLogic( GetOutputSizePixel(), aDisplayMap ); in Resize() local 284 const long nWidth = aWinSize.Width(); in Resize() 285 const long nHeight = aWinSize.Height(); in Resize()
|