Lines Matching refs:pEffect
399 CustomAnimationEffectPtr pEffect( new CustomAnimationEffect( xNode ) ); in clone() local
400 pEffect->setEffectSequence( getEffectSequence() ); in clone()
401 return pEffect; in clone()
1799 CustomAnimationEffectPtr pEffect = (*aIter++); in reset() local
1800 pEffect->setEffectSequence(0); in reset()
1813 void EffectSequenceHelper::append( const CustomAnimationEffectPtr& pEffect ) in append() argument
1815 pEffect->setEffectSequence( this ); in append()
1816 maEffects.push_back(pEffect); in append()
1824 CustomAnimationEffectPtr pEffect; in append() local
1877 pEffect.reset( new CustomAnimationEffect( xNode ) ); in append()
1878 pEffect->setEffectSequence( this ); in append()
1879 pEffect->setTarget( aTarget ); in append()
1880 pEffect->setTargetSubItem( nSubItem ); in append()
1882 pEffect->setDuration( fDuration ); in append()
1884 maEffects.push_back(pEffect); in append()
1890 DBG_ASSERT( pEffect.get(), "sd::EffectSequenceHelper::append(), failed!" ); in append()
1891 return pEffect; in append()
1898 CustomAnimationEffectPtr pEffect; in append() local
1919 pEffect.reset( new CustomAnimationEffect( xEffectNode ) ); in append()
1920 pEffect->setEffectSequence( this ); in append()
1921 pEffect->setTarget( rTarget ); in append()
1922 pEffect->setTargetSubItem( nSubItem ); in append()
1923 pEffect->setNodeType( ::com::sun::star::presentation::EffectNodeType::ON_CLICK ); in append()
1924 pEffect->setPresetClass( ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH ); in append()
1925 pEffect->setAcceleration( 0.5 ); in append()
1926 pEffect->setDecelerate( 0.5 ); in append()
1927 pEffect->setFill( AnimationFill::HOLD ); in append()
1928 pEffect->setBegin( 0.0 ); in append()
1929 pEffect->updatePathFromSdrPathObj( rPathObj ); in append()
1931 pEffect->setDuration( fDuration ); in append()
1933 maEffects.push_back(pEffect); in append()
1942 return pEffect; in append()
1947 void EffectSequenceHelper::replace( const CustomAnimationEffectPtr& pEffect, const CustomAnimationP… in replace() argument
1949 if( pEffect.get() && pPreset.get() ) try in replace()
1954 pEffect->replaceNode( xNewNode ); in replace()
1956 pEffect->setDuration( fDuration ); in replace()
1970 void EffectSequenceHelper::replace( const CustomAnimationEffectPtr& pEffect, const CustomAnimationP… in replace() argument
1973 replace( pEffect, pPreset, strEmpty, fDuration ); in replace()
1978 void EffectSequenceHelper::remove( const CustomAnimationEffectPtr& pEffect ) in remove() argument
1980 if( pEffect.get() ) in remove()
1982 pEffect->setEffectSequence( 0 ); in remove()
1983 maEffects.remove( pEffect ); in remove()
2028 CustomAnimationEffectPtr pEffect = (*aIter++); in implRebuild() local
2054 if( pEffect->getNodeType() != EffectNodeType::ON_CLICK ) in implRebuild()
2076 Reference< XAnimationNode > xEffectNode( pEffect->getNode() ); in implRebuild()
2079 if( pEffect->hasAfterEffect() ) in implRebuild()
2081 Reference< XAnimationNode > xAfterEffect( pEffect->createAfterEffectNode() ); in implRebuild()
2082 AfterEffectNode a( xAfterEffect, xEffectNode, pEffect->IsAfterEffectOnNext() ); in implRebuild()
2086 double fTemp = pEffect->getBegin() + pEffect->getAbsoluteDuration(); in implRebuild()
2091 pEffect = (*aIter++); in implRebuild()
2093 pEffect.reset(); in implRebuild()
2095 while( pEffect.get() && (pEffect->getNodeType() == EffectNodeType::WITH_PREVIOUS) ); in implRebuild()
2099 while( pEffect.get() && (pEffect->getNodeType() != EffectNodeType::ON_CLICK) ); in implRebuild()
2101 while( pEffect.get() ); in implRebuild()
2142 bool stl_CustomAnimationEffect_search_node_predict::operator()( CustomAnimationEffectPtr pEffect ) … in operator ()()
2144 return pEffect->getNode() == mxSearchNode; in operator ()()
2297 EffectSequence::iterator EffectSequenceHelper::find( const CustomAnimationEffectPtr& pEffect ) in find() argument
2299 return std::find( maEffects.begin(), maEffects.end(), pEffect ); in find()
2306 CustomAnimationEffectPtr pEffect; in findEffect() local
2313 pEffect = (*aIter); in findEffect()
2318 return pEffect; in findEffect()
2345 CustomAnimationEffectPtr pEffect; in getEffectFromOffset() local
2347 pEffect = (*aIter); in getEffectFromOffset()
2349 return pEffect; in getEffectFromOffset()
2494 void CustomAnimationTextGroup::addEffect( CustomAnimationEffectPtr& pEffect ) in addEffect() argument
2496 maEffects.push_back( pEffect ); in addEffect()
2498 Any aTarget( pEffect->getTarget() ); in addEffect()
2510 const sal_Int32 nParaDepth = pEffect->getParaDepth(); in addEffect()
2519 mnDepthFlags[nParaDepth] = (sal_Int8)pEffect->getNodeType(); in addEffect()
2521 else if( mnDepthFlags[nParaDepth] != pEffect->getNodeType() ) in addEffect()
2526 if( pEffect->getNodeType() == EffectNodeType::AFTER_PREVIOUS ) in addEffect()
2527 mfGroupingAuto = pEffect->getBegin(); in addEffect()
2537 mbAnimateForm = pEffect->getTargetSubItem() != ShapeAnimationSubType::ONLY_TEXT; in addEffect()
2573 CustomAnimationEffectPtr pEffect( (*aIter++) ); in updateTextGroups()
2575 const sal_Int32 nGroupId = pEffect->getGroupId(); in updateTextGroups()
2583 pGroup.reset( new CustomAnimationTextGroup( pEffect->getTargetShape(), nGroupId ) ); in updateTextGroups()
2587 pGroup->addEffect( pEffect ); in updateTextGroups()
2593 CustomAnimationTextGroupPtr EffectSequenceHelper::createTextGroup( CustomAnimationEffectPtr pEffect… in createTextGroup() argument
2613 Reference< XShape > xTarget( pEffect->getTargetShape() ); in createTextGroup()
2629 pEffect->setTarget( makeAny( xTarget ) ); in createTextGroup()
2630 pEffect->setTargetSubItem( nSubItem ); in createTextGroup()
2631 pEffect->setEffectSequence( this ); in createTextGroup()
2632 pEffect->setGroupId( nGroupId ); in createTextGroup()
2634 pTextGroup->addEffect( pEffect ); in createTextGroup()
2643 createTextGroupParagraphEffects( pTextGroup, pEffect, bUsed ); in createTextGroup()
2652 …raphEffects( CustomAnimationTextGroupPtr pTextGroup, CustomAnimationEffectPtr pEffect, bool bUsed ) in createTextGroupParagraphEffects() argument
2663 EffectSequence::iterator aInsertIter( find( pEffect ) ); in createTextGroupParagraphEffects()
2698 pNewEffect = pEffect->clone(); in createTextGroupParagraphEffects()
2705 pNewEffect = pEffect; in createTextGroupParagraphEffects()
2759 CustomAnimationEffectPtr pEffect( pTextGroup->maEffects.front() ); in setTextGrouping() local
2762 createTextGroupParagraphEffects( pTextGroup, pEffect, true ); in setTextGrouping()
2776 CustomAnimationEffectPtr pEffect( (*aIter++) ); in setTextGrouping()
2778 if( pEffect->getTarget().getValueType() == ::getCppuType((const ParagraphTarget*)0) ) in setTextGrouping()
2779 remove( pEffect ); in setTextGrouping()
2781 pTextGroup->addEffect( pEffect ); in setTextGrouping()
2797 CustomAnimationEffectPtr pEffect( (*aIter++) ); in setTextGrouping()
2799 if( pEffect->getTarget().getValueType() == ::getCppuType((const ParagraphTarget*)0) ) in setTextGrouping()
2802 if( pEffect->getParaDepth() < nTextGrouping ) in setTextGrouping()
2806 pEffect->setNodeType( EffectNodeType::ON_CLICK ); in setTextGrouping()
2807 pEffect->setBegin( 0.0 ); in setTextGrouping()
2811 pEffect->setNodeType( EffectNodeType::AFTER_PREVIOUS ); in setTextGrouping()
2812 pEffect->setBegin( fTextGroupingAuto ); in setTextGrouping()
2817 pEffect->setNodeType( EffectNodeType::WITH_PREVIOUS ); in setTextGrouping()
2818 pEffect->setBegin( 0.0 ); in setTextGrouping()
2822 pTextGroup->addEffect( pEffect ); in setTextGrouping()
2850 CustomAnimationEffectPtr pEffect; in setAnimateForm() local
2855 pEffect = (*aIter++); in setAnimateForm()
2856 pEffect->setTargetSubItem( ShapeAnimationSubType::AS_WHOLE ); in setAnimateForm()
2860 pEffect = (*aIter)->clone(); in setAnimateForm()
2861 pEffect->setTarget( makeAny( (*aIter)->getTargetShape() ) ); in setAnimateForm()
2862 pEffect->setTargetSubItem( ShapeAnimationSubType::ONLY_BACKGROUND ); in setAnimateForm()
2863 maEffects.insert( aInsertIter, pEffect ); in setAnimateForm()
2866 pTextGroup->addEffect( pEffect ); in setAnimateForm()
2871 CustomAnimationEffectPtr pEffect( (*aIter) ); in setAnimateForm()
2872 pEffect->setTarget( makeAny( (*aIter)->getTargetShape() ) ); in setAnimateForm()
2873 pEffect->setTargetSubItem( ShapeAnimationSubType::ONLY_TEXT ); in setAnimateForm()
2874 pTextGroup->addEffect( pEffect ); in setAnimateForm()
2881 CustomAnimationEffectPtr pEffect( (*aIter++) ); in setAnimateForm()
2883 if( pEffect->getTarget().getValueType() == ::getCppuType((const ParagraphTarget*)0) ) in setAnimateForm()
2885 pTextGroup->addEffect( pEffect ); in setAnimateForm()
2890 remove( pEffect ); in setAnimateForm()
2911 CustomAnimationEffectPtr pEffect( (*aIter++) ); in setTextGroupingAuto()
2913 if( pEffect->getTarget().getValueType() == ::getCppuType((const ParagraphTarget*)0) ) in setTextGroupingAuto()
2916 if( pEffect->getParaDepth() < nTextGrouping ) in setTextGroupingAuto()
2920 pEffect->setNodeType( EffectNodeType::ON_CLICK ); in setTextGroupingAuto()
2921 pEffect->setBegin( 0.0 ); in setTextGroupingAuto()
2925 pEffect->setNodeType( EffectNodeType::AFTER_PREVIOUS ); in setTextGroupingAuto()
2926 pEffect->setBegin( fTextGroupingAuto ); in setTextGroupingAuto()
2931 pEffect->setNodeType( EffectNodeType::WITH_PREVIOUS ); in setTextGroupingAuto()
2932 pEffect->setBegin( 0.0 ); in setTextGroupingAuto()
2936 pTextGroup->addEffect( pEffect ); in setTextGroupingAuto()
3009 CustomAnimationEffectPtr pEffect( (*aIter++) ); in setTextReverse()
3010 maEffects.erase( find( pEffect ) ); in setTextReverse()
3011 aInsertIter = maEffects.insert( ++aInsertIter, pEffect ); in setTextReverse()
3012 pTextGroup->addEffect( pEffect ); in setTextReverse()
3115 CustomAnimationEffectPtr pEffect( new CustomAnimationEffect( xChildNode ) ); in createEffects() local
3117 if( pEffect->mnNodeType != -1 ) in createEffects()
3119 pEffect->setEffectSequence( this ); in createEffects()
3120 maEffects.push_back(pEffect); in createEffects()
3463 CustomAnimationEffectPtr pEffect = EffectSequenceHelper::findEffect( xNode ); in findEffect() local
3465 if( pEffect.get() == 0 ) in findEffect()
3468 …tiveSequenceList.begin(); (aIter != maInteractiveSequenceList.end()) && (pEffect.get() == 0); aIte… in findEffect()
3470 pEffect = (*aIter)->findEffect( xNode ); in findEffect()
3473 return pEffect; in findEffect()
3478 sal_Int32 MainSequence::getOffsetFromEffect( const CustomAnimationEffectPtr& pEffect ) const in getOffsetFromEffect()
3480 sal_Int32 nOffset = EffectSequenceHelper::getOffsetFromEffect( pEffect ); in getOffsetFromEffect()
3490 sal_Int32 nTemp = (*aIter)->getOffsetFromEffect( pEffect ); in getOffsetFromEffect()
3520 CustomAnimationEffectPtr pEffect; in getEffectFromOffset() local
3521 return pEffect; in getEffectFromOffset()
3696 bool MainSequence::setTrigger( const CustomAnimationEffectPtr& pEffect, const ::com::sun::star::uno… in setTrigger() argument
3698 EffectSequenceHelper* pOldSequence = pEffect->getEffectSequence(); in setTrigger()
3726 pOldSequence->maEffects.remove( pEffect ); in setTrigger()
3728 pNewSequence->maEffects.push_back( pEffect ); in setTrigger()
3729 pEffect->setEffectSequence( pNewSequence ); in setTrigger()