Home
last modified time | relevance | path

Searched refs:nWW8BrushStyle (Results 1 – 2 of 2) sorted by relevance

/aoo4110/main/writerfilter/source/dmapper/
H A DCellColorHandler.cxx206 sal_Int32 nWW8BrushStyle = eMSGrayScale[m_nShadowType]; in getProperties() local
208 if( !nWW8BrushStyle ) in getProperties()
218 sal_uInt32 nRed = ((nFore & 0xff0000)>>0x10) * nWW8BrushStyle; in getProperties()
219 sal_uInt32 nGreen = ((nFore & 0xff00)>>0x8) * nWW8BrushStyle; in getProperties()
220 sal_uInt32 nBlue = (nFore & 0xff) * nWW8BrushStyle; in getProperties()
221 nRed += ((nBack & 0xff0000)>>0x10) * (1000L - nWW8BrushStyle); in getProperties()
222 nGreen += ((nBack & 0xff00)>>0x8)* (1000L - nWW8BrushStyle); in getProperties()
223 nBlue += (nBack & 0xff) * (1000L - nWW8BrushStyle); in getProperties()
/aoo4110/main/sw/source/filter/ww8/
H A Dww8par6.cxx4791 sal_uLong nWW8BrushStyle = eMSGrayScale[nIndex]; in SetShade() local
4793 switch (nWW8BrushStyle) in SetShade()
4803 sal_uInt32 nRed = aForeColor.GetRed() * nWW8BrushStyle; in SetShade()
4804 sal_uInt32 nGreen = aForeColor.GetGreen() * nWW8BrushStyle; in SetShade()
4805 sal_uInt32 nBlue = aForeColor.GetBlue() * nWW8BrushStyle; in SetShade()
4806 nRed += aBackColor.GetRed() * (1000L - nWW8BrushStyle); in SetShade()
4807 nGreen += aBackColor.GetGreen()* (1000L - nWW8BrushStyle); in SetShade()
4808 nBlue += aBackColor.GetBlue() * (1000L - nWW8BrushStyle); in SetShade()

Completed in 51 milliseconds