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

Public Types | |
| enum | { kDefaultIID = IID_ISPREADDYNAMICCONTENTMGR } |
| enum | DynamicContentType { kInvalidContentType = 0, kAnimationItemType, kSoundItemType, kMovieItemType, kMultiStateItemType, kButtonItemType } |
Public Member Functions | |
| virtual uint32 | GetNumTargets () const =0 |
| virtual bool | CanAddTarget (UID pageItemUID)=0 |
| virtual bool | AddTarget (UID pageItemUID)=0 |
| virtual bool | RemoveTarget (UID pageItemUID)=0 |
| virtual int32 | FindTarget (UID pageItemUID) const =0 |
| virtual UID | GetNthTarget (uint32 index) const =0 |
| virtual DynamicContentType | GetNthTargetType (uint32 index) const =0 |
| virtual bool | NthTargetIsAnimated (uint32 index) const =0 |
| virtual bool | GetNthTargetName (uint32 index, PMString &name) const =0 |
| virtual void | GetItemsByTargetType (const DynamicContentType &targetType, std::vector< UID > &itemList) const =0 |
| virtual uint32 | GetNumButtons () const =0 |
| virtual bool | AddButton (UID buttonUID)=0 |
| virtual bool | RemoveButton (UID buttonUID)=0 |
| virtual int32 | FindButton (UID buttonUID) const =0 |
| virtual UID | GetNthButton (uint32 index) const =0 |
| virtual void | GetButtons (std::vector< UID > &buttonList) const =0 |
| virtual void | GetUnassignedTargets (std::vector< UID > &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 a persistent data interface to track InDesign dynamic content on the spread. This interface sits on the spread boss. Dynamic contents are page item with animation, media page items, button page items, and children of multi-state object page items. The media page items include movies, sound, and SWF's.
This enum defines the types of dynamic content tracked here.
| pure virtual |
Add this button on the spread
| buttonUID | is button to add. |
| pure virtual |
Add this dynamic content item to be tracked for this spread.
| pageItemUID | is the page item to track. |
| pure virtual |
Return true if page item is an dynamic content we care about and if this page item is on the spread. Currently we keep track of page item with animation, mso items, all media items (movies, swf, sounds, etc.)
| pageItemUID | is the page item interested |
| pure virtual |
Find the button index for the given button UID.
| buttonUID | is the button UID. |
| pure virtual |
Returns the index of the pageItemUID in this list.
| pageItemUID | is the UID of the target we are looking for. |
| pure virtual |
Returns the buttons on this spread.
| buttonList | contains the buttons on the spread. |
| pure virtual |
Returns the all the items that are specified target type.
| targetType | is the target type. |
| itemList | is the list of items of this type. |
| pure virtual |
Returns the nth button.
| index | is the index of the button on the spread interested. |
| pure virtual |
Returns the nth dynamic target item.
| index | is the index of the dynamic item being tracked for this spread. |
| pure virtual |
Returns the nth dynamic target item's name.
| index | is the index of the dynamic item being tracked for this spread. |
| name | is the target's name. |
| pure virtual |
Returns the nth dynamic target item's name.
| index | is the index of the dynamic item being tracked for this spread. |
| targetType | is the target's type. |
| pure virtual |
Buttons on this spread.Returns the number of buttons on the spread.
| pure virtual |
Returns the number of dynamic items on the spread.
| pure virtual |
Returns a list of animated targets that are not assigned a trigger event.
| targetList | contains the unassigned animated targets on the spread. |
| pure virtual |
Returns true if nth target is also animated.
| index | is the index of the dynamic item being tracked for this spread. |
| pure virtual |
Remove the nth button from the spread.
| pure virtual |
Remove the specified item from being tracked.
| pageItemUID | is the page item to remove. |