Lines Matching refs:rDialogSize
75 Point SwGetChartDialogPos( const Window *pParentWin, const Size& rDialogSize, const Rectangle& rLog… in SwGetChartDialogPos() argument
94 if ( aDesktop.Bottom() - aObjAbs.Bottom() >= rDialogSize.Height() + aSpace.Height() ) in SwGetChartDialogPos()
100 else if ( aObjAbs.Top() - aDesktop.Top() >= rDialogSize.Height() + aSpace.Height() ) in SwGetChartDialogPos()
103 aRet.Y() = aObjAbs.Top() - rDialogSize.Height() - aSpace.Height(); in SwGetChartDialogPos()
108 … bool bFitLeft = ( aObjAbs.Left() - aDesktop.Left() >= rDialogSize.Width() + aSpace.Width() ); in SwGetChartDialogPos()
109 … bool bFitRight = ( aDesktop.Right() - aObjAbs.Right() >= rDialogSize.Width() + aSpace.Width() ); in SwGetChartDialogPos()
118 aRet.X() = aObjAbs.Left() - rDialogSize.Width() - aSpace.Width(); in SwGetChartDialogPos()
121 aRet.Y() = aObjAbs.Top() + ( aObjAbs.GetHeight() - rDialogSize.Height() ) / 2; in SwGetChartDialogPos()
126 aRet.Y() = aDesktop.Bottom() - rDialogSize.Height(); in SwGetChartDialogPos()
131 aRet.X() = aObjAbs.Left() + ( aObjAbs.GetWidth() - rDialogSize.Width() ) / 2; in SwGetChartDialogPos()
134 if ( aRet.X() + rDialogSize.Width() - 1 > aDesktop.Right() ) in SwGetChartDialogPos()
135 aRet.X() = aDesktop.Right() - rDialogSize.Width() + 1; in SwGetChartDialogPos()
138 if ( aRet.Y() + rDialogSize.Height() - 1 > aDesktop.Bottom() ) in SwGetChartDialogPos()
139 aRet.Y() = aDesktop.Bottom() - rDialogSize.Height() + 1; in SwGetChartDialogPos()