Lines Matching refs:pEffect
428 CustomAnimationEffectPtr pEffect( (*aIter) ); in ImplFindEffect()
429 if( (pEffect->getTargetShape() == rShape) && (pEffect->getTargetSubItem() == nSubItem) ) in ImplFindEffect()
517 CustomAnimationEffectPtr pEffect( new CustomAnimationEffect( xNode ) ); in SetAnimationEffect() local
518 pEffect->setTarget( makeAny( xShape ) ); in SetAnimationEffect()
522 pEffect->setNodeType( EffectNodeType::AFTER_PREVIOUS ); in SetAnimationEffect()
524 pMainSequence->append( pEffect ); in SetAnimationEffect()
530 createTextGroup( pEffect, 10, bManual ? -1 : 0.0, sal_False, sal_False ); in SetAnimationEffect()
539 CustomAnimationEffectPtr pEffect; in SetAnimationEffect() local
542 pEffect = (*aIterAsWhole); in SetAnimationEffect()
546 pEffect = (*aIterOnlyBackground); in SetAnimationEffect()
549 if( pEffect.get() ) in SetAnimationEffect()
551 if( (pEffect->getPresetId() != aPresetId) || in SetAnimationEffect()
552 (pEffect->getPresetSubType() != aPresetSubType) ) in SetAnimationEffect()
554 pMainSequence->replace( pEffect, pPreset, aPresetSubType ); in SetAnimationEffect()
579 CustomAnimationEffectPtr pEffect( (*aIter) ); in GetAnimationEffect()
580 if( pEffect->getTargetShape() == xShape ) in GetAnimationEffect()
582 if( (pEffect->getTargetSubItem() == ShapeAnimationSubType::ONLY_BACKGROUND) || in GetAnimationEffect()
583 (pEffect->getTargetSubItem() == ShapeAnimationSubType::AS_WHOLE)) in GetAnimationEffect()
585 … if( pEffect->getDuration() != 0.1 ) // ignore appear effects created from old text effect import in GetAnimationEffect()
868 CustomAnimationEffectPtr pEffect( (*aIter) ); in SetAnimationSpeed()
869 if( pEffect->getTargetShape() == xShape ) in SetAnimationSpeed()
871 if( pEffect->getDuration() != 0.1 ) in SetAnimationSpeed()
872 pEffect->setDuration( fDuration ); in SetAnimationSpeed()
896 CustomAnimationEffectPtr pEffect( (*aIter) ); in GetAnimationSpeed()
897 if( pEffect->getTargetShape() == xShape ) in GetAnimationSpeed()
899 if( pEffect->getDuration() != 0.1 ) in GetAnimationSpeed()
901 fDuration = pEffect->getDuration(); in GetAnimationSpeed()
948 CustomAnimationEffectPtr pEffect( (*aIter) ); in SetDimColor()
949 if( pEffect->getTargetShape() == xShape ) in SetDimColor()
951 pEffect->setHasAfterEffect( true ); in SetDimColor()
952 pEffect->setDimColor( makeAny( nColor ) ); in SetDimColor()
953 pEffect->setAfterEffectOnNext( true ); in SetDimColor()
979 CustomAnimationEffectPtr pEffect( (*aIter) ); in GetDimColor()
980 if( (pEffect->getTargetShape() == xShape) && in GetDimColor()
981 pEffect->getDimColor().hasValue() && in GetDimColor()
982 pEffect->hasAfterEffect()) in GetDimColor()
984 pEffect->getDimColor() >>= nColor; in GetDimColor()
1019 CustomAnimationEffectPtr pEffect( (*aIter) ); in SetDimHide()
1020 if( pEffect->getTargetShape() == xShape ) in SetDimHide()
1022 pEffect->setHasAfterEffect( bDimHide ? true : false ); in SetDimHide()
1024 pEffect->setDimColor( aEmpty ); in SetDimHide()
1025 pEffect->setAfterEffectOnNext( false ); in SetDimHide()
1051 CustomAnimationEffectPtr pEffect( (*aIter) ); in GetDimHide()
1052 if( pEffect->getTargetShape() == xShape ) in GetDimHide()
1054 bRet = pEffect->hasAfterEffect() && in GetDimHide()
1055 !pEffect->getDimColor().hasValue() && in GetDimHide()
1056 (!pEffect->IsAfterEffectOnNext()); in GetDimHide()
1093 CustomAnimationEffectPtr pEffect( (*aIter) ); in SetDimPrevious()
1094 if( pEffect->getTargetShape() == xShape ) in SetDimPrevious()
1096 pEffect->setHasAfterEffect( bDimPrevious ); in SetDimPrevious()
1097 if( !bDimPrevious || !pEffect->getDimColor().hasValue() ) in SetDimPrevious()
1098 pEffect->setDimColor( aColor ); in SetDimPrevious()
1099 pEffect->setAfterEffectOnNext( true ); in SetDimPrevious()
1125 CustomAnimationEffectPtr pEffect( (*aIter) ); in GetDimPrevious()
1126 if( pEffect->getTargetShape() == xShape ) in GetDimPrevious()
1128 bRet = pEffect->hasAfterEffect() && in GetDimPrevious()
1129 pEffect->getDimColor().hasValue() && in GetDimPrevious()
1130 pEffect->IsAfterEffectOnNext(); in GetDimPrevious()
1164 CustomAnimationEffectPtr pEffect = (*aIter); in SetPresentationOrder() local
1168 xCurrent = pEffect->getTargetShape(); in SetPresentationOrder()
1170 else if( pEffect->getTargetShape() != xCurrent ) in SetPresentationOrder()
1173 xCurrent = pEffect->getTargetShape(); in SetPresentationOrder()
1253 CustomAnimationEffectPtr pEffect = (*aIter); in GetPresentationOrder() local
1255 if( !xCurrent.is() || pEffect->getTargetShape() != xCurrent ) in GetPresentationOrder()
1258 xCurrent = pEffect->getTargetShape(); in GetPresentationOrder()
1292 CustomAnimationEffectPtr pEffect( (*aIter) ); in UpdateSoundEffect()
1293 if( pEffect->getTargetShape() == xShape ) in UpdateSoundEffect()
1297 pEffect->createAudio( makeAny( aSoundFile ) ); in UpdateSoundEffect()
1301 pEffect->removeAudio(); in UpdateSoundEffect()
1333 CustomAnimationEffectPtr pEffect( (*aIter) ); in GetSoundFile()
1334 if( pEffect->getTargetShape() == xShape ) in GetSoundFile()
1336 if( pEffect->getAudio().is() ) in GetSoundFile()
1337 pEffect->getAudio()->getSource() >>= aSoundFile; in GetSoundFile()