Home
last modified time | relevance | path

Searched refs:nTrans (Results 1 – 21 of 21) sorted by path

/trunk/main/cui/source/tabpages/
H A Dbackgrnd.cxx121 inline sal_uInt8 lcl_TransparencyToPercent(sal_uInt8 nTrans) in lcl_TransparencyToPercent() argument
123 return (nTrans * 100 + 127) / 254; in lcl_TransparencyToPercent()
/trunk/main/editeng/source/items/
H A Dfrmitems.cxx3709 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 Dtextitem.cxx1490 sal_uInt8 nTrans = mColor.GetTransparency(); in PutValue() local
1492 mColor.SetTransparency( nTrans ); in PutValue()
/trunk/main/filter/source/msfilter/
H A Dmsdffimp.cxx1013 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/sc/source/filter/excel/
H A Dxichart.cxx267 sal_uInt8 nTrans = XclChartHelper::GetSeriesFillAutoTransp( nFormatIdx ); in GetSeriesFillAutoColor() local
268 return ScfTools::GetMixedColor( aColor, rPal.GetColor( EXC_COLOR_CHWINDOWBACK ), nTrans ); in GetSeriesFillAutoColor()
/trunk/main/sc/source/filter/ftools/
H A Dftools.cxx140 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/sc/source/filter/inc/
H A Dftools.hxx277 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/sc/source/ui/vba/
H A Dvbainterior.cxx242 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 Dvbainterior.hxx55 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/svtools/source/graphic/
H A Dgrfmgr2.cxx1813 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/svx/source/accessibility/
H A DAccessibleShape.cxx831 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/svx/source/sdr/contact/
H A Dviewcontactofgraphic.cxx313 …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/svx/source/sidebar/area/
H A DAreaPropertyPanel.cxx1335 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/sidebar/graphic/
H A DGraphicPropertyPanel.cxx231 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/svx/source/svdraw/
H A Dsvdograf.cxx1395 …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/sw/source/core/graphic/
H A Dndgrf.cxx1235 const sal_uInt16 nTrans = rSet.GetTransparencyGrf().GetValue(); in GetGraphicAttr() local
1237 Min( nTrans, (sal_uInt16) 100 ) * 2.55 ) ); in GetGraphicAttr()
/trunk/main/sw/source/filter/ww8/
H A Dww8graf.cxx1876 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/vcl/source/gdi/
H A Dcvtsvm.cxx1216 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 Doutdev6.cxx360 const sal_uInt16 nTrans = ( nTransparencePercent < 13 ) ? 0 : in DrawTransparent() local
365 switch( nTrans ) in DrawTransparent()
/trunk/main/vcl/unx/gtk/window/
H A Dgtkframe.cxx1146 sal_uInt8 nTrans = 0; in SetIcon() local
1147 aMask = AlphaMask( aBmp.GetSizePixel(), &nTrans ); in SetIcon()
/trunk/main/writerfilter/source/dmapper/
H A DGraphicImport.cxx1306 sal_Int32 nTrans = 0xff - ( nIntValue * 0xff ) / 0xffff; in ProcessShapeOptions() local
1307 m_pImpl->nFillColor = (nTrans << 0x18 ) + (m_pImpl->nFillColor & 0xffffff); in ProcessShapeOptions()

Completed in 213 milliseconds