Searched refs:rDialogSize (Results 1 – 4 of 4) sorted by relevance
70 Point SwGetChartDialogPos( const Window *pParentWin, const Size& rDialogSize, const Rectangle& rLog… in SwGetChartDialogPos() argument89 if ( aDesktop.Bottom() - aObjAbs.Bottom() >= rDialogSize.Height() + aSpace.Height() ) in SwGetChartDialogPos()95 else if ( aObjAbs.Top() - aDesktop.Top() >= rDialogSize.Height() + aSpace.Height() ) in SwGetChartDialogPos()98 aRet.Y() = aObjAbs.Top() - rDialogSize.Height() - aSpace.Height(); in SwGetChartDialogPos()103 … bool bFitLeft = ( aObjAbs.Left() - aDesktop.Left() >= rDialogSize.Width() + aSpace.Width() ); in SwGetChartDialogPos()104 … bool bFitRight = ( aDesktop.Right() - aObjAbs.Right() >= rDialogSize.Width() + aSpace.Width() ); in SwGetChartDialogPos()113 aRet.X() = aObjAbs.Left() - rDialogSize.Width() - aSpace.Width(); in SwGetChartDialogPos()116 aRet.Y() = aObjAbs.Top() + ( aObjAbs.GetHeight() - rDialogSize.Height() ) / 2; in SwGetChartDialogPos()121 aRet.Y() = aDesktop.Bottom() - rDialogSize.Height(); in SwGetChartDialogPos()126 aRet.X() = aObjAbs.Left() + ( aObjAbs.GetWidth() - rDialogSize.Width() ) / 2; in SwGetChartDialogPos()[all …]
2076 Point ScTabView::GetChartDialogPos( const Size& rDialogSize, const Rectangle& rLogicChart ) in GetChartDialogPos() argument2107 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()[all …]
27 Point SwGetChartDialogPos( const Window *pParentWin, const Size& rDialogSize, const Rectangle& rLog…
341 Point GetChartDialogPos( const Size& rDialogSize, const Rectangle& rLogicChart );