Kaydet (Commit) c4c014f7 authored tarafından Andre Fischer's avatar Andre Fischer

#i119740# Fixed export of fill property of animations to PPT.

Patch by: Tang Meng
Review by: Andre Fischer
üst 3cec3e3b
...@@ -290,6 +290,16 @@ AnimationExporter::AnimationExporter( const EscherSolverContainer& rSolverContai ...@@ -290,6 +290,16 @@ AnimationExporter::AnimationExporter( const EscherSolverContainer& rSolverContai
static sal_Int16 GetFillMode( const Reference< XAnimationNode >& xNode, const sal_Int16 nFillDefault ) static sal_Int16 GetFillMode( const Reference< XAnimationNode >& xNode, const sal_Int16 nFillDefault )
{ {
sal_Int16 nFill = xNode->getFill(); sal_Int16 nFill = xNode->getFill();
//[bug 119699] <Animation> The animation effect "Emphasis->FlashBulb" play incorrectly in Aoo saves a .ppt to another .ppt and plays the saved one.
//[bug 119740] <Animation> The animation effect "Entrance->Flash Once" fails to play in Aoo while Aoo saves a .ppt to another .ppt and plays the saved one.
if ((xNode->getType() == AnimationNodeType::ANIMATE)
||(xNode->getType() == AnimationNodeType::SET)
||(xNode->getType() == AnimationNodeType::TRANSITIONFILTER))
{
if ( nFill == AnimationFill::DEFAULT )
return nFill;
}
if ( ( nFill == AnimationFill::DEFAULT ) || if ( ( nFill == AnimationFill::DEFAULT ) ||
( nFill == AnimationFill::INHERIT ) ) ( nFill == AnimationFill::INHERIT ) )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment