/aoo41x/main/xmloff/source/style/ |
H A D | weighhdl.cxx | 82 sal_uInt16 nWeight = 0; in importXML() local 86 nWeight = 400; in importXML() 91 nWeight = 700; in importXML() 99 nWeight = sal::static_int_cast< sal_uInt16 >(nTemp); in importXML() 108 if( (nWeight >= aFontWeightMap[i].nValue) && (nWeight <= aFontWeightMap[i+1].nValue) ) in importXML() 110 sal_uInt16 nDiff1 = nWeight - aFontWeightMap[i].nValue; in importXML() 111 sal_uInt16 nDiff2 = aFontWeightMap[i+1].nValue - nWeight; in importXML() 146 sal_uInt16 nWeight = 0; in exportXML() local 152 nWeight = aFontWeightMap[i].nValue; in exportXML() 159 if( 400 == nWeight ) in exportXML() [all …]
|
/aoo41x/main/tools/source/inet/ |
H A D | inetmime.cxx | 493 DBG_ASSERT(nWeight >= 0 && nWeight < 10, in getDigit() 498 return aDigits[nWeight]; in getDigit() 505 DBG_ASSERT(nWeight >= 0 && nWeight < 16, in getHexDigit() 511 return aDigits[nWeight]; in getHexDigit() 518 DBG_ASSERT(nWeight >= 0 && nWeight < 64, in getBase64Digit() 527 return aDigits[nWeight]; in getBase64Digit() 869 if (nWeight < 0) in scanUnsigned() 893 if (nWeight < 0) in scanUnsigned() 917 if (nWeight < 0) in scanUnsignedHex() 941 if (nWeight < 0) in scanUnsignedHex() [all …]
|
/aoo41x/main/svtools/source/filter/wmf/ |
H A D | emfwr.cxx | 400 sal_Int32 nWeight; in ImplCheckTextAttr() local 412 case WEIGHT_THIN: nWeight = 100; break; in ImplCheckTextAttr() 413 case WEIGHT_ULTRALIGHT: nWeight = 200; break; in ImplCheckTextAttr() 414 case WEIGHT_LIGHT: nWeight = 300; break; in ImplCheckTextAttr() 415 case WEIGHT_SEMILIGHT: nWeight = 300; break; in ImplCheckTextAttr() 416 case WEIGHT_NORMAL: nWeight = 400; break; in ImplCheckTextAttr() 417 case WEIGHT_MEDIUM: nWeight = 500; break; in ImplCheckTextAttr() 418 case WEIGHT_SEMIBOLD: nWeight = 600; break; in ImplCheckTextAttr() 419 case WEIGHT_BOLD: nWeight = 700; break; in ImplCheckTextAttr() 422 default: nWeight = 0; break; in ImplCheckTextAttr() [all …]
|
H A D | wmfwr.cxx | 428 sal_uInt16 nWeight,i; in WMFRecord_CreateFontIndirect() local 436 case WEIGHT_THIN: nWeight=W_FW_THIN; break; in WMFRecord_CreateFontIndirect() 437 case WEIGHT_ULTRALIGHT: nWeight=W_FW_ULTRALIGHT; break; in WMFRecord_CreateFontIndirect() 438 case WEIGHT_LIGHT: nWeight=W_FW_LIGHT; break; in WMFRecord_CreateFontIndirect() 439 case WEIGHT_SEMILIGHT: nWeight=W_FW_LIGHT; break; in WMFRecord_CreateFontIndirect() 440 case WEIGHT_NORMAL: nWeight=W_FW_NORMAL; break; in WMFRecord_CreateFontIndirect() 441 case WEIGHT_MEDIUM: nWeight=W_FW_MEDIUM; break; in WMFRecord_CreateFontIndirect() 442 case WEIGHT_SEMIBOLD: nWeight=W_FW_SEMIBOLD; break; in WMFRecord_CreateFontIndirect() 443 case WEIGHT_BOLD: nWeight=W_FW_BOLD; break; in WMFRecord_CreateFontIndirect() 446 default: nWeight=W_FW_DONTCARE; in WMFRecord_CreateFontIndirect() [all …]
|
/aoo41x/main/vcl/unx/generic/fontmanager/ |
H A D | fontconfig.cxx | 943 int nWeight = FC_WEIGHT_NORMAL; in addtopattern() local 946 case weight::Thin: nWeight = FC_WEIGHT_THIN;break; in addtopattern() 948 case weight::Light: nWeight = FC_WEIGHT_LIGHT;break; in addtopattern() 949 case weight::SemiLight: nWeight = FC_WEIGHT_BOOK;break; in addtopattern() 950 case weight::Normal: nWeight = FC_WEIGHT_NORMAL;break; in addtopattern() 951 case weight::Medium: nWeight = FC_WEIGHT_MEDIUM;break; in addtopattern() 952 case weight::SemiBold: nWeight = FC_WEIGHT_SEMIBOLD;break; in addtopattern() 953 case weight::Bold: nWeight = FC_WEIGHT_BOLD;break; in addtopattern() 954 case weight::UltraBold: nWeight = FC_WEIGHT_ULTRABOLD;break; in addtopattern() 955 case weight::Black: nWeight = FC_WEIGHT_BLACK;break; in addtopattern() [all …]
|
/aoo41x/main/dbaccess/source/ext/macromigration/ |
H A D | progressmixer.cxx | 52 PhaseWeight nWeight; member 63 :nWeight(1) in PhaseData() 71 :nWeight( _nWeight ) in PhaseData() 130 nRunningWeight += phase->second.nWeight; in lcl_ensureInitialized()
|
/aoo41x/main/drawinglayer/source/attribute/ |
H A D | fontattribute.cxx | 59 sal_uInt16 nWeight, in ImpFontAttribute() argument 70 mnWeight(nWeight), in ImpFontAttribute() 129 sal_uInt16 nWeight, in FontAttribute() argument 138 …rFamilyName, rStyleName, nWeight, bSymbol, bVertical, bItalic, bMonospaced, bOutline, bRTL, bBiDiS… in FontAttribute()
|
/aoo41x/main/vcl/unx/kde4/ |
H A D | KDESalFrame.cxx | 111 int nWeight = qFontInfo.weight(); in toFont() local 112 if ( nWeight <= QFont::Light ) in toFont() 114 else if ( nWeight <= QFont::Normal ) in toFont() 116 else if ( nWeight <= QFont::DemiBold ) in toFont() 118 else if ( nWeight <= QFont::Bold ) in toFont()
|
/aoo41x/main/vcl/unx/generic/app/ |
H A D | i18n_ic.cxx | 516 const unsigned int nWeight; in GetWeightingOfIMStyle() member 533 int nWeight = 0; in GetWeightingOfIMStyle() local 537 nWeight += pWeightPtr->nWeight; in GetWeightingOfIMStyle() 539 return nWeight; in GetWeightingOfIMStyle()
|
/aoo41x/main/starmath/source/ |
H A D | cfgitem.cxx | 236 nWeight = WEIGHT_DONTKNOW; in SmFontFormat() 247 nWeight = (sal_Int16) rFont.GetWeight(); in SmFontFormat() 259 aRes.SetWeight( (FontWeight) nWeight ); in GetFont() 271 nWeight == rFntFmt.nWeight && in operator ==() 741 rFontFormat.nWeight = nTmp16; in ReadFontFormat() 808 pVal->Value <<= (sal_Int16) aFntFmt.nWeight; in SaveFontFormatList()
|
/aoo41x/main/accessibility/source/extended/ |
H A D | textwindowaccessibility.cxx | 2593 ::css::uno::Any Document::mapFontWeight(::FontWeight nWeight) in mapFontWeight() argument 2609 return ::css::uno::makeAny(aWeight[nWeight]); in mapFontWeight() 2615 float nWeight = ::css::awt::FontWeight::NORMAL; in mapFontWeight() local 2616 rWeight >>= nWeight; in mapFontWeight() 2617 return nWeight <= ::css::awt::FontWeight::DONTKNOW ? WEIGHT_DONTKNOW in mapFontWeight() 2618 : nWeight <= ::css::awt::FontWeight::THIN ? WEIGHT_THIN in mapFontWeight() 2620 : nWeight <= ::css::awt::FontWeight::LIGHT ? WEIGHT_LIGHT in mapFontWeight() 2621 : nWeight <= ::css::awt::FontWeight::SEMILIGHT ? WEIGHT_SEMILIGHT in mapFontWeight() 2622 : nWeight <= ::css::awt::FontWeight::NORMAL ? WEIGHT_NORMAL in mapFontWeight() 2623 : nWeight <= ::css::awt::FontWeight::SEMIBOLD ? WEIGHT_SEMIBOLD in mapFontWeight() [all …]
|
/aoo41x/main/vcl/source/gdi/ |
H A D | cvtsvm.cxx | 245 short nWeight; in ImplWriteFont() local 255 nWeight = 1; in ImplWriteFont() 260 nWeight = 2; in ImplWriteFont() 266 nWeight = 3; in ImplWriteFont() 270 nWeight = 0; in ImplWriteFont() 288 rOStm << (sal_Int16) nWeight; in ImplWriteFont() 844 sal_Int16 nCharSet, nFamily, nPitch, nAlign, nWeight, nUnderline, nStrikeout; in ImplConvertFromSVM1() local 854 rIStm >> nCharSet >> nFamily >> nPitch >> nAlign >> nWeight >> nUnderline >> nStrikeout; in ImplConvertFromSVM1() 862 aFont.SetWeight( ( nWeight == 1 ) ? WEIGHT_LIGHT : ( nWeight == 2 ) ? WEIGHT_NORMAL : in ImplConvertFromSVM1() 863 ( nWeight == 3 ) ? WEIGHT_BOLD : WEIGHT_DONTKNOW ); in ImplConvertFromSVM1()
|
/aoo41x/main/sw/source/core/inc/ |
H A D | notxtfrm.hxx | 38 short nWeight; // "Wichtigkeit" der Grafik member in SwNoTxtFrm 71 sal_uInt16 GetWeight() { return nWeight; } in GetWeight()
|
/aoo41x/main/ucb/workben/ucb/ |
H A D | srcharg.cxx | 322 int nWeight in parseSearchArgument() local 324 if (nWeight < 0) in parseSearchArgument() 329 c = sal_Unicode(c << 4 | nWeight); in parseSearchArgument()
|
/aoo41x/main/sw/source/filter/html/ |
H A D | svxcss1.cxx | 298 sal_uInt16 nWeight; member 792 aItemIds.nWeight = rPool.GetTrueWhich( SID_ATTR_CHAR_WEIGHT, sal_False ); in SvxCSS1Parser() 1240 sal_uInt16 nWeight; in ParseCSS1_font_weight() local 1242 nWeight ) ) in ParseCSS1_font_weight() 1244 SvxWeightItem aWeight( (FontWeight)nWeight, aItemIds.nWeight ); in ParseCSS1_font_weight() 1262 sal_uInt16 nWeight = (sal_uInt16)pExpr->GetNumber(); in ParseCSS1_font_weight() local 1263 SvxWeightItem aWeight( nWeight>400 ? WEIGHT_BOLD : WEIGHT_NORMAL, in ParseCSS1_font_weight() 1264 aItemIds.nWeight ); in ParseCSS1_font_weight() 1819 SvxWeightItem aWeight( eWeight, aItemIds.nWeight ); in ParseCSS1_font()
|
/aoo41x/main/vcl/win/source/gdi/ |
H A D | salgdi3.cxx | 733 static FontWeight ImplWeightToSal( int nWeight ) in ImplWeightToSal() argument 735 if ( nWeight <= FW_THIN ) in ImplWeightToSal() 737 else if ( nWeight <= FW_ULTRALIGHT ) in ImplWeightToSal() 739 else if ( nWeight <= FW_LIGHT ) in ImplWeightToSal() 741 else if ( nWeight < FW_MEDIUM ) in ImplWeightToSal() 743 else if ( nWeight == FW_MEDIUM ) in ImplWeightToSal() 745 else if ( nWeight <= FW_SEMIBOLD ) in ImplWeightToSal() 747 else if ( nWeight <= FW_BOLD ) in ImplWeightToSal() 749 else if ( nWeight <= FW_ULTRABOLD ) in ImplWeightToSal()
|
/aoo41x/main/sd/source/ui/slidesorter/view/ |
H A D | SlsPageObjectPainter.cxx | 54 const double nWeight) in Blend() argument 56 const double nValue (nValue1*(1-nWeight) + nValue2 * nWeight); in Blend()
|
/aoo41x/main/vbahelper/source/msforms/ |
H A D | vbanewfont.cxx | 95 void SAL_CALL VbaNewFont::setWeight( sal_Int16 nWeight ) throw (uno::RuntimeException) in setWeight() argument 97 setBold( nWeight >= 700 ); in setWeight()
|
/aoo41x/main/offapi/com/sun/star/formula/ |
H A D | SymbolDescriptor.idl | 32 - nWeight should be changed to float as in FontWeight.idl 95 short nWeight;
|
/aoo41x/main/oox/source/xls/ |
H A D | stylesbuffer.cxx | 633 void FontModel::setBiffWeight( sal_uInt16 nWeight ) in setBiffWeight() argument 635 mbBold = nWeight >= BIFF_FONTWEIGHT_BOLD; in setBiffWeight() 794 sal_uInt16 nHeight, nFlags, nWeight, nEscapement; in importFont() local 796 rStrm >> nHeight >> nFlags >> nWeight >> nEscapement >> nUnderline >> nFamily >> nCharSet; in importFont() 803 maModel.setBiffWeight( nWeight ); in importFont() 934 sal_uInt16 nWeight, nEscapement; in importCfRule() local 943 rStrm >> nHeight >> nStyle >> nWeight >> nEscapement >> nUnderline; in importCfRule() 960 maModel.setBiffWeight( nWeight ); in importCfRule() 1195 sal_uInt16 nWeight, nEscapement; in importFontData5() local 1197 rStrm >> nWeight >> nEscapement >> nUnderline >> nFamily >> nCharSet; in importFontData5() [all …]
|
/aoo41x/main/tools/inc/tools/ |
H A D | inetmime.hxx | 356 static sal_uInt32 getDigit(int nWeight); 365 static sal_uInt32 getHexDigit(int nWeight); 374 static sal_uInt32 getBase64Digit(int nWeight);
|
/aoo41x/main/sc/source/ui/vba/ |
H A D | vbaborders.cxx | 242 sal_Int32 nWeight = 0; in setWeight() local 243 _weight >>= nWeight; in setWeight() 247 switch ( nWeight ) in setWeight()
|
/aoo41x/main/oox/source/ole/ |
H A D | olehelper.cxx | 126 sal_uInt16 nWeight, sal_uInt16 nCharSet, sal_uInt8 nFlags ) : in StdFontInfo() argument 129 mnWeight( nWeight ), in StdFontInfo()
|
/aoo41x/main/sfx2/source/sidebar/ |
H A D | GridLayouter.cxx | 618 ColumnDescriptor& ColumnDescriptor::SetWeight (const sal_Int32 nWeight) in SetWeight() argument 620 mnWeight = nWeight; in SetWeight()
|
/aoo41x/main/vcl/os2/source/gdi/ |
H A D | salgdi3.cxx | 198 static FontWeight ImplWeightToSal( USHORT nWeight ) in ImplWeightToSal() argument 201 if ( nWeight > 999 ) in ImplWeightToSal() 202 nWeight /= 1000; in ImplWeightToSal() 204 switch ( nWeight ) in ImplWeightToSal()
|