/aoo42x/main/sd/source/ui/view/ |
H A D | sdwindow.cxx | 164 Size aWinSize = PixelToLogic(GetOutputSizePixel()); in CalcMinZoom() local 523 nX = (sal_uLong) ((double) aWinSize.Height() in GetZoomForRect() 529 nY = (sal_uLong) ((double) aWinSize.Width() in GetZoomForRect() 596 nX = (sal_uLong) ((double) aWinSize.Height() in SetZoomRect() 602 nY = (sal_uLong) ((double) aWinSize.Width() in SetZoomRect() 629 …aWinSize.Width() = (long) ((double) aWinSize.Width() * (double) ZOOM_MULTIPLICATOR / (double) nFac… in SetZoomRect() 631 …aWinSize.Height() = (long) ((double) aWinSize.Height() * (double) ZOOM_MULTIPLICATOR / (double) nF… in SetZoomRect() 808 if ( aWinSize.Width() > maViewSize.Width() ) in GetVisibleWidth() 809 aWinSize.Width() = maViewSize.Width(); in GetVisibleWidth() 823 if ( aWinSize.Height() > maViewSize.Height() ) in GetVisibleHeight() [all …]
|
/aoo42x/main/svx/source/dialog/ |
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 | 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 | connctrl.cxx | 156 const Size aWinSize = PixelToLogic( GetOutputSizePixel(), aDisplayMap ); in Construct() local 157 const long nWidth = aWinSize.Width(); in Construct() 158 const long nHeight = aWinSize.Height(); in Construct() 174 Fraction aFrac1( aWinSize.Width(), aRect.GetWidth() ); in Construct() 175 Fraction aFrac2( aWinSize.Height(), aRect.GetHeight() ); in Construct()
|
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()
|
/aoo42x/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()
|
/aoo42x/main/sc/source/ui/view/ |
H A D | notemark.cxx | 156 Size aWinSize = pWindow->PixelToLogic( pWindow->GetOutputSizePixel(), aMapMode ); in Draw() local 159 lcl_MoveMapMode( aMapMode, Size( aWinSize.Width(), 0 ) ) ); in Draw() 162 lcl_MoveMapMode( aMapMode, Size( 0, aWinSize.Height() ) ) ); in Draw() 164 lcl_DrawWin( pObject, pDiagWin, lcl_MoveMapMode( aMapMode, aWinSize ) ); in Draw() 177 Size aWinSize = pWindow->PixelToLogic( pWindow->GetOutputSizePixel(), aMapMode ); in InvalidateWin() local 180 lcl_MoveMapMode( aMapMode, Size( aWinSize.Width(), 0 ) ), in InvalidateWin() 184 lcl_MoveMapMode( aMapMode, Size( 0, aWinSize.Height() ) ), in InvalidateWin() 188 lcl_MoveMapMode( aMapMode, aWinSize ), in InvalidateWin()
|
H A D | tabview2.cxx | 734 aWinSize.Width() += GetGridWidth( SC_SPLIT_LEFT ); in CalcZoom() 736 aWinSize.Height() += GetGridHeight( SC_SPLIT_TOP ); in CalcZoom() 748 nPPTX, nPPTY, nTest, aWinSize.Width(), aWinSize.Height(), in CalcZoom() 808 aWinSize.Width() += nOtherWidth; in CalcZoom() 813 else if ( nOtherWidth > aWinSize.Width() ) in CalcZoom() 814 aWinSize.Width() = nOtherWidth; in CalcZoom() 823 aWinSize.Height() += nOtherHeight; in CalcZoom() 828 else if ( nOtherHeight > aWinSize.Height() ) in CalcZoom() 829 aWinSize.Height() = nOtherHeight; in CalcZoom() 835 long nZoomX = (long) ( aWinSize.Width() * 100 / in CalcZoom() [all …]
|
H A D | select.cxx | 254 Size aWinSize = pEngine->GetWindow()->GetOutputSizePixel(); in SetCursorAtPoint() local 255 sal_Bool bRightScroll = ( aEffPos.X() >= aWinSize.Width() ); in SetCursorAtPoint() 256 sal_Bool bBottomScroll = ( aEffPos.Y() >= aWinSize.Height() ); in SetCursorAtPoint() 293 if ( aEffPos.X() >= aWinSize.Width() ) in SetCursorAtPoint() 302 if ( aEffPos.Y() >= aWinSize.Height() ) in SetCursorAtPoint() 761 Size aWinSize = pViewData->GetActiveWin()->GetOutputSizePixel(); in SetCursorAtPoint() local 764 bScroll = ( rPointPixel.X() < 0 || rPointPixel.X() >= aWinSize.Width() ); in SetCursorAtPoint() 766 bScroll = ( rPointPixel.Y() < 0 || rPointPixel.Y() >= aWinSize.Height() ); in SetCursorAtPoint() 775 if ( rPointPixel.X() > aWinSize.Width() ) in SetCursorAtPoint() 788 if ( rPointPixel.Y() > aWinSize.Height() ) in SetCursorAtPoint()
|
H A D | preview.cxx | 360 Size aWinSize = GetOutputSize(); in DoPrint() local 362 DrawRect(Rectangle( 0, 0, -aOffset.X(), aWinSize.Height() )); in DoPrint() 364 DrawRect(Rectangle( 0, 0, aWinSize.Width(), -aOffset.Y() )); in DoPrint() 479 Size aWinSize = GetOutputSize(); in DoPrint() local 480 Point aWinEnd( aWinSize.Width(), aWinSize.Height() ); in DoPrint() 767 Size aWinSize = GetOutputSizePixel(); in GetOptimalZoom() local 773 aWinSize.Width() -= 2 * aMarginSize.Width(); in GetOptimalZoom() 774 aWinSize.Height() -= 2 * aMarginSize.Height(); in GetOptimalZoom() 779 long nZoomX = (long) ( aWinSize.Width() * 100 / ( aLocalPageSize.Width() * nWinScaleX )); in GetOptimalZoom() 780 long nZoomY = (long) ( aWinSize.Height() * 100 / ( aLocalPageSize.Height() * nWinScaleY )); in GetOptimalZoom()
|
H A D | tabview5.cxx | 611 Size aWinSize = pWin->GetOutputSizePixel(); in MakeVisible() local 618 if ( aRect.Right() >= aWinSize.Width() ) // rechts raus in MakeVisible() 620 nScrollX = aRect.Right() - aWinSize.Width() + 1; // rechter Rand sichtbar in MakeVisible() 624 if ( aRect.Bottom() >= aWinSize.Height() ) // unten raus in MakeVisible() 626 nScrollY = aRect.Bottom() - aWinSize.Height() + 1; // unterer Rand sichtbar in MakeVisible()
|
H A D | tabview3.cxx | 525 Size aWinSize = pWin->GetOutputSizePixel(); in TestHintWindow() local 529 aPos.X() < aWinSize.Width() && aPos.Y() < aWinSize.Height() ) in TestHintWindow() 707 Size aWinSize; in AlignToCursor() local 712 aWinSize = pWin->GetOutputSizePixel(); in AlignToCursor() 736 long nBotSpace = aWinSize.Height() - aDlgPixel.Bottom(); in AlignToCursor() 2350 Size aWinSize = pColBar[eWhich]->GetSizePixel(); in PaintTopArea() local 2354 nEndX = bLayoutRTL ? 0 : ( aWinSize.Width()-1 ); in PaintTopArea() 2358 Rectangle( nStartX, 0, nEndX, aWinSize.Height()-1 ) ); in PaintTopArea() 2404 Size aWinSize = pRowBar[eWhich]->GetSizePixel(); in PaintLeftArea() local 2408 nEndY = aWinSize.Height()-1; in PaintLeftArea() [all …]
|
/aoo42x/main/svtools/source/control/ |
H A D | valueset.cxx | 357 Size aWinSize = GetOutputSizePixel(); in Format() local 397 aWinSize.Height() -= nTxtHeight+NAME_OFFSET; in Format() 456 long nCalcHeight = aWinSize.Height()-nNoneHeight; in Format() 505 maVirDev.SetOutputSizePixel( aWinSize, sal_True ); in Format() 568 nStartY = (aWinSize.Height()-nAllItemHeight)/2; in Format() 694 Size aWinSize = GetOutputSizePixel(); in ImplDrawItemText() local 704 DrawRect( Rectangle( Point( 0, nTxtOffset ), Point( aWinSize.Width(), aWinSize.Height() ) ) ); in ImplDrawItemText() 710 Erase( Rectangle( Point( 0, nTxtOffset ), Point( aWinSize.Width(), aWinSize.Height() ) ) ); in ImplDrawItemText() 1080 Size aWinSize = GetOutputSizePixel(); in ImplDraw() local 1669 Size aWinSize = GetOutputSizePixel(); in Paint() local [all …]
|
H A D | ruler.cxx | 1438 Size aWinSize = GetOutputSizePixel(); in ImplInitExtraField() local 2382 Size aWinSize = GetOutputSizePixel(); in Resize() local 2387 if ( aWinSize.Height() != mnHeight ) in Resize() 2388 nNewHeight = aWinSize.Height(); in Resize() 2394 if ( aWinSize.Width() != mnWidth ) in Resize() 2395 nNewHeight = aWinSize.Width(); in Resize() 2430 ((aWinSize.Width() > RULER_MIN_SIZE) && (aWinSize.Height() > RULER_MIN_SIZE)) ) in Resize() 2433 mnVirWidth = aWinSize.Width()-mnVirOff; in Resize() 2455 if ( mnWidth < aWinSize.Width() ) in Resize() 2479 mnWidth = aWinSize.Width(); in Resize() [all …]
|
/aoo42x/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()
|
/aoo42x/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()
|
/aoo42x/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()
|
/aoo42x/main/svtools/source/contnr/ |
H A D | templwin.cxx | 438 Size aWinSize = GetOutputSizePixel(); in Resize() local 443 aWinSize.Height() -= nHeaderHeight; in Resize() 698 Size aWinSize = GetOutputSizePixel(); in Resize() local 703 aWinSize.nA += x; in Resize() 704 aWinSize.nB += y; in Resize() 705 aFileView.SetSizePixel( aWinSize ); in Resize() 909 Size aWinSize = GetOutputSizePixel(); in Resize() local 910 pEditWin->SetSizePixel( aWinSize ); in Resize() 911 pTextWin->SetSizePixel( aWinSize ); in Resize() 912 pEmptyWin->SetSizePixel( aWinSize ); in Resize() [all …]
|
/aoo42x/main/vcl/source/window/ |
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()
|
/aoo42x/main/cui/source/tabpages/ |
H A D | grfpage.cxx | 785 Size aWinSize( PixelToLogic(GetOutputSizePixel() )); in Paint() local 789 DrawRect( Rectangle( Point(), aWinSize ) ); in Paint() 792 Rectangle aRect(Point((aWinSize.Width() - aFrameSize.Width())/2, in Paint() 793 (aWinSize.Height() - aFrameSize.Height())/2), in Paint() 815 Size aWinSize( GetOutputSizePixel() ); in SetFrameSize() local 816 Fraction aXScale( aWinSize.Width() * 4, aFrameSize.Width() * 5 ); in SetFrameSize() 817 Fraction aYScale( aWinSize.Height() * 4, aFrameSize.Height() * 5 ); in SetFrameSize()
|
/aoo42x/main/sc/source/ui/dbgui/ |
H A D | scuiimoptdlg.cxx | 207 Size aWinSize( GetSizePixel() ); in ScImportOptionsDlg() local 208 aWinSize.Height() = aCbFixed.GetPosPixel().Y() + aCbFixed.GetSizePixel().Height(); in ScImportOptionsDlg() 210 aWinSize.Height() += aDiffSize.Height(); in ScImportOptionsDlg() 211 SetSizePixel( aWinSize ); in ScImportOptionsDlg()
|
/aoo42x/main/sfx2/source/dialog/ |
H A D | intro.cxx | 45 Size aWinSize( GetSizePixel() ); in Init() local 46 Point aWinPos( ( aScreenSize.Width() - aWinSize.Width() ) / 2, in Init() 47 ( aScreenSize.Height() - aWinSize.Height() ) / 2 ); in Init()
|
/aoo42x/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()
|
/aoo42x/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()
|
/aoo42x/main/svtools/workben/ |
H A D | svdem.cxx | 1099 Size aWinSize = GetOutputSizePixel(); in Resize() local 1101 aBox.SetSizePixel( Size( aWinSize.Width(), aBoxSize.Height() ) ); in Resize() 1104 aBar.SetPosSizePixel( Point( 0, aWinSize.Height()-aSize.Height() ), in Resize() 1105 Size( aWinSize.Width(), aSize.Height() ) ); in Resize() 1110 aHeadBar.SetSizePixel( Size( aWinSize.Width(), aSize.Height() ) ); in Resize() 1111 aHeadBar.SetDragSize( aWinSize.Height() - aSize.Height() - aPos.Y() - aBarSize.Height() ); in Resize() 1115 if ( aPos.X() < aWinSize.Width()-10 ) in Resize() 1116 aPrgsBar.SetSizePixel( Size( aWinSize.Width()-aPos.X()-10, aSize.Height() ) ); in Resize()
|