Lines Matching refs:rFWData
99 …zeFontWorkData( const SdrObject* pCustomShape, const sal_uInt16 nOutlinesCount2d, FWData& rFWData ) in InitializeFontWorkData() argument
111 rFWData.bSingleLineMode = bSingleLineMode; in InitializeFontWorkData()
120 rFWData.nMaxParagraphsPerTextArea = ( ( nParagraphsLeft - 1 ) / nTextAreaCount ) + 1; in InitializeFontWorkData()
135 rFWData.vTextAreas.push_back( aTextArea ); in InitializeFontWorkData()
161 FWData& rFWData, const PolyPolygon& rOutline2d ) in CalculateHorizontalScalingFactor() argument
172 aFont.SetHeight( pCustomShape->GetLogicRect().GetHeight() / rFWData.nMaxParagraphsPerTextArea ); in CalculateHorizontalScalingFactor()
187 std::vector< FWTextArea >::iterator aTextAreaIter = rFWData.vTextAreas.begin(); in CalculateHorizontalScalingFactor()
188 std::vector< FWTextArea >::iterator aTextAreaIEnd = rFWData.vTextAreas.end(); in CalculateHorizontalScalingFactor()
221 rFWData.fHorizontalTextScaling = fScalingFactor; in CalculateHorizontalScalingFactor()
224 void GetTextAreaOutline( const FWData& rFWData, const SdrObject* pCustomShape, FWTextArea& rTextAre… in GetTextAreaOutline() argument
227 sal_Int32 nVerticalOffset = rFWData.nMaxParagraphsPerTextArea > rTextArea.vParagraphs.size() in GetTextAreaOutline()
228 ? rFWData.nSingleLineHeight / 2 : 0; in GetTextAreaOutline()
260 aFont.SetHeight( rFWData.nSingleLineHeight ); in GetTextAreaOutline()
306 nHeight += rFWData.nSingleLineHeight; in GetTextAreaOutline()
313 aOutlineIter->Rotate( Point( nTextWidth / 2, rFWData.nSingleLineHeight / 2 ), 900 ); in GetTextAreaOutline()
326 nHeight += aCharacterData.aBoundRect.GetWidth() + ( rFWData.nSingleLineHeight / 5 ); in GetTextAreaOutline()
409 rTextArea.aBoundRect = Rectangle( Point( 0, 0 ), Size( 1, rFWData.nSingleLineHeight ) ); in GetTextAreaOutline()
411 rTextArea.aBoundRect.Bottom() += rFWData.nSingleLineHeight; in GetTextAreaOutline()
442 nVerticalOffset -= rFWData.nSingleLineHeight; in GetTextAreaOutline()
444 nVerticalOffset += rFWData.nSingleLineHeight; in GetTextAreaOutline()
449 void GetFontWorkOutline( FWData& rFWData, const SdrObject* pCustomShape ) in GetFontWorkOutline() argument
454 std::vector< FWTextArea >::iterator aTextAreaIter = rFWData.vTextAreas.begin(); in GetFontWorkOutline()
455 std::vector< FWTextArea >::iterator aTextAreaIEnd = rFWData.vTextAreas.end(); in GetFontWorkOutline()
457 rFWData.nSingleLineHeight = (sal_Int32)( ( (double)pCustomShape->GetLogicRect().GetHeight() in GetFontWorkOutline()
458 / rFWData.nMaxParagraphsPerTextArea ) * rFWData.fHorizontalTextScaling ); in GetFontWorkOutline()
470 GetTextAreaOutline( rFWData, pCustomShape, *aTextAreaIter, bSameLetterHeights ); in GetFontWorkOutline()
660 void FitTextOutlinesToShapeOutlines( const PolyPolygon& aOutlines2d, FWData& rFWData ) in FitTextOutlinesToShapeOutlines() argument
662 std::vector< FWTextArea >::iterator aTextAreaIter = rFWData.vTextAreas.begin(); in FitTextOutlinesToShapeOutlines()
663 std::vector< FWTextArea >::iterator aTextAreaIEnd = rFWData.vTextAreas.end(); in FitTextOutlinesToShapeOutlines()
673 if ( rFWData.bSingleLineMode && nHeight && nWidth ) in FitTextOutlinesToShapeOutlines()
812 SdrObject* CreateSdrObjectFromParagraphOutlines( const FWData& rFWData, const SdrObject* pCustomSha… in CreateSdrObjectFromParagraphOutlines() argument
815 if ( !rFWData.vTextAreas.empty() ) in CreateSdrObjectFromParagraphOutlines()
820 std::vector< FWTextArea >::const_iterator aTextAreaIter = rFWData.vTextAreas.begin(); in CreateSdrObjectFromParagraphOutlines()
821 std::vector< FWTextArea >::const_iterator aTextAreaIEnd = rFWData.vTextAreas.end(); in CreateSdrObjectFromParagraphOutlines()