Home
last modified time | relevance | path

Searched refs:aWinSize (Results 1 – 25 of 50) sorted by path

12

/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/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/cui/source/tabpages/
H A Dgrfpage.cxx785 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()
/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/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/sc/source/ui/dbgui/
H A Dcsvtablebox.cxx132 Size aWinSize = CalcOutputSize( GetSizePixel() ); in InitControls() local
133 long nDataWidth = aWinSize.Width() - nScrollBarSize; in InitControls()
134 long nDataHeight = aWinSize.Height() - nScrollBarSize; in InitControls()
H A Dscuiimoptdlg.cxx207 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()
/trunk/main/sc/source/ui/miscdlgs/
H A Dacredlin.cxx1017 Size aWinSize=pWin->GetSizePixel(); in IMPL_LINK() local
1018 aWinSize.Width()=GetSizePixel().Width(); in IMPL_LINK()
1019 SetPosSizePixel(pWin->GetPosPixel(),aWinSize); in IMPL_LINK()
/trunk/main/sc/source/ui/view/
H A Dgridwin4.cxx1007 Size aWinSize = GetOutputSizePixel(); in DrawPagePreview() local
1070 if ( aEnd.X() > aWinSize.Width() + 10 ) in DrawPagePreview()
1071 aEnd.X() = aWinSize.Width() + 10; in DrawPagePreview()
1072 if ( aEnd.Y() > aWinSize.Height() + 10 ) in DrawPagePreview()
1073 aEnd.Y() = aWinSize.Height() + 10; in DrawPagePreview()
H A Dhdrcont.cxx236 Size aWinSize = GetSizePixel(); in DrawShadedRect() local
237 long nBarSize = bVertical ? aWinSize.Width() : aWinSize.Height(); in DrawShadedRect()
H A Dhintwin.cxx79 Size aWinSize( Max( aHeadSize.Width(), aTextSize.Width() ) + 2 * HINT_MARGIN + 1, in ScHintWindow() local
81 SetOutputSizePixel( aWinSize ); in ScHintWindow()
H A Dnotemark.cxx156 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 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()
H A Dselect.cxx254 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 Dtabview.cxx2192 Size aWinSize = pWin->GetOutputSizePixel(); in lcl_MouseIsOverWin() local
2193 if ( aRel.X() >= 0 && aRel.X() < aWinSize.Width() + SPLIT_HANDLE_SIZE && in lcl_MouseIsOverWin()
2194 aRel.Y() >= 0 && aRel.Y() < aWinSize.Height() + SPLIT_HANDLE_SIZE ) in lcl_MouseIsOverWin()
H A Dtabview2.cxx734 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 Dtabview3.cxx525 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 …]
H A Dtabview5.cxx611 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()
/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()
H A Dnavigatr.cxx592 Size aWinSize( GetOutputSizePixel() ); in Resize() local
593 if( aWinSize.Height() >= maMinSize.Height() ) in Resize()
597 aDiffSize.Width() = aWinSize.Width() - maSize.Width(); in Resize()
598 aDiffSize.Height() = aWinSize.Height() - maSize.Height(); in Resize()
621 maSize = aWinSize; in Resize()
/trunk/main/sd/source/ui/notes/
H A DNotesDockingWindow.cxx97 Size aWinSize (GetOutputSizePixel()); in Resize() local
103 aWinSize); in Resize()
/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/sfx2/source/dialog/
H A Dintro.cxx45 Size aWinSize( GetSizePixel() ); in Init() local
46 Point aWinPos( ( aScreenSize.Width() - aWinSize.Width() ) / 2, in Init()
47 ( aScreenSize.Height() - aWinSize.Height() ) / 2 ); in Init()
H A Dtempldlg.cxx529 Size aWinSize = GetSizePixel(); in StateChanged() local
530 aPoint.X() += aSize.Width() - aWinSize.Width() - 20; in StateChanged()
531 aPoint.Y() += aSize.Height() / 2 - aWinSize.Height() / 2; in StateChanged()
3191 Size aWinSize = GetSizePixel(); in StateChanged() local
3192 aPoint.X() += aSize.Width() - aWinSize.Width() - 20; in StateChanged()
3193 aPoint.Y() += aSize.Height() / 2 - aWinSize.Height() / 2; in StateChanged()
/trunk/main/sfx2/source/doc/
H A Dgraphhelp.cxx189 Size aWinSize = OutputDevice::LogicToLogic( Size( aMetaSize.Width(), aMetaSize.Height() ), in getWinMetaFileFromGDI_Impl() local
192 pMF->xExt = aWinSize.Width(); in getWinMetaFileFromGDI_Impl()
193 pMF->yExt = aWinSize.Height(); in getWinMetaFileFromGDI_Impl()

Completed in 338 milliseconds

12