Lines Matching refs:sal_uInt8

92 sal_uInt8 lclGetMergedColorComp( sal_uInt8 nComp1, sal_uInt32 nWeight1, sal_uInt8 nComp2, sal_uInt3…  in lclGetMergedColorComp()
94 sal_uInt8 nComp1Dist = ::std::min< sal_uInt8 >( nComp1, 0xFF - nComp1 ); in lclGetMergedColorComp()
95 sal_uInt8 nComp2Dist = ::std::min< sal_uInt8 >( nComp2, 0xFF - nComp2 ); in lclGetMergedColorComp()
100 const sal_uInt8& rnCompNearer = (nComp1Dist < nComp2Dist) ? nComp1 : nComp2; in lclGetMergedColorComp()
105 return static_cast< sal_uInt8 >( (nComp1 * nWeight1 + nComp2 * nWeight2 + nWSum / 2) / nWSum ); in lclGetMergedColorComp()
110 …rDest.SetRed( static_cast< sal_uInt8 >( (static_cast< sal_uInt16 >( rSrc1.GetRed() ) + rSrc2.GetRe… in lclSetMixedColor()
111 …rDest.SetGreen( static_cast< sal_uInt8 >( (static_cast< sal_uInt16 >( rSrc1.GetGreen() ) + rSrc2.G… in lclSetMixedColor()
112 …rDest.SetBlue( static_cast< sal_uInt8 >( (static_cast< sal_uInt16 >( rSrc1.GetBlue() ) + rSrc2.Get… in lclSetMixedColor()
253 … sal_uInt16& rnXclForeIx, sal_uInt16& rnXclBackIx, sal_uInt8& rnXclPattern,
426 sal_uInt16& rnXclForeIx, sal_uInt16& rnXclBackIx, sal_uInt8& rnXclPattern, in GetMixedColors()
584 sal_uInt8 nR, nG, nB; in RawReducePalette()
585 sal_uInt8& rnComp = ((nPass % 3 == 0) ? nB : ((nPass % 3 == 1) ? nR : nG)); in RawReducePalette()
589 static const sal_uInt8 spnFactor2[] = { 0x81, 0x82, 0x84, 0x88, 0x92, 0xAA, 0xFF }; in RawReducePalette()
590 sal_uInt8 nFactor1 = static_cast< sal_uInt8 >( 0x02 << nPass ); in RawReducePalette()
591 sal_uInt8 nFactor2 = spnFactor2[ nPass ]; in RawReducePalette()
592 sal_uInt8 nFactor3 = static_cast< sal_uInt8 >( 0x40 >> nPass ); in RawReducePalette()
611 rnComp = static_cast< sal_uInt8 >( nNewComp ); in RawReducePalette()
788 sal_uInt16& rnXclForeIx, sal_uInt16& rnXclBackIx, sal_uInt8& rnXclPattern, in GetMixedColors()
884 sal_uInt8 nScScript = SCRIPTTYPE_LATIN; in GetFontFromItemSet()
1009 << sal_uInt8( 0 ) in WriteBody()
1351 void XclExpCellProt::FillToXF2( sal_uInt8& rnNumFmt ) const
1388 mnIndent = limit_cast< sal_uInt8 >( nTmpIndent, 0, 15 ); in FillFromItemSet()
1446 void XclExpCellAlign::FillToXF2( sal_uInt8& rnFlags ) const
1484 static const char* ToHorizontalAlignment( sal_uInt8 nHorAlign ) in ToHorizontalAlignment()
1500 static const char* ToVerticalAlignment( sal_uInt8 nVerAlign ) in ToVerticalAlignment()
1533 sal_uInt8& rnXclLine, sal_uInt32& rnColorId, in lclGetBorderLine()
1587 sal_uInt8 nTLBRLine; in FillFromItemSet()
1593 sal_uInt8 nBLTRLine; in FillFromItemSet()
1643 void XclExpCellBorder::FillToXF2( sal_uInt8& rnFlags ) const
1704 static const char* ToLineStyle( sal_uInt8 nLineStyle ) in ToLineStyle()
1718 static void lcl_WriteBorder( XclExpXmlStream& rStrm, sal_Int32 nElement, sal_uInt8 nLineStyle, cons… in lcl_WriteBorder()
1791 void XclExpCellArea::FillToXF2( sal_uInt8& rnFlags ) const
1830 static const char* ToPatternType( sal_uInt8 nPattern ) in ToPatternType()
2041 sal_uInt8 XclExpXF::GetUsedFlags() const in GetUsedFlags()
2043 sal_uInt8 nUsedFlags = 0; in GetUsedFlags()
2215 sal_uInt8 nStyleId, nLevel; // do not use members for debug tests in XclExpStyle()
2221 XclExpStyle::XclExpStyle( sal_uInt32 nXFId, sal_uInt8 nStyleId, sal_uInt8 nLevel ) : in XclExpStyle()
2743 sal_uInt32 XclExpXFBuffer::FindBuiltInXF( sal_uInt8 nStyleId, sal_uInt8 nLevel ) const in FindBuiltInXF()
2806 sal_uInt8 nStyleId, nLevel; in InsertStyleXF()
2879 sal_uInt32 XclExpXFBuffer::AppendBuiltInXF( XclExpXFRef xXF, sal_uInt8 nStyleId, sal_uInt8 nLevel ) in AppendBuiltInXF()
2890 sal_uInt32 XclExpXFBuffer::AppendBuiltInXFWithStyle( XclExpXFRef xXF, sal_uInt8 nStyleId, sal_uInt8 in AppendBuiltInXFWithStyle()
2947 for( sal_uInt8 nLevel = 2; nLevel < EXC_STYLE_LEVELCOUNT; ++nLevel ) in InsertDefaultRecords()