Lines Matching refs:rDescr
347 Font VCLUnoHelper::CreateFont( const ::com::sun::star::awt::FontDescriptor& rDescr, const Font& rIn… in CreateFont() argument
350 if ( rDescr.Name.getLength() ) in CreateFont()
351 aFont.SetName( rDescr.Name ); in CreateFont()
352 if ( rDescr.StyleName.getLength() ) in CreateFont()
353 aFont.SetStyleName( rDescr.StyleName ); in CreateFont()
354 if ( rDescr.Height ) in CreateFont()
355 aFont.SetSize( Size( rDescr.Width, rDescr.Height ) ); in CreateFont()
356 if ( (FontFamily)rDescr.Family != FAMILY_DONTKNOW ) in CreateFont()
357 aFont.SetFamily( (FontFamily)rDescr.Family ); in CreateFont()
358 if ( (CharSet)rDescr.CharSet != RTL_TEXTENCODING_DONTKNOW ) in CreateFont()
359 aFont.SetCharSet( (CharSet)rDescr.CharSet ); in CreateFont()
360 if ( (FontPitch)rDescr.Pitch != PITCH_DONTKNOW ) in CreateFont()
361 aFont.SetPitch( (FontPitch)rDescr.Pitch ); in CreateFont()
362 if ( rDescr.CharacterWidth ) in CreateFont()
363 aFont.SetWidthType( VCLUnoHelper::ConvertFontWidth( rDescr.CharacterWidth ) ); in CreateFont()
364 if ( rDescr.Weight ) in CreateFont()
365 aFont.SetWeight( VCLUnoHelper::ConvertFontWeight( rDescr.Weight ) ); in CreateFont()
366 if ( (FontItalic)rDescr.Slant != ITALIC_DONTKNOW ) in CreateFont()
367 aFont.SetItalic( (FontItalic)rDescr.Slant ); in CreateFont()
368 if ( (FontUnderline)rDescr.Underline != UNDERLINE_DONTKNOW ) in CreateFont()
369 aFont.SetUnderline( (FontUnderline)rDescr.Underline ); in CreateFont()
370 if ( (FontStrikeout)rDescr.Strikeout != STRIKEOUT_DONTKNOW ) in CreateFont()
371 aFont.SetStrikeout( (FontStrikeout)rDescr.Strikeout ); in CreateFont()
374 aFont.SetOrientation( (short)rDescr.Orientation ); in CreateFont()
375 aFont.SetKerning( rDescr.Kerning ); in CreateFont()
376 aFont.SetWordLineMode( rDescr.WordLineMode ); in CreateFont()