incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 119870] [From Symphony]Line transparency value is lost after saving as another ppt by AOO[From Symphony]
Date Fri, 08 Jun 2012 07:58:31 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=119870

--- Comment #2 from Lei Debin <debin.lei@gmail.com> ---
The root cause found:
The linetransparency attribute is not exported at all.
The attribute can be exported in function
void EscherPropertyContainer::CreateLineProperties
Here is the export code for ppt
---------------------------------------------------------------
if ( EscherPropertyValueHelper::GetPropertyValue(
        aAny, rXPropSet, String( RTL_CONSTASCII_USTRINGPARAM(
"LineTransparence" ) ), sal_True ) 
    )
{    
    sal_Int16 nTransparency = 0;
    if ( aAny >>= nTransparency )
    AddOpt( ESCHER_Prop_lineOpacity, ( ( 100 - nTransparency ) << 16 ) / 100 ); 
}
----------------------------------------------------------------

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message