/aoo42x/main/cui/source/dialogs/ |
H A D | iconcdlg.cxx | 490 Size aOutSize ( GetOutputSizePixel() ); in SetPosSizeCtrls() local 530 aIconCtrlPos = Point ( aCtrlOffset.X(), aOutSize.Height() - in SetPosSizeCtrls() 569 aNewPageSize = Size ( aOutSize.Width() - (2*aCtrlOffset.X()), in SetPosSizeCtrls() 575 aNewPageSize = Size ( aOutSize.Width() - (2*aCtrlOffset.X()), in SetPosSizeCtrls() 592 aResetBtn.SetPosSizePixel ( Point( aOutSize.Width() - nXOffset - in SetPosSizeCtrls() 594 aOutSize.Height()-aResetButtonSize.Height()- in SetPosSizeCtrls() 603 aOutSize.Height()-aHelpButtonSize.Height()- in SetPosSizeCtrls() 612 aOutSize.Height()-aCancelButtonSize.Height()- in SetPosSizeCtrls() 633 Size aOutSize ( GetOutputSizePixel() ); in SetPosSizePages() local 658 aNewPageSize = Size ( aOutSize.Width() - (2*aCtrlOffset.X()), in SetPosSizePages() [all …]
|
H A D | cuigrfflt.cxx | 335 const Size aOutSize( GetOutputSizePixel() ); in Paint() local 336 const Point aGrfPos( ( aOutSize.Width() - aGrfSize.Width() ) >> 1, in Paint() 337 ( aOutSize.Height() - aGrfSize.Height() ) >> 1 ); in Paint()
|
/aoo42x/main/dbaccess/source/ui/querydesign/ |
H A D | TableWindow.cxx | 174 Size aOutSize(rNewSize); in SetSizePixel() local 175 if( aOutSize.Width() < TABWIN_WIDTH_MIN ) in SetSizePixel() 176 aOutSize.Width() = TABWIN_WIDTH_MIN; in SetSizePixel() 177 if( aOutSize.Height() < TABWIN_HEIGHT_MIN ) in SetSizePixel() 178 aOutSize.Height() = TABWIN_HEIGHT_MIN; in SetSizePixel() 180 GetData()->SetSize( aOutSize ); in SetSizePixel() 181 Window::SetSizePixel( aOutSize ); in SetSizePixel() 417 Size aOutSize = GetOutputSizePixel(); in setSizingFlag() local 495 Size aOutSize = GetOutputSizePixel(); in Resize() local 496 aOutSize = Size(CalcZoom(aOutSize.Width()),CalcZoom(aOutSize.Height())); in Resize() [all …]
|
/aoo42x/main/extensions/source/bibliography/ |
H A D | general.cxx | 593 ::Size aOutSize(GetOutputSizePixel()); in AdjustScrollbars() 594 sal_Bool bHoriVisible = aOutSize.Width() <= aStdSize.Width(); in AdjustScrollbars() 609 ::Size aVertSize(nHoriScrollHeight, aOutSize.Height() - in AdjustScrollbars() 618 ::Size aScrollSize(aOutSize.Width() - aSize.Height(), aSize.Height()); in AdjustScrollbars() 619 ::Point aScrollPos(0, aOutSize.Height() - aSize.Height()); in AdjustScrollbars() 622 aScrollPos.X() = aOutSize.Width() - aSize.Width(); in AdjustScrollbars() 625 aScrollSize.Height() = aOutSize.Height() - aSize.Height(); in AdjustScrollbars() 628 ::Size aControlParentWinSz(aOutSize); in AdjustScrollbars() 768 ::Size aOutSize = aControlParentWin.GetOutputSizePixel(); in focusGained() 777 else if(nX > aOutSize.Width()) in focusGained() [all …]
|
/aoo42x/main/vcl/source/control/ |
H A D | fixed.cxx | 495 Size aOutSize = GetOutputSizePixel(); in ImplDraw() local 511 nX = (aOutSize.Width()-1)/2; in ImplDraw() 512 aDecoView.DrawSeparator( Point( nX, 0 ), Point( nX, aOutSize.Height()-1 ) ); in ImplDraw() 516 nY = (aOutSize.Height()-1)/2; in ImplDraw() 517 aDecoView.DrawSeparator( Point( 0, nY ), Point( aOutSize.Width()-1, nY ), false ); in ImplDraw() 528 Point aStartPt( aOutSize.Width()/2, aOutSize.Height()-1 ); in ImplDraw() 530 aStartPt.Y() -= (aOutSize.Height() - nWidth)/2; in ImplDraw() 535 if( aOutSize.Height() - aStartPt.Y() > FIXEDLINE_TEXT_BORDER ) in ImplDraw() 536 aDecoView.DrawSeparator( Point( aStartPt.X(), aOutSize.Height()-1 ), in ImplDraw() 545 Rectangle aRect( 0, 0, aOutSize.Width(), aOutSize.Height() ); in ImplDraw() [all …]
|
H A D | edit.cxx | 1197 const Size aOutSize = GetOutputSizePixel(); in ImplShowCursor() local 1198 if ( (nCursorPosX < 0) || (nCursorPosX >= aOutSize.Width()) ) in ImplShowCursor() 1206 mnXOffset += aOutSize.Width() / 5; in ImplShowCursor() 1212 mnXOffset = (aOutSize.Width()-ImplGetExtraOffset()) - nTextPos; in ImplShowCursor() 1214 if ( (aOutSize.Width()-ImplGetExtraOffset()) < nTextPos ) in ImplShowCursor() 1216 long nMaxNegX = (aOutSize.Width()-ImplGetExtraOffset()) - GetTextWidth( aText ); in ImplShowCursor() 1217 mnXOffset -= aOutSize.Width() / 5; in ImplShowCursor() 1224 if ( nCursorPosX == aOutSize.Width() ) // dann nicht sichtbar... in ImplShowCursor()
|
/aoo42x/main/svtools/source/control/ |
H A D | calendar.cxx | 429 Size aOutSize = GetOutputSizePixel(); in ImplFormat() local 431 if ( (aOutSize.Width() <= 1) || (aOutSize.Height() <= 1) ) in ImplFormat() 468 mnMonthPerLine = aOutSize.Width() / mnMonthWidth; in ImplFormat() 483 mnLines = aOutSize.Height() / mnMonthHeight; in ImplFormat() 969 Size aOutSize = GetOutputSizePixel(); in ImplDraw() local 997 aOutSize.Width()-2, in ImplDraw() 2764 Size aOutSize = GetOutputSizePixel(); in ArrangeButtons() local 2780 long nX = (aOutSize.Width()-nBtnWidth)/2; in ArrangeButtons() 2798 …mpNoneBtn->SetPosPixel( Point( (aOutSize.Width()-nBtnWidth)/2, aOutSize.Height()+CALFIELD_BORDER_Y… in ArrangeButtons() 2809 …mpFixedLine->SetPosSizePixel( (aOutSize.Width()-nLineWidth)/2, aOutSize.Height()+((CALFIELD_BORDER… in ArrangeButtons() [all …]
|
H A D | toolbarmenuacc.cxx | 409 const Size aOutSize( mpParent->mrMenu.GetOutputSizePixel() ); in getBounds() local 414 aRet.Width = aOutSize.Width(); in getBounds() 415 aRet.Height = aOutSize.Height(); in getBounds() 446 const Size aOutSize( mpParent->mrMenu.GetOutputSizePixel() ); in getSize() local 447 return awt::Size( aOutSize.Width(), aOutSize.Height() ); in getSize()
|
H A D | valueset.cxx | 1104 Size aOutSize = GetOutputSizePixel(); in ImplScroll() local 1112 if ( !mbScroll || (rPos.X() < 0) || (rPos.X() > aOutSize.Width()-nScrBarWidth) ) in ImplScroll() 1129 (mnFirstLine < (sal_uInt16)(mnLines-mnVisLines)) && (rPos.Y() < aOutSize.Height()) ) in ImplScroll() 2727 Size aOutSize = GetOutputSizePixel(); in ShowDropPos() local 2729 aOutSize.Height() = mnTextOffset; in ShowDropPos() 2730 if ( (rPos.X() >= 0) && (rPos.X() < aOutSize.Width()) && in ShowDropPos() 2731 (rPos.Y() >= 0) && (rPos.Y() < aOutSize.Height()) ) in ShowDropPos()
|
H A D | valueacc.cxx | 509 const Size aOutSize( mpParent->GetOutputSizePixel() ); in getBounds() local 514 aRet.Width = aOutSize.Width(); in getBounds() 515 aRet.Height = aOutSize.Height(); in getBounds()
|
/aoo42x/main/svx/source/dialog/ |
H A D | measctrl.cxx | 167 Size aOutSize( GetOutputSize() ); in MouseButtonDown() local 170 …long nX = (long)( ( (double)aOutSize.Width() - ( (double)aOutSize.Width() * (double)*pMultFrac ) … in MouseButtonDown() 171 …long nY = (long)( ( (double)aOutSize.Height() - ( (double)aOutSize.Height() * (double)*pMultFrac … in MouseButtonDown()
|
H A D | connctrl.cxx | 350 Size aOutSize( GetOutputSize() ); in MouseButtonDown() local 353 …long nX = (long)( ( (double)aOutSize.Width() - ( (double)aOutSize.Width() * (double)*pMultFrac ) … in MouseButtonDown() 354 …long nY = (long)( ( (double)aOutSize.Height() - ( (double)aOutSize.Height() * (double)*pMultFrac … in MouseButtonDown()
|
/aoo42x/main/sd/source/ui/animations/ |
H A D | DialogListBox.cxx | 171 Size aOutSize( GetOutputSizePixel() ); in ImplInitScrollBars() local 172 if( mbHScroll ) aOutSize.Height() -= mpHScrollBar->GetSizePixel().Height(); in ImplInitScrollBars() 173 if( mbVScroll ) aOutSize.Width() -= mpVScrollBar->GetSizePixel().Width(); in ImplInitScrollBars() 178 mpVScrollBar->SetVisibleSize( aOutSize.Height() ); in ImplInitScrollBars() 185 mpHScrollBar->SetVisibleSize( aOutSize.Width() ); in ImplInitScrollBars()
|
/aoo42x/main/basctl/source/dlged/ |
H A D | dlged.cxx | 327 Size aOutSize = pWindow->GetOutputSize(); in InitScrollBars() local 332 pHScroll->SetVisibleSize( (sal_uLong)aOutSize.Width() ); in InitScrollBars() 333 pVScroll->SetVisibleSize( (sal_uLong)aOutSize.Height() ); in InitScrollBars() 335 pHScroll->SetLineSize( aOutSize.Width() / 10 ); in InitScrollBars() 336 pVScroll->SetLineSize( aOutSize.Height() / 10 ); in InitScrollBars() 337 pHScroll->SetPageSize( aOutSize.Width() / 2 ); in InitScrollBars() 338 pVScroll->SetPageSize( aOutSize.Height() / 2 ); in InitScrollBars() 579 Size aOutSize = pWindow->GetOutputSize(); in IMPL_LINK() local 580 aPos.X() = (aOutSize.Width()>>1) - (aSize.Width()>>1); in IMPL_LINK() 581 aPos.Y() = (aOutSize.Height()>>1) - (aSize.Height()>>1); in IMPL_LINK()
|
/aoo42x/main/sc/source/ui/view/ |
H A D | prevwsh.cxx | 250 Size aOutSize( rSize.Width()-nBarW, rSize.Height()-nBarH ); in AdjustPosSizePixel() local 251 pPreview->SetPosSizePixel( rPos, aOutSize ); in AdjustPosSizePixel() 252 pHorScroll->SetPosSizePixel( Point( rPos.X(), rPos.Y() + aOutSize.Height() ), in AdjustPosSizePixel() 253 Size( aOutSize.Width(), nBarH ) ); in AdjustPosSizePixel() 254 pVerScroll->SetPosSizePixel( Point( rPos.X() + aOutSize.Width(), rPos.Y() ), in AdjustPosSizePixel() 255 Size( nBarW, aOutSize.Height() ) ); in AdjustPosSizePixel() 256 pCorner->SetPosSizePixel( Point( rPos.X() + aOutSize.Width(), rPos.Y() + aOutSize.Height() ), in AdjustPosSizePixel()
|
/aoo42x/main/svx/source/unodraw/ |
H A D | UnoGraphicExporter.cxx | 299 Size* CalcSize( sal_Int32 nWidth, sal_Int32 nHeight, const Size& aBoundSize, Size& aOutSize ) in CalcSize() argument 313 aOutSize.Width() = nWidth; in CalcSize() 314 aOutSize.Height() = nHeight; in CalcSize() 316 return &aOutSize; in CalcSize() 845 Size aOutSize; in GetGraphic() local 846 …etGDIMetaFile(), sal_True, CalcSize( rSettings.mnWidth, rSettings.mnHeight, aNewSize, aOutSize ) ); in GetGraphic() 1035 Size aOutSize; in GetGraphic() local 1036 …rSettings.mbTranslucent, CalcSize( rSettings.mnWidth, rSettings.mnHeight, aBoundSize, aOutSize ) ); in GetGraphic()
|
/aoo42x/main/vcl/source/gdi/ |
H A D | impimage.cxx | 393 Size aOutSize; in Draw() local 395 aOutSize = ( pSize ? *pSize : pOutDev->PixelToLogic( maSize ) ); in Draw() 400 pOutDev->DrawBitmapEx( rPos, aOutSize, aSrcPos, maSize, maDisabledBmpEx ); in Draw() 530 pOutDev->DrawBitmapEx( rPos, aOutSize, aTmpBmpEx ); in Draw() 545 pOutDev->DrawBitmapEx( rPos, aOutSize, aSrcPos, maSize, *pOutputBmp ); in Draw()
|
/aoo42x/main/sd/source/ui/slideshow/ |
H A D | showwin.cxx | 563 const Size aOutSize( GetOutputSize() ); in DrawPauseScene() local 586 …const Point aGrfPos( Max( aOutOrg.X() + aOutSize.Width() - aGrfSize.Width() - aOffset.Width(), aOu… in DrawPauseScene() 587 … Max( aOutOrg.Y() + aOutSize.Height() - aGrfSize.Height() - aOffset.Height(), aOutOrg.Y() ) ); in DrawPauseScene() 607 const Size aVDevSize( aOutSize.Width(), aVDev.GetTextHeight() ); in DrawPauseScene()
|
/aoo42x/main/svx/source/gallery2/ |
H A D | galbrws1.cxx | 238 const Size aOutSize( GetOutputSizePixel() ); in ImplAdjustControls() local 243 Size( aOutSize.Width(), nNewThemeHeight ) ); in ImplAdjustControls() 246 Size( aOutSize.Width(), aOutSize.Height() - nStartY ) ); in ImplAdjustControls()
|
H A D | galbrws2.cxx | 581 const Size aOutSize( GetOutputSizePixel() ); in Resize() local 586 const Size aSz( aOutSize.Width(), aOutSize.Height() - aPt.Y() ); in Resize() 589 …maInfoBar.SetPosSizePixel( Point( nInfoBarX, 0 ), Size( aOutSize.Width() - nInfoBarX, aBoxSize.Hei… in Resize()
|
/aoo42x/main/vcl/source/window/ |
H A D | printdlg.cxx | 420 Size aOutSize( GetOutputSizePixel() ); in Paint() local 421 Size aSubSize( aOutSize.Width() / mnColumns, aOutSize.Height() / mnRows ); in Paint() 459 aVw.DrawFrame( Rectangle( Point( 0, 0), aOutSize ), FRAME_DRAW_GROUP ); in Paint() 979 Size aOutSize( GetOutputSizePixel() ); in PrintDialog() local 980 SetMinOutputSizePixel( aOutSize ); in PrintDialog() 984 if( aOutSize.Width() < 768 ) in PrintDialog() 995 if( aOutSize.Width() - aTabSize.Width() < nOptPreviewWidth ) in PrintDialog() 997 aOutSize.Width() = aTabSize.Width() + nOptPreviewWidth; in PrintDialog() 998 if( aOutSize.Width() > 768 ) // don't enlarge the dialog too much in PrintDialog() 999 aOutSize.Width() = 768; in PrintDialog() [all …]
|
/aoo42x/main/svx/source/accessibility/ |
H A D | charmapacc.cxx | 349 Size aOutSize( m_pParent->getCharSetControl()->GetOutputSizePixel()); in implGetBounds() local 353 aOutSize.Width() -= aScrollBar.Width(); in implGetBounds() 361 aRet.Width = aOutSize.Width(); in implGetBounds() 362 aRet.Height = aOutSize.Height(); in implGetBounds()
|
/aoo42x/main/desktop/source/deployment/gui/ |
H A D | license_dialog.cxx | 151 Size aOutSize = pView->GetWindow()->GetOutputSizePixel(); in IsEndReached() local 152 Point aBottom( 0, aOutSize.Height() ); in IsEndReached()
|
/aoo42x/main/sd/source/ui/view/ |
H A D | outlview.cxx | 1988 Size aOutSize( 2000, nBulletHeight ); in IMPL_LINK() local 1990 const float fImageHeight = ((float)aOutSize.Height() * (float)4) / (float)7; in IMPL_LINK() 1996 aImagePos.X() += aOutSize.Width() - aImageSize.Width() - aOffset.Width() ; in IMPL_LINK() 1997 aImagePos.Y() += (aOutSize.Height() - aImageSize.Height()) / 2; in IMPL_LINK() 2021 aTextPos.Y() += (aOutSize.Height() - aTextSz.Height()) / 2; in IMPL_LINK()
|
/aoo42x/main/extensions/source/preload/ |
H A D | oemwiz.cxx | 423 Size aOutSize = pView->GetWindow()->GetOutputSizePixel(); in IsEndReached() local 424 Point aBottom( 0, aOutSize.Height() ); in IsEndReached()
|