Lines Matching refs:aDesktop
88 Rectangle aDesktop = pParentWin->GetDesktopRectPixel(); in SwGetChartDialogPos() local
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()
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()
126 aRet.Y() = aDesktop.Bottom() - rDialogSize.Height(); in SwGetChartDialogPos()
134 if ( aRet.X() + rDialogSize.Width() - 1 > aDesktop.Right() ) in SwGetChartDialogPos()
135 aRet.X() = aDesktop.Right() - rDialogSize.Width() + 1; in SwGetChartDialogPos()
136 if ( aRet.X() < aDesktop.Left() ) in SwGetChartDialogPos()
137 aRet.X() = aDesktop.Left(); in SwGetChartDialogPos()
138 if ( aRet.Y() + rDialogSize.Height() - 1 > aDesktop.Bottom() ) in SwGetChartDialogPos()
139 aRet.Y() = aDesktop.Bottom() - rDialogSize.Height() + 1; in SwGetChartDialogPos()
140 if ( aRet.Y() < aDesktop.Top() ) in SwGetChartDialogPos()
141 aRet.Y() = aDesktop.Top(); in SwGetChartDialogPos()