![]() | InDesign SDK 20.5 |
#include <IDynamicEventTimingSuite.h>

Public Types | |
| enum | { kDefaultIID = IID_IDYNAMICEVENTTIMINGSUITE } |
Public Member Functions | |
| virtual bool | HasMultipleSelections () const =0 |
| virtual bool | CanApply () const =0 |
| virtual ClassID | GetTimingParentClassID () const =0 |
| virtual void | GetApplicableDynamicEvents (const EventTriggerType &trigger, std::vector< EventTriggerType > &eventTriggerTypeList) const =0 |
| virtual void | GetApplicableDynamicEventsForTarget (const EventTriggerType &trigger, const IDynamicEventTimingMgr::DynamicTargetPtr &dynamicTarget, std::vector< EventTriggerType > &eventTriggerTypeList) const =0 |
| virtual uint32 | GetNumDynamicEvents () const =0 |
| virtual EventTriggerType | GetNthDynamicEvent (uint32 which) const =0 |
| virtual uint32 | GetNumGroupsInEvent (const EventTriggerType &trigger) const =0 |
| virtual bool | GetNthGroupInEvent (const EventTriggerType &trigger, uint32 which, IDynamicEventTimingMgr::DynamicTargetList &itemList) const =0 |
| virtual uint32 | GetNthGroupNumPlaysInEvent (const EventTriggerType &trigger, uint32 which) const =0 |
| virtual bool | SetNthGroupNumPlaysInEvent (const EventTriggerType &trigger, uint32 which, uint32 newNumPlays)=0 |
| virtual bool | GetNthGroupPlaysLoopInEvent (const EventTriggerType &trigger, uint32 which) const =0 |
| virtual bool | SetNthGroupPlaysLoopInEvent (const EventTriggerType &trigger, uint32 which, bool playsLoop)=0 |
| virtual bool | UnlinkNthGroupInEvent (const EventTriggerType &trigger, uint32 which)=0 |
| virtual bool | MoveNthGroupInEvent (const EventTriggerType &trigger, uint32 which, int32 newGroup=-1)=0 |
| virtual bool | MoveNthGroupToInEventAt (const EventTriggerType &trigger, uint32 which, uint32 newGroup, int32 atPosition=-1)=0 |
| virtual bool | AddTargetInEvent (const EventTriggerType &trigger, const IDynamicEventTimingMgr::DynamicTargetPtr &dynamicTarget)=0 |
| virtual bool | RemoveTargetInEvent (const EventTriggerType &trigger, const IDynamicEventTimingMgr::DynamicTargetPtr &dynamicTarget, uint32 whichGroup)=0 |
| virtual bool | RemoveTargetInEvent (const EventTriggerType &trigger, const IDynamicEventTimingMgr::DynamicTargetPtr &dynamicTarget)=0 |
| virtual bool | CanMoveTargetInEvent (const EventTriggerType &trigger) const =0 |
| virtual bool | MoveTargetBeforeInEvent (const EventTriggerType &trigger, const IDynamicEventTimingMgr::DynamicTargetPtr &dynamicTarget, uint32 oldGroup, uint32 beforeGroup)=0 |
| virtual bool | MoveTargetAfterInEvent (const EventTriggerType &trigger, const IDynamicEventTimingMgr::DynamicTargetPtr &dynamicTarget, uint32 oldGroup, uint32 afterGroup)=0 |
| virtual bool | MoveTargetToInEventAt (const EventTriggerType &trigger, const IDynamicEventTimingMgr::DynamicTargetPtr &dynamicTarget, uint32 oldGroup, uint32 atGroup, int32 at)=0 |
| virtual bool | SetTargetDelayInEvent (const EventTriggerType &trigger, const IDynamicEventTimingMgr::DynamicTargetPtr &dynamicTarget, uint32 which, const PMReal &delay)=0 |
| virtual PMReal | GetTargetDelayInEvent (const EventTriggerType &trigger, const IDynamicEventTimingMgr::DynamicTargetPtr &dynamicTarget, uint32 which) const =0 |
| virtual int32 | FindTargetInEvent (const EventTriggerType &trigger, const IDynamicEventTimingMgr::DynamicTargetPtr &dynamicTarget, uint32 &position) const =0 |
| virtual bool | UnlinkTargetInEvent (const EventTriggerType &trigger, const IDynamicEventTimingMgr::DynamicTargetPtr &dynamicTarget, uint32 which)=0 |
| virtual bool | GroupTargetsInEvent (const EventTriggerType &trigger, const IDynamicEventTimingMgr::DynamicTargetList &targetList, uint32 newGroup)=0 |
| virtual bool | GetUnassignedTargets (std::vector< UID > &unassignedTargetList) const =0 |
| virtual bool | ReassignEventForTargets (const EventTriggerType &trigger, const EventTriggerType &newTrigger, const IDynamicEventTimingMgr::DynamicTargetList &targetList) const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This is the high level dynamic event timing suite for the current selection. Dynamic events are event triggers that cause one or more items to do something in some ordering. The supported event triggers are:
For the spread: kOnPageLoad kOnPageClick
For the MSO: kOnPageLoad (is the same as on state load)
For normal page items with animation applied: kOnSelfClick kOnSelfRollover
For buttons: kOnClick kOnRelease kOnRollover kOnRolloff
| pure virtual |
Add item to the current seleciton dynamic event. If there's no selection, spread's dynamic events are used.
| trigger | is the event to add item to. |
| dynamicTarget | is the target item to add. |
| pure virtual |
Returns true if we can apply event and timing to the current selection. We can only show or apply if the current selection is a single selection and that it is a button.
| pure virtual |
Returns true if we can re-order items in the list.
| trigger | is the trigger event to move item from. |
| pure virtual |
Find the target in the specified trigger event. Returns the group index the target is in and the relative position of the target in the group. If it's a single target group, then the target position is 0.
| trigger | is the trigger event the item is in. |
| dynamicTarget | is the target item to find. |
| position | is the relative position the target is in the group. |
| pure virtual |
Get applicable dynamic events for the selection.
| trigger | is the trigger event. |
| eventTriggerTypeList,: | [OUT] the list of other event triggers that is applicable for the selection that is different from trigger. |
| pure virtual |
Get applicable dynamic events for the target selection.
| trigger | is the trigger event. |
| itemRef | is target. |
| eventTriggerTypeList,: | [OUT] the list of other event triggers that is applicable for the target selection that is different from trigger. |
| pure virtual |
Get nth dynamic events for the selection.
| which | is the nth dynamic event to get. |
| pure virtual |
Get the nth timing position's item list from the selection's dynamic event.
| trigger | is the trigger event the item is in. |
| which | is the nth item in the dynamic event timing list to get. |
| itemList | is the list containing one or more items in nth position of the timing list. |
| pure virtual |
Gets the specified event trigger's nth item's number of plays.
| trigger | is the event trigger to remove. |
| which | is the group item. |
| numPlays | is the number of times this group plays. |
| pure virtual |
Gets whether or not the specified event trigger's nth item is looping.
| trigger | is the event trigger to remove. |
| which | is the group item. |
| playsLoop | is true if group loops. |
| pure virtual |
Get number of dynamic events for the selection.
| pure virtual |
Get number of items in the selection's dynamic event timing list.
| trigger | is the trigger event the item is in. |
| pure virtual |
Get item delay for the nth item in the selection's dynamic event.
| trigger | is the trigger event the item is in. |
| dynamicTarget | is the target item to move. |
| which | is the position of the item to set. |
| pure virtual |
| pure virtual |
Return a list of unassigned targets for the selection.
| unassignedTargetList | contains a list of unassigned targets. |
| pure virtual |
Group targets for the specified dynamic event.
| trigger | is the trigger event the items are in. |
| targetList | contains a list of targets to be grouped. |
| newGroup | is the new group position. |
| pure virtual |
Returns true if current selection contains multiple selections. This will not be available for multiple selections.
| pure virtual |
Move the nth group from the selection's dynamic event.
| trigger | is the trigger event the item is in. |
| which | is the which group in the dynamic event timing list to move. |
| newGroup | is the new position to move the group to. If newGroup is set to -1, then the group is moved to the end. |
| pure virtual |
Move all the targets in nth group from the selection's dynamic event to another group at the specified position.
| trigger | is the trigger event the item is in. |
| which | is the which group in the dynamic event timing list to move. |
| newGroup | is the new position to move the group to. |
| atPosition | is the new position in the group to move the items in the group to. If atPosition is set to -1, then the items in the group is moved to the end of the new group. |
| pure virtual |
Move item from old timing position to after the new timing position for the selection's dynamic event.
| trigger | is the trigger event to move item from. |
| dynamicTarget | is the target item to move. |
| oldGroup | is the timing position of the item to move from. |
| afterGroup | is the timing position of the item to move after. |
| pure virtual |
Move item from old timing position to before the new timing position for the selection's dynamic event.
| trigger | is the trigger event to move item from. |
| dynamicTarget | is the target item to move. |
| oldGroup | is the timing position of the item to move from. |
| beforeGroup | is the timing position of the item to move before. |
| pure virtual |
Move item from old timing position to the new timing position for the selection's dynamic event.
| trigger | is the trigger event to move item from. |
| dynamicTarget | is the target item to move. |
| oldGroup | is the timing position of the item to move from. |
| atGroup | is the timing position of the item to move to. |
| at | is the position within the atGroup the item is moved to. The item is added to the end of the group if at = -1. |
| pure virtual |
Reassign targets to a different events
| trigger | is the trigger event the items are in. If trigger is kNoTriggerEvent, this means the specified targets were unassigned. |
| newTrigger | is the new trigger event to reassign to. |
| targetList | contains a list of targets to be reassigned. |
| pure virtual |
Remove item from the selection's dynamic event.
| trigger | is the trigger event to remove item from. |
| dynamicTarget | is the target item to add. |
| whichGroup | is the position of the group item from which to remove from. |
| pure virtual |
Remove all instances of item from the selection's dynamic event.
| trigger | is the trigger event to remove item from. |
| dynamicTarget | is the target item to remove. |
| pure virtual |
Gets the specified event trigger's nth item's number of plays.
| trigger | is the event trigger to remove. |
| which | is the group item. |
| newNumPlays | is the new number of times this group should play. |
| pure virtual |
Sets whether or not the specified event trigger's nth item should loop.
| trigger | is the event trigger to remove. |
| which | is the group item. |
| playsLoop | is true if group loops. |
| pure virtual |
Set item delay for the nth item in the selection's dynamic event.
| trigger | is the trigger event the item is in. |
| dynamicTarget | is the target item to move. |
| which | is the position of the item to set. |
| delay | is the time delay to set. |
| pure virtual |
Unlink the nth group from the selection's dynamic event. This puts the targets in the group as individual items in the timing list. If the group only has one item, unlink has no effect.
| trigger | is the trigger event the item is in. |
| which | is the nth item in the dynamic event timing list to get. |
| itemList | is the list containing one or more items in nth position of the timing list. |
| pure virtual |
Unlink the target in group from the selection's dynamic event. This remove the specified target in the group and adds it to the end of the timing list for this event.
| trigger | is the trigger event the item is in. |
| dynamicTarget | is the target item to move. |
| which | is the nth item in teh dynamic event timing list to get. |