/trunk/main/svx/source/sidebar/graphic/ |
H A D | GraphicPropertyPanel.cxx | 231 const sal_Int16 nTrans = mpMtrTrans->GetValue(); in IMPL_LINK() local 232 const SfxInt16Item aTransItem( SID_ATTR_GRAF_TRANSPARENCE, nTrans ); in IMPL_LINK() 241 const sal_Int16 nTrans = mpLBColorMode->GetSelectEntryPos(); variable 242 const SfxInt16Item aTransItem( SID_ATTR_GRAF_MODE, nTrans ); 400 const sal_Int64 nTrans = pItem->GetValue(); in NotifyItemUpdate() local 401 mpMtrTrans->SetValue(nTrans); in NotifyItemUpdate() 424 const sal_Int64 nTrans = pItem->GetValue(); in NotifyItemUpdate() local 425 mpLBColorMode->SelectEntryPos(nTrans); in NotifyItemUpdate()
|
/trunk/main/sc/source/ui/vba/ |
H A D | vbainterior.cxx | 242 ScVbaInterior::GetMixedColor( const Color& rFore, const Color& rBack, sal_uInt8 nTrans ) in GetMixedColor() argument 245 nTrans, in GetMixedColor() 246 GetMixedColorComp( rFore.GetRed(), rBack.GetRed(), nTrans ), in GetMixedColor() 247 GetMixedColorComp( rFore.GetGreen(), rBack.GetGreen(), nTrans ), in GetMixedColor() 248 GetMixedColorComp( rFore.GetBlue(), rBack.GetBlue(), nTrans )); in GetMixedColor() 251 ScVbaInterior::GetMixedColorComp( sal_uInt8 nFore, sal_uInt8 nBack, sal_uInt8 nTrans ) in GetMixedColorComp() argument 253 sal_uInt32 nTemp = ((static_cast< sal_Int32 >( nBack ) - nFore) * nTrans) / 0x80 + nFore; in GetMixedColorComp()
|
H A D | vbainterior.hxx | 55 Color GetMixedColor( const Color& rFore, const Color& rBack, sal_uInt8 nTrans ); 56 sal_uInt8 GetMixedColorComp( sal_uInt8 nFore, sal_uInt8 nBack, sal_uInt8 nTrans );
|
/trunk/main/sc/source/filter/ftools/ |
H A D | ftools.cxx | 140 sal_uInt8 ScfTools::GetMixedColorComp( sal_uInt8 nFore, sal_uInt8 nBack, sal_uInt8 nTrans ) in GetMixedColorComp() argument 142 sal_Int32 nTemp = ((static_cast< sal_Int32 >( nBack ) - nFore) * nTrans) / 0x80 + nFore; in GetMixedColorComp() 146 Color ScfTools::GetMixedColor( const Color& rFore, const Color& rBack, sal_uInt8 nTrans ) in GetMixedColor() argument 149 GetMixedColorComp( rFore.GetRed(), rBack.GetRed(), nTrans ), in GetMixedColor() 150 GetMixedColorComp( rFore.GetGreen(), rBack.GetGreen(), nTrans ), in GetMixedColor() 151 GetMixedColorComp( rFore.GetBlue(), rBack.GetBlue(), nTrans ) ); in GetMixedColor()
|
/trunk/main/svx/source/sidebar/area/ |
H A D | AreaPropertyPanel.cxx | 1335 sal_uInt16 nTrans = 0; in IMPL_LINK() local 1348 nTrans = mnLastTransSolid; in IMPL_LINK() 1349 mpMTRTransparent->SetValue(nTrans); in IMPL_LINK() 1384 const XFillTransparenceItem aLinearItem(nTrans); in IMPL_LINK() 1427 const sal_uInt16 nTrans = (sal_uInt16)mpMTRTransparent->GetValue(); in IMPL_LINK() local 1428 mnLastTransSolid = nTrans; in IMPL_LINK() 1431 if(nTrans && !nSelectType) in IMPL_LINK() 1436 const XFillTransparenceItem aLinearItem(nTrans); in IMPL_LINK()
|
/trunk/main/svx/source/accessibility/ |
H A D | AccessibleShape.cxx | 831 short nTrans=0; in getBackground() local 832 aColor >>= nTrans; in getBackground() 834 if (nTrans == 0 ) in getBackground() 840 nTrans = short(256 - nTrans / 100. * 256); in getBackground() 841 crBk.SetTransparency(sal_uInt8(nTrans)); in getBackground()
|
/trunk/main/vcl/source/gdi/ |
H A D | cvtsvm.cxx | 1216 sal_Int16 nTrans; in ImplConvertFromSVM1() local 1218 rIStm >> aPolyPoly >> nTrans >> nFollowingActionCount; in ImplConvertFromSVM1() 1220 rMtf.AddAction( new MetaTransparentAction( aPolyPoly, nTrans ) ); in ImplConvertFromSVM1() 2180 const sal_Int16 nTrans = ( (MetaTransparentAction*) pAction )->GetTransparence(); in ImplWriteActions() local 2181 const sal_Int16 nBrushStyle = ( nTrans < 38 ) ? 8 : ( nTrans < 63 ) ? 9 : 10; in ImplWriteActions() 2193 rOStm << nTrans; in ImplWriteActions()
|
H A D | outdev6.cxx | 360 const sal_uInt16 nTrans = ( nTransparencePercent < 13 ) ? 0 : in DrawTransparent() local 365 switch( nTrans ) in DrawTransparent()
|
/trunk/main/svx/source/sdr/contact/ |
H A D | viewcontactofgraphic.cxx | 313 …const sal_uInt16 nTrans(((SdrGrafTransparenceItem&)rItemSet.Get(SDRATTR_GRAFTRANSPARENCE)).GetValu… in createViewIndependentPrimitive2DSequence() local 321 … aLocalGrafInfo.SetTransparency((sal_uInt8)::basegfx::fround(Min(nTrans, (sal_uInt16)100) * 2.55)); in createViewIndependentPrimitive2DSequence()
|
/trunk/main/sc/source/filter/inc/ |
H A D | ftools.hxx | 277 static sal_uInt8 GetMixedColorComp( sal_uInt8 nFore, sal_uInt8 nBack, sal_uInt8 nTrans ); 280 static Color GetMixedColor( const Color& rFore, const Color& rBack, sal_uInt8 nTrans );
|
/trunk/main/editeng/source/items/ |
H A D | frmitems.cxx | 3709 inline sal_Int8 lcl_TransparencyToPercent(sal_Int32 nTrans) in lcl_TransparencyToPercent() argument 3711 return (sal_Int8)((nTrans * 100 + 127) / 254); in lcl_TransparencyToPercent() 3798 sal_Int32 nTrans = 0; in PutValue() local 3799 if ( !( rVal >>= nTrans ) || nTrans < 0 || nTrans > 100 ) in PutValue() 3801 aColor.SetTransparency(lcl_PercentToTransparency(nTrans)); in PutValue()
|
H A D | textitem.cxx | 1490 sal_uInt8 nTrans = mColor.GetTransparency(); in PutValue() local 1492 mColor.SetTransparency( nTrans ); in PutValue()
|
/trunk/main/sw/source/filter/ww8/ |
H A D | ww8graf.cxx | 1876 sal_uInt8 nTrans = 0; in MatchSdrItemsIntoFlySet() local 1884 nTrans = sal_uInt8((nRes * 0xFE) / 100); in MatchSdrItemsIntoFlySet() 1885 aBrushItem.GetColor().SetTransparency(nTrans); in MatchSdrItemsIntoFlySet() 1912 aBrushItem.GetColor().SetTransparency(nTrans); in MatchSdrItemsIntoFlySet() 1930 aAttr.SetTransparency(nTrans); in MatchSdrItemsIntoFlySet()
|
/trunk/main/sw/source/core/graphic/ |
H A D | ndgrf.cxx | 1235 const sal_uInt16 nTrans = rSet.GetTransparencyGrf().GetValue(); in GetGraphicAttr() local 1237 Min( nTrans, (sal_uInt16) 100 ) * 2.55 ) ); in GetGraphicAttr()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdograf.cxx | 1395 …const sal_uInt16 nTrans = ( (SdrGrafTransparenceItem&) rSet.Get( SDRATTR_GRAFTRANSPARENCE ) ).GetV… in ImpSetAttrToGrafInfo() local 1404 aGrafInfo.SetTransparency( (sal_uInt8) FRound( Min( nTrans, (sal_uInt16) 100 ) * 2.55 ) ); in ImpSetAttrToGrafInfo()
|
/trunk/main/svtools/source/graphic/ |
H A D | grfmgr2.cxx | 1813 sal_uLong nTrans = cTrans, nNewTrans; in ImplAdjust() local 1824 nNewTrans = nTrans + *pAScan; in ImplAdjust() 1837 nNewTrans = nTrans + pA->GetPixel( nY, nX ).GetIndex(); in ImplAdjust()
|
/trunk/main/writerfilter/source/dmapper/ |
H A D | GraphicImport.cxx | 1306 sal_Int32 nTrans = 0xff - ( nIntValue * 0xff ) / 0xffff; in ProcessShapeOptions() local 1307 m_pImpl->nFillColor = (nTrans << 0x18 ) + (m_pImpl->nFillColor & 0xffffff); in ProcessShapeOptions()
|
/trunk/main/cui/source/tabpages/ |
H A D | backgrnd.cxx | 121 inline sal_uInt8 lcl_TransparencyToPercent(sal_uInt8 nTrans) in lcl_TransparencyToPercent() argument 123 return (nTrans * 100 + 127) / 254; in lcl_TransparencyToPercent()
|
/trunk/main/filter/source/msfilter/ |
H A D | msdffimp.cxx | 1013 double nTrans = GetPropertyValue(DFF_Prop_lineOpacity, 0x10000); in ApplyLineAttributes() local 1014 nTrans = (nTrans * 100) / 65536; in ApplyLineAttributes() 1016 sal_uInt16(100 - ::rtl::math::round(nTrans)))); in ApplyLineAttributes()
|
/trunk/main/vcl/unx/gtk/window/ |
H A D | gtkframe.cxx | 1146 sal_uInt8 nTrans = 0; in SetIcon() local 1147 aMask = AlphaMask( aBmp.GetSizePixel(), &nTrans ); in SetIcon()
|
/trunk/main/sc/source/filter/excel/ |
H A D | xichart.cxx | 267 sal_uInt8 nTrans = XclChartHelper::GetSeriesFillAutoTransp( nFormatIdx ); in GetSeriesFillAutoColor() local 268 return ScfTools::GetMixedColor( aColor, rPal.GetColor( EXC_COLOR_CHWINDOWBACK ), nTrans ); in GetSeriesFillAutoColor()
|