Lines Matching refs:nFact

707 static inline Color GetMixedColor( const Color& rFore, const Color& rBack, sal_uInt16 nFact )  in GetMixedColor()  argument
709 return Color( GetMixedCol( rBack.GetRed(), rFore.GetRed(), nFact ), in GetMixedColor()
710 GetMixedCol( rBack.GetGreen(), rFore.GetGreen(), nFact ), in GetMixedColor()
711 GetMixedCol( rBack.GetBlue(), rFore.GetBlue(), nFact ) ); in GetMixedColor()
819 sal_uInt16 nFact; in PutToDoc() local
823 case raNone: nFact = 0xffff; bSwapCol = sal_True; break; in PutToDoc()
824 case raGray12: nFact = (0xffff / 100) * 12; break; in PutToDoc()
825 case raGray25: nFact = (0xffff / 100) * 25; break; in PutToDoc()
826 case raGray50: nFact = (0xffff / 100) * 50; break; in PutToDoc()
827 case raGray75: nFact = (0xffff / 100) * 75; break; in PutToDoc()
828 default: nFact = 0xffff; in PutToDoc()
831 … aSetItemItemSet.Put( SvxBrushItem( GetMixedColor( aBColor, aRColor, nFact ), ATTR_BACKGROUND ) ); in PutToDoc()
833 … aSetItemItemSet.Put( SvxBrushItem( GetMixedColor( aRColor, aBColor, nFact ), ATTR_BACKGROUND ) ); in PutToDoc()
1353 sal_uInt16 nFact; in LoadPatternCollection() local
1358 case raNone: nFact = 0xffff; bSwapCol = sal_True; bSetItem = (nBColor > 0); break; in LoadPatternCollection()
1359 case raGray12: nFact = (0xffff / 100) * 12; break; in LoadPatternCollection()
1360 case raGray25: nFact = (0xffff / 100) * 25; break; in LoadPatternCollection()
1361 case raGray50: nFact = (0xffff / 100) * 50; break; in LoadPatternCollection()
1362 case raGray75: nFact = (0xffff / 100) * 75; break; in LoadPatternCollection()
1363 default: nFact = 0xffff; bSetItem = (nRColor < 15); in LoadPatternCollection()
1368 … rItemSet.Put( SvxBrushItem( GetMixedColor( aBColor, aRColor, nFact ), ATTR_BACKGROUND ) ); in LoadPatternCollection()
1370 … rItemSet.Put( SvxBrushItem( GetMixedColor( aRColor, aBColor, nFact ), ATTR_BACKGROUND ) ); in LoadPatternCollection()
2060 sal_uInt16 nFact; in LoadColAttr() local
2065 case raNone: nFact = 0xffff; bSwapCol = sal_True; bSetItem = (nBColor > 0); break; in LoadColAttr()
2066 case raGray12: nFact = (0xffff / 100) * 12; break; in LoadColAttr()
2067 case raGray25: nFact = (0xffff / 100) * 25; break; in LoadColAttr()
2068 case raGray50: nFact = (0xffff / 100) * 50; break; in LoadColAttr()
2069 case raGray75: nFact = (0xffff / 100) * 75; break; in LoadColAttr()
2070 default: nFact = 0xffff; bSetItem = (nRColor < 15); in LoadColAttr()
2075 …aScPattern.GetItemSet().Put( SvxBrushItem( GetMixedColor( aBColor, aRColor, nFact ), ATTR_BACKGROU… in LoadColAttr()
2077 …aScPattern.GetItemSet().Put( SvxBrushItem( GetMixedColor( aRColor, aBColor, nFact ), ATTR_BACKGROU… in LoadColAttr()