Lines Matching refs:pEffect

763 		CustomAnimationEffectPtr pEffect = maListSelection.front();  in updateControls()  local
765 OUString aUIName( getPresets().getUINameForPresetId( pEffect->getPresetId() ) ); in updateControls()
776 CustomAnimationPresetPtr pDescriptor = getPresets().getEffectDescriptor( pEffect->getPresetId() ); in updateControls()
792 aValue = getProperty1Value( mnPropertyType, pEffect ); in updateControls()
800 …pSubControl = PropertySubControl::create( mnPropertyType, this, aValue, pEffect->getPresetId(), LI… in updateControls()
805 pSubControl->setValue( aValue, pEffect->getPresetId() ); in updateControls()
830 sal_Int16 nNodeType = pEffect->getNodeType(); in updateControls()
840 double fDuration = pEffect->getDuration(); in updateControls()
920 CustomAnimationEffectPtr pEffect = (*aRebuildIter++); in updateControls() local
922 if( pEffect.get() ) in updateControls()
926 pSequence = pEffect->getEffectSequence(); in updateControls()
930 if( pSequence != pEffect->getEffectSequence() ) in updateControls()
956 CustomAnimationEffectPtr pEffect( (*aIter++) ); in updateMotionPathImpl()
957 …if( pEffect.get() && pEffect->getPresetClass() == ::com::sun::star::presentation::EffectPresetClas… in updateMotionPathImpl()
965 if( xTag->getEffect() == pEffect ) in updateMotionPathImpl()
979 xMotionPathTag.set( new MotionPathTag( rPane, rView, pEffect ) ); in updateMotionPathImpl()
1168 Any CustomAnimationPane::getProperty1Value( sal_Int32 nType, CustomAnimationEffectPtr pEffect ) in getProperty1Value() argument
1175 return makeAny( pEffect->getPresetSubType() ); in getProperty1Value()
1185 return pEffect->getColor( nIndex ); in getProperty1Value()
1189 …return pEffect->getProperty( AnimationNodeType::SET, OUString( RTL_CONSTASCII_USTRINGPARAM("CharFo… in getProperty1Value()
1194 Any aValue( pEffect->getProperty( AnimationNodeType::SET, aAttributeName, VALUE_TO ) ); in getProperty1Value()
1196 aValue = pEffect->getProperty( AnimationNodeType::ANIMATE, aAttributeName, VALUE_TO ); in getProperty1Value()
1201 return pEffect->getTransformationProperty( AnimationTransformType::ROTATE, VALUE_BY); in getProperty1Value()
1204 …return pEffect->getProperty( AnimationNodeType::SET, OUString(RTL_CONSTASCII_USTRINGPARAM("Opacity… in getProperty1Value()
1207 return pEffect->getTransformationProperty( AnimationTransformType::SCALE, VALUE_BY ); in getProperty1Value()
1212 …aValues[0] = pEffect->getProperty( AnimationNodeType::SET, OUString(RTL_CONSTASCII_USTRINGPARAM("C… in getProperty1Value()
1213 …aValues[1] = pEffect->getProperty( AnimationNodeType::SET, OUString(RTL_CONSTASCII_USTRINGPARAM("C… in getProperty1Value()
1214 …aValues[2] = pEffect->getProperty( AnimationNodeType::SET, OUString(RTL_CONSTASCII_USTRINGPARAM("C… in getProperty1Value()
1223 bool CustomAnimationPane::setProperty1Value( sal_Int32 nType, CustomAnimationEffectPtr pEffect, con… in setProperty1Value() argument
1234 if( aPresetSubType != pEffect->getPresetSubType() ) in setProperty1Value()
1236 getPresets().changePresetSubType( pEffect, aPresetSubType ); in setProperty1Value()
1250 Any aOldColor( pEffect->getColor( nIndex ) ); in setProperty1Value()
1253 pEffect->setColor( nIndex, rValue ); in setProperty1Value()
1260 …bEffectChanged = pEffect->setProperty( AnimationNodeType::SET, OUString( RTL_CONSTASCII_USTRINGPAR… in setProperty1Value()
1266 … bEffectChanged = pEffect->setProperty( AnimationNodeType::SET, aAttributeName, VALUE_TO, rValue ); in setProperty1Value()
1268 …bEffectChanged = pEffect->setProperty( AnimationNodeType::ANIMATE, aAttributeName, VALUE_TO, rValu… in setProperty1Value()
1272 …bEffectChanged = pEffect->setTransformationProperty( AnimationTransformType::ROTATE, VALUE_BY , rV… in setProperty1Value()
1276 …bEffectChanged = pEffect->setProperty( AnimationNodeType::SET, OUString( RTL_CONSTASCII_USTRINGPAR… in setProperty1Value()
1280 …bEffectChanged = pEffect->setTransformationProperty( AnimationTransformType::SCALE, VALUE_BY, rVal… in setProperty1Value()
1287 …bEffectChanged = pEffect->setProperty( AnimationNodeType::SET, OUString(RTL_CONSTASCII_USTRINGPARA… in setProperty1Value()
1288 …bEffectChanged |= pEffect->setProperty( AnimationNodeType::SET, OUString(RTL_CONSTASCII_USTRINGPAR… in setProperty1Value()
1289 …bEffectChanged |= pEffect->setProperty( AnimationNodeType::SET, OUString(RTL_CONSTASCII_USTRINGPAR… in setProperty1Value()
1343 CustomAnimationEffectPtr pEffect = (*aIter++); in createSelectionSet() local
1345 EffectSequenceHelper* pEffectSequence = pEffect->getEffectSequence(); in createSelectionSet()
1349 if( pEffect->hasText() ) in createSelectionSet()
1351 sal_Int32 n = calcMaxParaDepth(pEffect->getTargetShape()); in createSelectionSet()
1356 addValue( pSet, nHandleHasAfterEffect, makeAny( pEffect->hasAfterEffect() ) ); in createSelectionSet()
1357 …addValue( pSet, nHandleAfterEffectOnNextEffect, makeAny( pEffect->IsAfterEffectOnNext() ? sal_True… in createSelectionSet()
1358 addValue( pSet, nHandleDimColor, pEffect->getDimColor() ); in createSelectionSet()
1359 addValue( pSet, nHandleIterateType, makeAny( pEffect->getIterateType() ) ); in createSelectionSet()
1363 float fIterateInterval = (float)pEffect->getIterateInterval(); in createSelectionSet()
1364 if( pEffect->getDuration() ) in createSelectionSet()
1365 fIterateInterval = (float)(fIterateInterval / pEffect->getDuration() ); in createSelectionSet()
1369 addValue( pSet, nHandleBegin, makeAny( pEffect->getBegin() ) ); in createSelectionSet()
1370 addValue( pSet, nHandleDuration, makeAny( pEffect->getDuration() ) ); in createSelectionSet()
1371 addValue( pSet, nHandleStart, makeAny( pEffect->getNodeType() ) ); in createSelectionSet()
1372 addValue( pSet, nHandleRepeat, makeAny( pEffect->getRepeatCount() ) ); in createSelectionSet()
1373 addValue( pSet, nHandleEnd, pEffect->getEnd() ); in createSelectionSet()
1374 addValue( pSet, nHandleRewind, makeAny( pEffect->getFill() ) ); in createSelectionSet()
1376 addValue( pSet, nHandlePresetId, makeAny( pEffect->getPresetId() ) ); in createSelectionSet()
1378 addValue( pSet, nHandleHasText, makeAny( (sal_Bool)pEffect->hasText() ) ); in createSelectionSet()
1380 addValue( pSet, nHandleHasVisibleShape, Any( hasVisibleShape( pEffect->getTargetShape() ) ) ); in createSelectionSet()
1383 if( pEffect->getAudio().is() ) in createSelectionSet()
1385 aSoundSource = pEffect->getAudio()->getSource(); in createSelectionSet()
1386 addValue( pSet, nHandleSoundVolumne, makeAny( pEffect->getAudio()->getVolume() ) ); in createSelectionSet()
1390 else if( pEffect->getCommand() == EffectCommands::STOPAUDIO ) in createSelectionSet()
1396 sal_Int32 nGroupId = pEffect->getGroupId(); in createSelectionSet()
1414 CustomAnimationPresetPtr pDescriptor = rPresets.getEffectDescriptor( pEffect->getPresetId() ); in createSelectionSet()
1426 addValue( pSet, nHandleProperty1Value, getProperty1Value( nType, pEffect ) ); in createSelectionSet()
1431 addValue( pSet, nHandleAccelerate, makeAny( pEffect->getAcceleration() ) ); in createSelectionSet()
1436 addValue( pSet, nHandleDecelerate, makeAny( pEffect->getDecelerate() ) ); in createSelectionSet()
1441 addValue( pSet, nHandleAutoReverse, makeAny( pEffect->getAutoReverse() ) ); in createSelectionSet()
1462 CustomAnimationEffectPtr pEffect = (*aIter++); in changeSelection() local
1464 …DBG_ASSERT( pEffect->getEffectSequence(), "sd::CustomAnimationPane::changeSelection(), dead effect… in changeSelection()
1465 if( !pEffect->getEffectSequence() ) in changeSelection()
1475 fDuration = pEffect->getDuration(); in changeSelection()
1482 if( pEffect->getIterateType() != nIterateType ) in changeSelection()
1484 pEffect->setIterateType( nIterateType ); in changeSelection()
1489 if( pEffect->getIterateType() ) in changeSelection()
1495 if( pEffect->getIterateInterval() != fIterateInterval ) in changeSelection()
1497 const double f = fIterateInterval * pEffect->getDuration() / 100; in changeSelection()
1498 pEffect->setIterateInterval( f ); in changeSelection()
1508 if( pEffect->getBegin() != fBegin ) in changeSelection()
1510 pEffect->setBegin( fBegin ); in changeSelection()
1517 if( pEffect->getDuration() != fDuration ) in changeSelection()
1519 pEffect->setDuration( fDuration ); in changeSelection()
1528 if( pEffect->getNodeType() != nNodeType ) in changeSelection()
1530 pEffect->setNodeType( nNodeType ); in changeSelection()
1538 if( aRepeatCount != pEffect->getRepeatCount() ) in changeSelection()
1540 pEffect->setRepeatCount( aRepeatCount ); in changeSelection()
1548 if( pEffect->getEnd() != aEndValue ) in changeSelection()
1550 pEffect->setEnd( aEndValue ); in changeSelection()
1559 if( pEffect->getFill() != nFill ) in changeSelection()
1561 pEffect->setFill( nFill ); in changeSelection()
1571 if( pEffect->hasAfterEffect() != bHasAfterEffect ) in changeSelection()
1573 pEffect->setHasAfterEffect( bHasAfterEffect ); in changeSelection()
1582 …lue( nHandleAfterEffectOnNextEffect ) >>= bAfterEffectOnNextEffect) && ((pEffect->IsAfterEffectOnN… in changeSelection()
1584 pEffect->setAfterEffectOnNext( bAfterEffectOnNextEffect ); in changeSelection()
1592 if( pEffect->getDimColor() != aDimColor ) in changeSelection()
1594 pEffect->setDimColor( aDimColor ); in changeSelection()
1603 if( pEffect->getAcceleration() != fAccelerate ) in changeSelection()
1605 pEffect->setAcceleration( fAccelerate ); in changeSelection()
1614 if( pEffect->getDecelerate() != fDecelerate ) in changeSelection()
1616 pEffect->setDecelerate( fDecelerate ); in changeSelection()
1625 if( pEffect->getAutoReverse() != bAutoReverse ) in changeSelection()
1627 pEffect->setAutoReverse( bAutoReverse ); in changeSelection()
1637 …bChanged |= setProperty1Value( nType, pEffect, pResultSet->getPropertyValue( nHandleProperty1Value… in changeSelection()
1646 pEffect->setStopAudio(); in changeSelection()
1656 if( !pEffect->getAudio().is() ) in changeSelection()
1658 pEffect->createAudio( aSoundSource ); in changeSelection()
1663 if( pEffect->getAudio()->getSource() != aSoundSource ) in changeSelection()
1665 pEffect->getAudio()->setSource( aSoundSource ); in changeSelection()
1672 if( pEffect->getAudio().is() || pEffect->getStopAudio() ) in changeSelection()
1674 pEffect->removeAudio(); in changeSelection()
1685 bChanged |= mpMainSequence->setTrigger( pEffect, xTriggerShape ); in changeSelection()
1722 CustomAnimationEffectPtr const& pEffect = (*iter++); in changeSelection() local
1724 EffectSequenceHelper* pEffectSequence = pEffect->getEffectSequence(); in changeSelection()
1728 sal_Int32 nGroupId = pEffect->getGroupId(); in changeSelection()
1738 …pTextGroup = pEffectSequence->createTextGroup( pEffect, nTextGrouping, fTextGroupingAuto, bAnimate… in changeSelection()
2084 CustomAnimationEffectPtr pEffect = (*aIter++); in onChange() local
2086 EffectSequenceHelper* pEffectSequence = pEffect->getEffectSequence(); in onChange()
2090 pEffectSequence->replace( pEffect, pDescriptor, fDuration ); in onChange()
2157 CustomAnimationEffectPtr pEffect = (*aIter++); in onRemove() local
2158 if( pEffect->getEffectSequence() ) in onRemove()
2159 pEffect->getEffectSequence()->remove( pEffect ); in onRemove()
2167 void CustomAnimationPane::remove( CustomAnimationEffectPtr& pEffect ) in remove() argument
2169 if( pEffect->getEffectSequence() ) in remove()
2172 pEffect->getEffectSequence()->remove( pEffect ); in remove()
2208 CustomAnimationEffectPtr pEffect = (*aIter++); in onChangeStart() local
2209 if( pEffect->getNodeType() != nNodeType ) in onChangeStart()
2211 pEffect->setNodeType( nNodeType ); in onChangeStart()
2241 CustomAnimationEffectPtr pEffect = (*aIter++); in onChangeProperty() local
2243 if( setProperty1Value( mnPropertyType, pEffect, aValue ) ) in onChangeProperty()
2286 CustomAnimationEffectPtr pEffect = (*aIter++); in onChangeSpeed() local
2287 pEffect->setDuration( fDuration ); in onChangeSpeed()
2376 CustomAnimationEffectPtr pEffect = (*aIter++); in moveSelection() local
2378 EffectSequence::iterator aEffectPos( pSequence->find( pEffect ) ); in moveSelection()
2389 rEffectSequence.insert( aInsertPos, pEffect ); in moveSelection()
2393 rEffectSequence.push_front( pEffect ); in moveSelection()
2406 CustomAnimationEffectPtr pEffect = (*aIter++); in moveSelection() local
2408 EffectSequence::iterator aEffectPos( pSequence->find( pEffect ) ); in moveSelection()
2419 rEffectSequence.insert( aInsertPos, pEffect ); in moveSelection()
2423 rEffectSequence.push_back( pEffect ); in moveSelection()
2480 CustomAnimationEffectPtr pEffect = (*aIter++); in onPreview() local
2481 pSequence->append( pEffect->clone() ); in onPreview()
2541 CustomAnimationEffectPtr pEffect = (*aIter++); in markShapesFromSelectedEffects() local
2543 Reference< XShape > xShape( pEffect->getTargetShape() ); in markShapesFromSelectedEffects()
2559 CustomAnimationEffectPtr pEffect = xTag->getEffect(); in updatePathFromMotionPathTag() local
2560 if( (pPathObj != 0) && pEffect.get() != 0 ) in updatePathFromMotionPathTag()
2567 …pManager->AddUndoAction( new UndoAnimationPath( mrBase.GetDocShell()->GetDoc(), pPage, pEffect->ge… in updatePathFromMotionPathTag()
2570 pEffect->updatePathFromSdrPathObj( *pPathObj ); in updatePathFromMotionPathTag()