Lines Matching refs:rDialogSize
2076 Point ScTabView::GetChartDialogPos( const Size& rDialogSize, const Rectangle& rLogicChart ) in GetChartDialogPos() argument
2107 if ( aDesktop.Bottom() - aObjAbs.Bottom() >= rDialogSize.Height() + aSpace.Height() ) in GetChartDialogPos()
2114 else if ( aObjAbs.Top() - aDesktop.Top() >= rDialogSize.Height() + aSpace.Height() ) in GetChartDialogPos()
2118 aRet.Y() = aObjAbs.Top() - rDialogSize.Height() - aSpace.Height(); in GetChartDialogPos()
2123 … bool bFitLeft = ( aObjAbs.Left() - aDesktop.Left() >= rDialogSize.Width() + aSpace.Width() ); in GetChartDialogPos()
2124 … bool bFitRight = ( aDesktop.Right() - aObjAbs.Right() >= rDialogSize.Width() + aSpace.Width() ); in GetChartDialogPos()
2133 aRet.X() = aObjAbs.Left() - rDialogSize.Width() - aSpace.Width(); in GetChartDialogPos()
2136 aRet.Y() = aObjAbs.Top() + ( aObjAbs.GetHeight() - rDialogSize.Height() ) / 2; in GetChartDialogPos()
2141 aRet.Y() = aDesktop.Bottom() - rDialogSize.Height(); in GetChartDialogPos()
2146 aRet.X() = aObjAbs.Left() + ( aObjAbs.GetWidth() - rDialogSize.Width() ) / 2; in GetChartDialogPos()
2149 if ( aRet.X() + rDialogSize.Width() - 1 > aDesktop.Right() ) in GetChartDialogPos()
2150 aRet.X() = aDesktop.Right() - rDialogSize.Width() + 1; in GetChartDialogPos()
2153 if ( aRet.Y() + rDialogSize.Height() - 1 > aDesktop.Bottom() ) in GetChartDialogPos()
2154 aRet.Y() = aDesktop.Bottom() - rDialogSize.Height() + 1; in GetChartDialogPos()