class EventMultiplexer; class EventQueue; class UserEventQueue;
/** Rewind single effects of the main effect sequence. A rewind is initiatedbycallingtheRewind()method.Partoftheprocessingis doneasynchronously.MultipleEventQueue::update()callsmaybe necessarytofinisharewind.
/** Call Dispose() before the owner of an EffectRewinder object dies so thattheEffectRewindercanreleaseallreferencestotheowner.
*/ void dispose();
/** Store the root node of the animation tree. It is used in CountMainSequenceEffects()tocountthenumberofmainsequence effects(oreffectgroups.)
*/ void setRootAnimationNode ( const css::uno::Reference<css::animations::XAnimationNode>& xRootNode);
/** Store the XDrawPage to reach specific slide properties.
*/ void setCurrentSlide ( const css::uno::Reference<css::drawing::XDrawPage>& xSlide);
/** Rewind one effect of the main effect sequence. When the current slidehasnoteffectsornomainsequenceeffecthasyetbeenplayed thenswitchtothepreviousslideandreplayallofitsmain sequenceeffects. Thecallerhastopasstwofunctorsthatredisplaythecurrentslide orswitchtothepreviousslidesothatitdoesnothavetoexpose itsinternalstous.Onlyoneofthetwofunctorsiscalled. @paramrpPaintLock Thispaintlockisreleasedafterthewholeasynchronous processofrewindingthecurrenteffectiscompleted.It preventsintermediaterepaintsthatwouldshowpartialreplay ofeffects. @paramrSlideRewindFunctor Thisfunctoriscalledwhenthecurrentslideistobe redisplayed.Whenitiscalledthentheotherfunctorisnot called. @paramrPreviousSlideFunctor Thisfunctoriscalledtoswitchtothepreviousslide.Whenit iscalledthentheotherfunctorisnotcalled.
*/ bool rewind ( const ::std::shared_ptr<ScreenUpdater::UpdateLock>& rpPaintLock, const ::std::function<void ()>& rSlideRewindFunctor, const ::std::function<void ()>& rPreviousSlideFunctor);
/** Call this method after gotoPreviousEffect() triggered a slide change tothepreviousslide.
*/ void skipAllMainSequenceEffects();
/** The number off main sequence effects so far.
*/
sal_Int32 mnMainSequenceEffectCount;
/** This is the currently scheduled event that executes the asynchronous partoftheeffectrewinding.Itisalsousedasflagthatprevents nestedrewinds.
*/
EventSharedPtr mpAsynchronousRewindEvent;
bool mbNonUserTriggeredMainSequenceEffectSeen; bool mbHasAdvancedTimeSetting; // Slide has advanced time setting or not.
void initialize();
bool resetEffectCount(); /** Called by listeners when an animation (not necessarily of a main sequenceeffect)starts.
*/ bool notifyAnimationStart (const AnimationNodeSharedPtr& rpNode);
/** Count the number of effects (or effect groups) in the main effect sequence.
*/
sal_Int32 countMainSequenceEffects();
/** Skip the next main sequence effect.
*/ void skipSingleMainSequenceEffects();
/** Rewind the last effect of the main effect sequence by replaying all previouseffects. @paramnEffectCount Thenumberofmainsequenceeffectstoreplay. @parambRedisplayCurrentSlide When<TRUE/>thenthecurrentslideisredisplayedbeforethe effectsarereplayed. @paramrSlideRewindFunctor Thisfunctorisusedtoredisplaythecurrentslide.
*/ void asynchronousRewind (
sal_Int32 nEffectCount, constbool bRedisplayCurrentSlide, const ::std::function<void ()>& rSlideRewindFunctor);
/** Go to the previous slide and replay all of its main sequence effects (oreffectgroups). @paramrPreviousSlideFunctor Thisfunctorisusedtogotothepreviousslide.
*/ void asynchronousRewindToPreviousSlide ( const ::std::function<void ()>& rPreviousSlideFunctor);
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.