Home
last modified time | relevance | path

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

12

/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/svx/source/dialog/
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 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 Dconnctrl.cxx156 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 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()
/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/sc/source/ui/view/
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 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 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 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 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()
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 …]
/trunk/main/svtools/source/control/
H A Dvalueset.cxx357 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 Druler.cxx1438 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 …]
/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/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/svtools/source/contnr/
H A Dtemplwin.cxx438 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 …]
/trunk/main/vcl/source/window/
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/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/sc/source/ui/dbgui/
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/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()
/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/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/svtools/workben/
H A Dsvdem.cxx1099 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()

Completed in 470 milliseconds

12