Lines Matching refs:aResult
176 void parseFontFamilyName( FontAttributes& aResult );
186 FontAttributes& aResult, bool bItalic, bool bBold);
254 rtl::OString aResult(pBuffer); in lcl_unescapeLineFeeds() local
256 return aResult; in lcl_unescapeLineFeeds()
316 basegfx::B2DPolyPolygon aResult; in readPath() local
364 aResult.append( aSubPath ); in readPath()
371 basegfx::B2DRange aRange( aResult.getB2DRange() ); in readPath()
379 new basegfx::unotools::UnoPolyPolygon(aResult)); in readPath()
476 FontAttributes& aResult, bool bItalic, bool bBold) in parseFontCheckForString() argument
485 aResult.isItalic = bItalic; in parseFontCheckForString()
486 aResult.isBold = bBold; in parseFontCheckForString()
504 void Parser::parseFontFamilyName( FontAttributes& aResult ) in parseFontFamilyName() argument
506 rtl::OUStringBuffer aNewFamilyName( aResult.familyName.getLength() ); in parseFontFamilyName()
508 const sal_Unicode* pCopy = aResult.familyName.getStr(); in parseFontFamilyName()
509 sal_Int32 nLen = aResult.familyName.getLength(); in parseFontFamilyName()
522 if (parseFontCheckForString( pCopy, "Italic", nLen, aResult, true, false)) {} in parseFontFamilyName()
523 else if (parseFontCheckForString( pCopy, "-Bold", nLen, aResult, false, true)) {} in parseFontFamilyName()
524 else if (parseFontCheckForString( pCopy, "Bold", nLen, aResult, false, true)) {} in parseFontFamilyName()
525 else if (parseFontCheckForString( pCopy, "-Roman", nLen, aResult, false, false)) {} in parseFontFamilyName()
526 else if (parseFontCheckForString( pCopy, "-LightOblique", nLen, aResult, true, false)) {} in parseFontFamilyName()
527 else if (parseFontCheckForString( pCopy, "-BoldOblique", nLen, aResult, true, true)) {} in parseFontFamilyName()
528 else if (parseFontCheckForString( pCopy, "-Light", nLen, aResult, false, false)) {} in parseFontFamilyName()
529 else if (parseFontCheckForString( pCopy, "-Reg", nLen, aResult, false, false)) {} in parseFontFamilyName()
538 aResult.familyName = aNewFamilyName.makeStringAndClear(); in parseFontFamilyName()
574 FontAttributes aResult( rtl::OStringToOUString( aFontName, in readFont() local
583 parseFontFamilyName(aResult); in readFont()
607 aResult.familyName = aFD.Name; in readFont()
608 parseFontFamilyName(aResult); in readFont()
609 aResult.isBold = (aFD.Weight > 100.0); in readFont()
610 aResult.isItalic = (aFD.Slant == awt::FontSlant_OBLIQUE || in readFont()
612 aResult.isUnderline = false; in readFont()
613 aResult.size = 0; in readFont()
621 if( !aResult.familyName.getLength() ) in readFont()
624 aResult.familyName = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Arial" ) ); in readFont()
625 aResult.isUnderline = false; in readFont()
629 m_aFontMap[nFontID] = aResult; in readFont()
631 aResult.size = nSize; in readFont()
632 m_pSink->setFont(aResult); in readFont()