Lines Matching refs:nHeight
359 long nHeight = (long)( aSize.Height() * nCosAbs + aSize.Width() * nSinAbs ); in GetNeededSize() local
380 if ( nHeight > nCmp ) in GetNeededSize()
381 nHeight = nCmp; in GetNeededSize()
384 aSize = Size( nWidth, nHeight ); in GetNeededSize()
526 long nHeight = (long)( aSize.Height() * nCosAbs + aSize.Width() * nSinAbs ); in GetNeededSize() local
540 aSize = Size( nWidth, nHeight ); in GetNeededSize()
736 …sal_uInt16 nHeight = (sal_uInt16) ((const SvxFontHeightItem&) rPattern.GetItem(nFontHeightId)).Get… in lcl_GetAttribHeight() local
738 nHeight += nHeight / 5; in lcl_GetAttribHeight()
746 nHeight += nHeight / 4; in lcl_GetAttribHeight()
749 if ( nHeight + 240 > ScGlobal::nDefFontHeight ) in lcl_GetAttribHeight()
751 nHeight = sal::static_int_cast<sal_uInt16>( nHeight + ScGlobal::nDefFontHeight ); in lcl_GetAttribHeight()
752 nHeight -= 240; in lcl_GetAttribHeight()
758 if (nHeight > STD_ROWHEIGHT_DIFF) in lcl_GetAttribHeight()
759 nHeight -= STD_ROWHEIGHT_DIFF; in lcl_GetAttribHeight()
761 nHeight += pMargin->GetTopMargin() + pMargin->GetBottomMargin(); in lcl_GetAttribHeight()
763 return nHeight; in lcl_GetAttribHeight()
914 sal_uInt16 nHeight = (sal_uInt16) in GetOptimalHeight() local
917 if (nHeight > pHeight[nRow-nStartRow]) in GetOptimalHeight()
918 pHeight[nRow-nStartRow] = nHeight; in GetOptimalHeight()