Home
last modified time | relevance | path

Searched refs:aWinSize (Results 1 – 25 of 50) sorted by last modified time

12

/trunk/main/sfx2/source/doc/
H A Dsfxbasemodel.cxx3551 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 Dtabctrl.cxx352 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 Dpagepreviewlayout.cxx230 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 Dtoolbox.cxx1118 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 Dtoolbox2.cxx272 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 Ddialog.cxx389 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 Dpreview.cxx363 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 Danimobjs.cxx754 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 Ddlg_DataEditor.cxx104 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 Dtextsh.cxx520 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 Dtoolbarlayoutmanager.cxx4252 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 Doptcolor.cxx814 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 DAppDetailPageHelper.cxx1437 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 Dsdwindow.cxx166 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()
631aWinSize.Width() = (long) ((double) aWinSize.Width() * (double) ZOOM_MULTIPLICATOR / (double) nFac… in SetZoomRect()
633aWinSize.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 Ducbdemo.cxx2116 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 Dunotools.cxx153 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 Dinsrule.cxx160 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 Ddump8.cxx135 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 Dlayctrl.cxx182 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 Dgalctrl.cxx134 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 Dfloat3d.cxx2310 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 Dpagectrl.cxx46 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 Dparaprev.cxx54 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 Drubydialog.cxx841 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 Dgraphctl.cxx283 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()

Completed in 176 milliseconds

12