LibreOffice Module slideshow (master) 1
|
Classes | |
struct | CommonParameters |
Collection of common factory parameters. More... | |
Functions | |
AnimationActivitySharedPtr | createAnimateActivity (const CommonParameters &rParms, const NumberAnimationSharedPtr &rAnimator, const css::uno::Reference< css::animations::XAnimate > &xNode) |
Create an activity from an XAnimate node. More... | |
AnimationActivitySharedPtr | createAnimateActivity (const CommonParameters &rParms, const EnumAnimationSharedPtr &rAnimator, const css::uno::Reference< css::animations::XAnimate > &xNode) |
Create an activity from an XAnimate node. More... | |
AnimationActivitySharedPtr | createAnimateActivity (const CommonParameters &rParms, const ColorAnimationSharedPtr &rAnimator, const css::uno::Reference< css::animations::XAnimate > &xNode) |
Create an activity from an XAnimate node. More... | |
AnimationActivitySharedPtr | createAnimateActivity (const CommonParameters &rParms, const HSLColorAnimationSharedPtr &rAnimator, const css::uno::Reference< css::animations::XAnimateColor > &xNode) |
Create an activity from an XAnimate node. More... | |
AnimationActivitySharedPtr | createAnimateActivity (const CommonParameters &rParms, const PairAnimationSharedPtr &rAnimator, const css::uno::Reference< css::animations::XAnimate > &xNode) |
Create an activity from an XAnimate node. More... | |
AnimationActivitySharedPtr | createAnimateActivity (const CommonParameters &rParms, const StringAnimationSharedPtr &rAnimator, const css::uno::Reference< css::animations::XAnimate > &xNode) |
Create an activity from an XAnimate node. More... | |
AnimationActivitySharedPtr | createAnimateActivity (const CommonParameters &rParms, const BoolAnimationSharedPtr &rAnimator, const css::uno::Reference< css::animations::XAnimate > &xNode) |
Create an activity from an XAnimate node. More... | |
AnimationActivitySharedPtr | createSimpleActivity (const CommonParameters &rParms, const NumberAnimationSharedPtr &rAnimator, bool bDirectionForward) |
Create a simple activity for the given animator. More... | |
AnimationActivitySharedPtr slideshow::internal::ActivitiesFactory::createAnimateActivity | ( | const CommonParameters & | rParms, |
const BoolAnimationSharedPtr & | rAnimator, | ||
const css::uno::Reference< css::animations::XAnimate > & | xNode | ||
) |
Create an activity from an XAnimate node.
This method creates an animated activity from the given XAnimate node, extracting all necessary animation parameters from that. Note that due to the animator parameter, the animation values must be convertible to a bool value.
rParms | Factory parameter structure |
rAnimator | Animator sub-object |
xNode | The SMIL animation node to animate |
AnimationActivitySharedPtr slideshow::internal::ActivitiesFactory::createAnimateActivity | ( | const CommonParameters & | rParms, |
const ColorAnimationSharedPtr & | rAnimator, | ||
const css::uno::Reference< css::animations::XAnimate > & | xNode | ||
) |
Create an activity from an XAnimate node.
This method creates an animated activity from the given XAnimate node, extracting all necessary animation parameters from that. Note that due to the animator parameter, the animation values must be convertible to a color value.
rParms | Factory parameter structure |
rAnimator | Animator sub-object |
xNode | The SMIL animation node to animate |
AnimationActivitySharedPtr slideshow::internal::ActivitiesFactory::createAnimateActivity | ( | const CommonParameters & | rParms, |
const EnumAnimationSharedPtr & | rAnimator, | ||
const css::uno::Reference< css::animations::XAnimate > & | xNode | ||
) |
Create an activity from an XAnimate node.
This method creates an animated activity from the given XAnimate node, extracting all necessary animation parameters from that. Note that due to the animator parameter, the animation values must be convertible to a double value.
rParms | Factory parameter structure |
rAnimator | Animator sub-object |
xNode | The SMIL animation node to animate |
AnimationActivitySharedPtr slideshow::internal::ActivitiesFactory::createAnimateActivity | ( | const CommonParameters & | rParms, |
const HSLColorAnimationSharedPtr & | rAnimator, | ||
const css::uno::Reference< css::animations::XAnimateColor > & | xNode | ||
) |
Create an activity from an XAnimate node.
This method creates an animated activity from the given XAnimate node, extracting all necessary animation parameters from that. Note that due to the animator parameter, the animation values must be convertible to a color value.
rParms | Factory parameter structure |
rAnimator | Animator sub-object |
xNode | The SMIL animation node to animate |
AnimationActivitySharedPtr slideshow::internal::ActivitiesFactory::createAnimateActivity | ( | const CommonParameters & | rParms, |
const NumberAnimationSharedPtr & | rAnimator, | ||
const css::uno::Reference< css::animations::XAnimate > & | xNode | ||
) |
Create an activity from an XAnimate node.
This method creates an animated activity from the given XAnimate node, extracting all necessary animation parameters from that. Note that due to the animator parameter, the animation values must be convertible to a double value.
rParms | Factory parameter structure |
rAnimator | Animator sub-object |
xNode | The SMIL animation node to animate |
Referenced by slideshow::internal::AnimationColorNode::createActivity(), slideshow::internal::AnimationTransformNode::createActivity(), and slideshow::internal::PropertyAnimationNode::createActivity().
AnimationActivitySharedPtr slideshow::internal::ActivitiesFactory::createAnimateActivity | ( | const CommonParameters & | rParms, |
const PairAnimationSharedPtr & | rAnimator, | ||
const css::uno::Reference< css::animations::XAnimate > & | xNode | ||
) |
Create an activity from an XAnimate node.
This method creates an animated activity from the given XAnimate node, extracting all necessary animation parameters from that. Note that due to the animator parameter, the animation values must be convertible to a pair of double values.
rParms | Factory parameter structure |
rAnimator | Animator sub-object |
xNode | The SMIL animation node to animate |
AnimationActivitySharedPtr slideshow::internal::ActivitiesFactory::createAnimateActivity | ( | const CommonParameters & | rParms, |
const StringAnimationSharedPtr & | rAnimator, | ||
const css::uno::Reference< css::animations::XAnimate > & | xNode | ||
) |
Create an activity from an XAnimate node.
This method creates an animated activity from the given XAnimate node, extracting all necessary animation parameters from that. Note that due to the animator parameter, the animation values must be convertible to a string.
rParms | Factory parameter structure |
rAnimator | Animator sub-object |
xNode | The SMIL animation node to animate |
AnimationActivitySharedPtr slideshow::internal::ActivitiesFactory::createSimpleActivity | ( | const CommonParameters & | rParms, |
const NumberAnimationSharedPtr & | rAnimator, | ||
bool | bDirectionForward | ||
) |
Create a simple activity for the given animator.
This method is suited to create activities for custom animations, which need a simple double value and lasts a given timespan. This activity always generates values from the [0,1] range.
rParms | Factory parameter structure |
rAnimator | Animator sub-object |
bDirectionForward | If true, the activity goes 'forward', i.e. from 0 to
|
Definition at line 993 of file activitiesfactory.cxx.
References slideshow::internal::ActivitiesFactory::CommonParameters::maRepeats, slideshow::internal::ActivitiesFactory::CommonParameters::mbAutoReverse, slideshow::internal::ActivitiesFactory::CommonParameters::mnAcceleration, slideshow::internal::ActivitiesFactory::CommonParameters::mnDeceleration, slideshow::internal::ActivitiesFactory::CommonParameters::mnMinDuration, slideshow::internal::ActivitiesFactory::CommonParameters::mnMinNumberOfFrames, slideshow::internal::ActivitiesFactory::CommonParameters::mpEndEvent, slideshow::internal::ActivitiesFactory::CommonParameters::mrActivitiesQueue, and slideshow::internal::ActivitiesFactory::CommonParameters::mrEventQueue.
Referenced by slideshow::internal::AnimationPathMotionNode::createActivity(), and slideshow::internal::AnimationPhysicsNode::createActivity().