Lines Matching refs:nCalcLines
751 Size ToolBox::ImplCalcSize( const ToolBox* pThis, sal_uInt16 nCalcLines, sal_uInt16 nCalcMode ) in ImplCalcSize() argument
807 aSize = ImplCalcFloatSize( ((ToolBox*)pThis), nCalcLines ); in ImplCalcSize()
814 aSize.Height() = nCalcLines * pThis->mnWinHeight; in ImplCalcSize()
816 aSize.Height() = nCalcLines * pThis->mnMaxItemHeight; in ImplCalcSize()
819 aSize.Height() += (nCalcLines-1)*TB_LINESPACING; in ImplCalcSize()
834 aSize.Width() = nCalcLines * pThis->mnMaxItemWidth; in ImplCalcSize()
837 aSize.Width() += (nCalcLines-1)*TB_LINESPACING; in ImplCalcSize()
908 sal_uInt16 nCalcLines; in ImplCalcFloatSizes() local
912 nCalcLines = pThis->ImplCalcBreaks( nCalcSize, &nMaxLineWidth, sal_True ); in ImplCalcFloatSizes()
915 pThis->mpFloatSizeAry->mpSize = new ImplToolSize[nCalcLines]; in ImplCalcFloatSizes()
916 pThis->mpFloatSizeAry->mnLength = nCalcLines; in ImplCalcFloatSizes()
918 memset( pThis->mpFloatSizeAry->mpSize, 0, sizeof( ImplToolSize )*nCalcLines ); in ImplCalcFloatSizes()
920 nTempLines = nLines = nCalcLines; in ImplCalcFloatSizes()
5333 sal_uInt16 nCalcLines; in Resizing() local
5345 nCalcLines = ImplCalcLines( this, rSize.Height() ); in Resizing()
5346 if ( nCalcLines < 1 ) in Resizing()
5347 nCalcLines = 1; in Resizing()
5348 rSize = ImplCalcFloatSize( this, nCalcLines ); in Resizing()
5352 nCalcLines = 1; in Resizing()
5353 nTemp = nCalcLines; in Resizing()
5356 (nCalcLines <= mpFloatSizeAry->mpSize[0].mnLines) ) in Resizing()
5358 nCalcLines++; in Resizing()
5359 nTemp = nCalcLines; in Resizing()
5370 Size ToolBox::CalcWindowSizePixel( sal_uInt16 nCalcLines ) const in CalcWindowSizePixel()
5372 return ImplCalcSize( this, nCalcLines ); in CalcWindowSizePixel()
5375 Size ToolBox::CalcWindowSizePixel( sal_uInt16 nCalcLines, WindowAlign eAlign ) const in CalcWindowSizePixel() argument
5377 return ImplCalcSize( this, nCalcLines, in CalcWindowSizePixel()
5425 Size ToolBox::CalcFloatingWindowSizePixel( sal_uInt16 nCalcLines ) const in CalcFloatingWindowSizePixel()
5435 Size aSize = ImplCalcFloatSize( (ToolBox*) this, nCalcLines ); in CalcFloatingWindowSizePixel()