/aoo42x/main/svtools/source/control/ |
H A D | ctrltool.cxx | 414 if ( eWeight > WEIGHT_BOLD ) in GetStyleName() 421 else if ( eWeight > WEIGHT_MEDIUM ) in GetStyleName() 428 else if ( eWeight > WEIGHT_LIGHT ) in GetStyleName() 435 else if ( eWeight != WEIGHT_DONTKNOW ) in GetStyleName() 456 FontWeight eWeight = rInfo.GetWeight(); in GetStyleName() local 462 aStyleName = GetStyleName( eWeight, eItalic ); in GetStyleName() 499 aStyleName = GetStyleName( eWeight, eItalic ); in GetStyleName() 532 FontWeight eWeight = rInfo.GetWeight(); in GetFontMapText() local 537 if ( (eWeight == pFontInfo->GetWeight()) && in GetFontMapText() 708 if ( (eWeight == pSearchInfo->GetWeight()) && in Get() [all …]
|
H A D | stdmenu.cxx | 213 FontWeight eWeight = aInfo.GetWeight(); in Fill() local 218 if ( (eWeight != eLastWeight) || (eItalic != eLastItalic) || in Fill() 229 if ( eWeight <= WEIGHT_NORMAL ) in Fill() 249 aStyleText = pList->GetStyleName( eWeight, eItalic ); in Fill() 253 eLastWeight = eWeight; in Fill() 263 const XubString& rAttrStyleText = pList->GetStyleName( eWeight, eItalic ); in Fill()
|
H A D | ctrlbox.cxx | 1013 FontWeight eWeight = aInfo.GetWeight(); in Fill() local 1018 if ( (eWeight != eLastWeight) || (eItalic != eLastItalic) || in Fill() 1024 if ( eWeight <= WEIGHT_NORMAL ) in Fill() 1044 aStyleText = pList->GetStyleName( eWeight, eItalic ); in Fill() 1048 eLastWeight = eWeight; in Fill() 1058 const XubString& rAttrStyleText = pList->GetStyleName( eWeight, eItalic ); in Fill()
|
/aoo42x/main/toolkit/source/helper/ |
H A D | vclunohelper.cxx | 270 float VCLUnoHelper::ConvertFontWeight( FontWeight eWeight ) in ConvertFontWeight() argument 272 if( eWeight == WEIGHT_DONTKNOW ) in ConvertFontWeight() 274 else if( eWeight == WEIGHT_THIN ) in ConvertFontWeight() 276 else if( eWeight == WEIGHT_ULTRALIGHT ) in ConvertFontWeight() 278 else if( eWeight == WEIGHT_LIGHT ) in ConvertFontWeight() 280 else if( eWeight == WEIGHT_SEMILIGHT ) in ConvertFontWeight() 282 else if( ( eWeight == WEIGHT_NORMAL ) || ( eWeight == WEIGHT_MEDIUM ) ) in ConvertFontWeight() 284 else if( eWeight == WEIGHT_SEMIBOLD ) in ConvertFontWeight() 286 else if( eWeight == WEIGHT_BOLD ) in ConvertFontWeight() 288 else if( eWeight == WEIGHT_ULTRABOLD ) in ConvertFontWeight() [all …]
|
/aoo42x/main/vcl/unx/generic/gdi/ |
H A D | salgdi3.cxx | 1472 psp::weight::type eWeight = psp::weight::Unknown; in GetFcSubstitute() local 1477 case WEIGHT_THIN: eWeight = psp::weight::Thin; break; in GetFcSubstitute() 1479 case WEIGHT_LIGHT: eWeight = psp::weight::Light; break; in GetFcSubstitute() 1480 case WEIGHT_SEMILIGHT: eWeight = psp::weight::SemiLight; break; in GetFcSubstitute() 1481 case WEIGHT_NORMAL: eWeight = psp::weight::Normal; break; in GetFcSubstitute() 1482 case WEIGHT_MEDIUM: eWeight = psp::weight::Medium; break; in GetFcSubstitute() 1483 case WEIGHT_SEMIBOLD: eWeight = psp::weight::SemiBold; break; in GetFcSubstitute() 1484 case WEIGHT_BOLD: eWeight = psp::weight::Bold; break; in GetFcSubstitute() 1485 case WEIGHT_ULTRABOLD: eWeight = psp::weight::UltraBold; break; in GetFcSubstitute() 1486 case WEIGHT_BLACK: eWeight = psp::weight::Black; break; in GetFcSubstitute() [all …]
|
/aoo42x/main/vcl/unx/generic/fontmanager/ |
H A D | fontmanager.cxx | 149 eWeight = weight::Bold; in parseWeight() 160 eWeight = weight::Black; in parseWeight() 165 eWeight = weight::Light; in parseWeight() 167 eWeight = weight::Medium; in parseWeight() 169 eWeight = weight::Normal; in parseWeight() 170 return eWeight; in parseWeight() 235 if( eWeight != rRight.eWeight ) in operator <() 236 return (int)eWeight < (int)rRight.eWeight; in operator <() 301 if( eWeight != rRight.eWeight ) in operator ==() 2474 eWeight( eWg ), in BuiltinFontIdentifier() [all …]
|
H A D | fontconfig.cxx | 927 italic::type eItalic, weight::type eWeight, width::type eWidth, pitch::type ePitch) in addtopattern() argument 941 if( eWeight != weight::Unknown ) in addtopattern() 944 switch( eWeight ) in addtopattern()
|
/aoo42x/main/dbaccess/source/ui/misc/ |
H A D | UITools.cxx | 990 float ConvertFontWeight( ::FontWeight eWeight ) in ConvertFontWeight() argument 992 if( eWeight == WEIGHT_DONTKNOW ) in ConvertFontWeight() 994 else if( eWeight == WEIGHT_THIN ) in ConvertFontWeight() 996 else if( eWeight == WEIGHT_ULTRALIGHT ) in ConvertFontWeight() 998 else if( eWeight == WEIGHT_LIGHT ) in ConvertFontWeight() 1000 else if( eWeight == WEIGHT_SEMILIGHT ) in ConvertFontWeight() 1002 else if( ( eWeight == WEIGHT_NORMAL ) || ( eWeight == WEIGHT_MEDIUM ) ) in ConvertFontWeight() 1004 else if( eWeight == WEIGHT_SEMIBOLD ) in ConvertFontWeight() 1006 else if( eWeight == WEIGHT_BOLD ) in ConvertFontWeight() 1008 else if( eWeight == WEIGHT_ULTRABOLD ) in ConvertFontWeight() [all …]
|
/aoo42x/main/svtools/source/filter/wmf/ |
H A D | winmtf.cxx | 248 FontWeight eWeight; in WinMtfFontStyle() local 250 eWeight = WEIGHT_THIN; in WinMtfFontStyle() 252 eWeight = WEIGHT_ULTRALIGHT; in WinMtfFontStyle() 254 eWeight = WEIGHT_LIGHT; in WinMtfFontStyle() 256 eWeight = WEIGHT_NORMAL; in WinMtfFontStyle() 258 eWeight = WEIGHT_MEDIUM; in WinMtfFontStyle() 260 eWeight = WEIGHT_SEMIBOLD; in WinMtfFontStyle() 262 eWeight = WEIGHT_BOLD; in WinMtfFontStyle() 264 eWeight = WEIGHT_ULTRABOLD; in WinMtfFontStyle() 266 eWeight = WEIGHT_BLACK; in WinMtfFontStyle() [all …]
|
/aoo42x/main/sw/source/core/inc/ |
H A D | swfont.hxx | 113 inline void SetWeight( const FontWeight eWeight ); 228 inline void SetWeight( const FontWeight eWeight, const sal_uInt8 nWhich ); 485 inline void SwSubFont::SetWeight( const FontWeight eWeight ) in SetWeight() argument 488 Font::SetWeight( eWeight ); in SetWeight() 491 inline void SwFont::SetWeight( const FontWeight eWeight, const sal_uInt8 nWhich ) in SetWeight() argument 494 aSub[nWhich].SetWeight( eWeight ); in SetWeight()
|
/aoo42x/main/vcl/source/gdi/ |
H A D | font.cxx | 173 FontWeight eWeight = WEIGHT_DONTKNOW; in AskConfig() local 178 aShortName, aFamilyName, eWeight, eWidthType, nType ); in AskConfig() 227 meWeight = eWeight; in AskConfig() 519 void Font::SetWeight( FontWeight eWeight ) in SetWeight() argument 523 if( mpImplFont->meWeight != eWeight ) in SetWeight() 526 mpImplFont->meWeight = eWeight; in SetWeight()
|
/aoo42x/main/sc/source/core/data/ |
H A D | patattr.cxx | 234 FontWeight eWeight; in GetFont() local 287 eWeight = (FontWeight)((const SvxWeightItem*)pItem)->GetValue(); in GetFont() 338 eWeight = (FontWeight)((const SvxWeightItem&) in GetFont() 476 rFont.SetWeight( eWeight ); in GetFont() 509 FontWeight eWeight, eCjkWeight, eCtlWeight; in FillToEditItemSet() local 556 eWeight = (FontWeight)((const SvxWeightItem*)pItem)->GetValue(); in FillToEditItemSet() 639 eWeight = (FontWeight)((const SvxWeightItem&) in FillToEditItemSet() 704 rEditSet.Put( SvxWeightItem ( eWeight, EE_CHAR_WEIGHT ) ); in FillToEditItemSet()
|
/aoo42x/main/starmath/source/ |
H A D | utility.cxx | 319 FontWeight eWeight = rFont.GetWeight(); in IsBold() local 320 return eWeight != WEIGHT_DONTKNOW && eWeight > WEIGHT_NORMAL; in IsBold()
|
/aoo42x/main/vcl/inc/ |
H A D | outfont.hxx | 340 …void AddFallbackForUnicode( sal_UCS4, FontWeight eWeight, const String& rFontName ); 341 …bool GetFallbackForUnicode( sal_UCS4, FontWeight eWeight, String* pFontName ) const; 342 …void IgnoreFallbackForUnicode( sal_UCS4, FontWeight eWeight, const String& rFontNam…
|
/aoo42x/main/filter/source/graphicfilter/ios2met/ |
H A D | ios2met.cxx | 2291 FontWeight eWeight; in ReadFont() local 2295 case 1: eWeight=WEIGHT_THIN; break; in ReadFont() 2296 case 2: eWeight=WEIGHT_ULTRALIGHT; break; in ReadFont() 2297 case 3: eWeight=WEIGHT_LIGHT; break; in ReadFont() 2298 case 4: eWeight=WEIGHT_SEMILIGHT; break; in ReadFont() 2299 case 5: eWeight=WEIGHT_NORMAL; break; in ReadFont() 2300 case 6: eWeight=WEIGHT_SEMIBOLD; break; in ReadFont() 2301 case 7: eWeight=WEIGHT_BOLD; break; in ReadFont() 2302 case 8: eWeight=WEIGHT_ULTRABOLD; break; in ReadFont() 2304 default: eWeight=WEIGHT_DONTKNOW; in ReadFont() [all …]
|
/aoo42x/main/filter/source/svg/ |
H A D | svgfontexport.cxx | 53 FontWeight eWeight( WEIGHT_NORMAL ); in implGetGlyphSet() local 63 eWeight = WEIGHT_BOLD; in implGetGlyphSet() 73 return( maGlyphTree[ aFontName.getToken( 0, ';', nNextTokenPos ) ][ eWeight ][ eItalic ] ); in implGetGlyphSet()
|
/aoo42x/main/svtools/source/edit/ |
H A D | txtattr.cxx | 82 TextAttribFontWeight::TextAttribFontWeight( FontWeight eWeight ) in TextAttribFontWeight() argument 83 : TextAttrib( TEXTATTR_FONTWEIGHT ), meWeight( eWeight ) in TextAttribFontWeight()
|
/aoo42x/main/svtools/inc/svtools/ |
H A D | ctrltool.hxx | 197 const XubString& GetStyleName( FontWeight eWeight, FontItalic eItalic ) const; 203 FontWeight eWeight,
|
H A D | txtattr.hxx | 92 TextAttribFontWeight( FontWeight eWeight );
|
/aoo42x/main/filter/source/graphicfilter/epict/ |
H A D | epict.cxx | 471 FontWeight eWeight; in WriteOpcode_TxFace() local 474 eWeight=rFont.GetWeight(); in WriteOpcode_TxFace() 475 if (eWeight==WEIGHT_BOLD || in WriteOpcode_TxFace() 476 eWeight==WEIGHT_SEMIBOLD || in WriteOpcode_TxFace() 477 eWeight==WEIGHT_ULTRABOLD || in WriteOpcode_TxFace() 478 eWeight==WEIGHT_BLACK) nFace|=0x01; in WriteOpcode_TxFace()
|
/aoo42x/main/sw/source/filter/html/ |
H A D | htmlforw.cxx | 1161 FontWeight eWeight = in OutHTML_DrawFrmFmtAsControl() local 1163 if( eWeight != WEIGHT_DONTKNOW && eWeight != WEIGHT_NORMAL ) in OutHTML_DrawFrmFmtAsControl() 1164 aItemSet.Put( SvxWeightItem( eWeight, RES_CHRATR_WEIGHT ) ); in OutHTML_DrawFrmFmtAsControl()
|
H A D | svxcss1.cxx | 1761 FontWeight eWeight = WEIGHT_NORMAL; in ParseCSS1_font() local 1786 eWeight = (FontWeight)nEnum; in ParseCSS1_font() 1791 eWeight = (sal_uInt16)pExpr->GetNumber() > 400 ? WEIGHT_BOLD in ParseCSS1_font() 1819 SvxWeightItem aWeight( eWeight, aItemIds.nWeight ); in ParseCSS1_font()
|
/aoo42x/main/cui/source/tabpages/ |
H A D | chardlg.cxx | 1044 FontWeight eWeight = WEIGHT_NORMAL; in Reset_Impl() local 1072 eWeight = (FontWeight)rItem.GetValue(); in Reset_Impl() 1081 FontInfo aInfo = pFontList->Get( pFontItem->GetFamilyName(), eWeight, eItalic ); in Reset_Impl() 1090 FontInfo aInfo = pFontList->Get( String(), eWeight, eItalic ); in Reset_Impl() 1279 FontWeight eWeight = aInfo.GetWeight(); in FillItemSet_Impl() local 1281 eWeight = WEIGHT_NORMAL; in FillItemSet_Impl() 1282 SvxWeightItem aWeightItem( eWeight, nWhich ); in FillItemSet_Impl()
|
/aoo42x/main/extensions/source/propctrlr/ |
H A D | fontdialog.cxx | 246 FontWeight eWeight=VCLUnoHelper::ConvertFontWeight(nFontWeight); in translatePropertiesToItems() local 251 SvxWeightItem aWeightItem(eWeight,CFID_WEIGHT); in translatePropertiesToItems()
|
/aoo42x/main/filter/source/graphicfilter/eos2met/ |
H A D | eos2met.cxx | 112 FontWeight eWeight; member 422 pCS->eWeight = rFont.GetWeight(); in CreateChrSet() 433 if (pCS->aName==rFont.GetName() && pCS->eWeight==rFont.GetWeight() ) in FindChrSet() 462 switch (pCS->eWeight) in WriteChrSets()
|