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

Public Types | |
| enum | { kDefaultIID = IID_IANIMATIONDATA } |
Public Member Functions | |
| virtual UID | GetPresetUID () const =0 |
| virtual bool | SetPresetUID (UID presetUID)=0 |
| virtual uint32 | GetNumPlays () const =0 |
| virtual bool | SetNumPlays (uint32 numPlays)=0 |
| virtual bool | GetPlaysLoop () const =0 |
| virtual bool | SetPlaysLoop (bool setToLoop)=0 |
| virtual bool | GetHideInitially () const =0 |
| virtual bool | SetHideInitially (bool setHideInitially)=0 |
| virtual bool | GetHideAfter () const =0 |
| virtual bool | SetHideAfter (bool setHideAfter)=0 |
| virtual AnimationOptions | GetAnimateOption () const =0 |
| virtual bool | SetAnimateOption (const AnimationOptions &animateOption)=0 |
| virtual bool | SetDuration (const PMReal &durationInSecond)=0 |
| virtual PMReal | GetDuration () const =0 |
| virtual bool | SetFrameRate (int32 frameRatePerSecond)=0 |
| virtual int32 | GetFrameRate () const =0 |
| virtual AnimationEaseType | GetSimpleEaseType () const =0 |
| virtual bool | SetSimpleEaseType (const AnimationEaseType &easeType)=0 |
| virtual bool | SetTransformOffsetPoint (const PMPoint &offsetPoint)=0 |
| virtual PMPoint | GetTransformOffsetPoint () const =0 |
| virtual bool | Get2DKeyFramePath (AnimationPathDataList &pathFrames) const =0 |
| virtual bool | Get2DPathPoints (PMPathPointList &path, bool &isRoving) const =0 |
| virtual bool | Set2DKeyFramePath (const AnimationPathDataList &path)=0 |
| virtual bool | Set2DPathPoints (const PMPathPointList &path, bool isRoving)=0 |
| virtual uint32 | GetOpacityKeyFrameCount () const =0 |
| virtual bool | GetOpacityKeyFrame (uint32 nth, uint32 &keyframe, PMReal &value) const =0 |
| virtual bool | GetOpacityKeyFrame (uint32 keyframe, PMReal &value) const =0 |
| virtual bool | SetOpacityKeyFrame (uint32 keyframe, const PMReal &value)=0 |
| virtual bool | RemoveOpacityKeyFrame (uint32 keyframe)=0 |
| virtual uint32 | GetRotationKeyFrameCount () const =0 |
| virtual bool | GetRotationKeyFrame (uint32 nth, uint32 &keyframe, PMReal &value) const =0 |
| virtual bool | GetRotationKeyFrame (uint32 keyframe, PMReal &value) const =0 |
| virtual bool | SetRotationKeyFrame (uint32 keyframe, const PMReal &value)=0 |
| virtual bool | RemoveRotationKeyFrame (uint32 keyframe)=0 |
| virtual uint32 | GetScaleXKeyFrameCount () const =0 |
| virtual bool | GetScaleXKeyFrame (uint32 nth, uint32 &keyframe, PMReal &value) const =0 |
| virtual bool | GetScaleXKeyFrame (uint32 keyframe, PMReal &value) const =0 |
| virtual bool | SetScaleXKeyFrame (uint32 keyframe, const PMReal &value)=0 |
| virtual bool | RemoveScaleXKeyFrame (uint32 keyframe)=0 |
| virtual uint32 | GetScaleYKeyFrameCount () const =0 |
| virtual bool | GetScaleYKeyFrame (uint32 nth, uint32 &keyframe, PMReal &value) const =0 |
| virtual bool | GetScaleYKeyFrame (uint32 keyframe, PMReal &value) const =0 |
| virtual bool | SetScaleYKeyFrame (uint32 keyframe, const PMReal &value)=0 |
| virtual bool | RemoveScaleYKeyFrame (uint32 keyframe)=0 |
| virtual void | Copy (const IAnimationData *iOtherData)=0 |
| virtual bool | Equals (const IAnimationData *iOtherData) 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 transient data interface for one animation data. It is used to represent the memoery-based animation data, e.g. animation script data object. It is also used as command data interface to update page item animation data. It does not provide direct access to the page item's persistent animation data.
| pure virtual |
Copy from another animation data.
| iOtherData | is the animation data to copy from. |
| pure virtual |
Compare with another animation data.
| iOtherData | is the animation data to compare with. |
| pure virtual |
Gets the 2D motion path and keyframes.
| pathFrames | is the keyframe path to get. |
| pure virtual |
Gets the 2D motion path.
| path | is the path to get. |
| isRoving | is true if path is roving path. |
| pure virtual |
| pure virtual |
Gets the duration for whichAnimation.
| pure virtual |
| pure virtual |
| pure virtual |
| pure virtual |
| pure virtual |
Gets the opacity at specified key frame.
| keyframe | is the keyframe to get. |
| value | is the value at keyframe. |
| pure virtual |
Gets the total number of key frames.
| pure virtual |
| pure virtual |
| pure virtual |
Gets the rotation at specified key frame.
| keyframe | is the keyframe to get. |
| value | is the value at keyframe. |
| pure virtual |
Gets the total number of key frames.
| pure virtual |
Gets the total number of key frames.
| pure virtual |
Gets the nth keyframe and scale y value.
| nth | is the nth keyframe value pair to get. |
| keyframe | is the keyframe |
| value | is the value at keyframe. |
| pure virtual |
Gets the nth keyframe and scale y value.
| nth | is the nth keyframe value pair to get. |
| keyframe | is the keyframe |
| value | is the value at keyframe. |
| pure virtual |
Gets the total number of key frames.
| pure virtual |
| pure virtual |
| pure virtual |
Removes the specified rotation key frame
| keyframe | is the keyframe to remove. |
| pure virtual |
Removes the specified scale x key frame
| keyframe | is the keyframe to remove. |
| pure virtual |
Removes the specified scale y key frame
| keyframe | is the keyframe to remove. |
| pure virtual |
Sets the 2D motion path and keyframes.
| pathFrames | is the keyframe path to get. |
| pure virtual |
Sets the 2D motion path. This path replaces the existing path at the already specified keyframes.
| path | is the path to set. |
| isRoving | is true if the path to set is roving path. |
| pure virtual |
Sets the animate option.
| animateOption | is the animate option to set. |
| pure virtual |
Sets the duration.
| durationInSecond | is the duration. |
| pure virtual |
Sets the frame rate.
| frameRatePerSecond | is number of frames per second. |
| pure virtual |
Sets object run-time visibility to hide after animated.
| setHideAfter | is true if to set object to be hidden after animated. |
| pure virtual |
Sets object run-time visibility to be hidden until animated.
| setHidden | is true if to set object to be hidden till animated. |
| pure virtual |
Sets the number of time the animation plays.
| numPlays | is the number ot times the animation plays. numPlays must be at least 1. |
| pure virtual |
Sets the opacity at specified key frame.
| keyframe | is the keyframe to set. |
| value | is the value at keyframe. |
| pure virtual |
Sets animation to plays loop.
| setToLoop | is true if to set animation to loop. |
| pure virtual |
Sets the animation preset UID.
| presetUID | is the motion preset UID to set. |
| pure virtual |
Sets the rotation at specified key frame.
| keyframe | is the keyframe to set. |
| value | is the value at keyframe. |
| pure virtual |
Sets the scale x at specified key frame.
| keyframe | is the keyframe to set. |
| value | is the value at keyframe. |
| pure virtual |
Sets the scale y at specified key frame.
| keyframe | is the keyframe to set. |
| value | is the value at keyframe. |
| pure virtual |
Sets the simple ease type.
| easeType | is ease type to set. |
| pure virtual |
Sets the transform point. The transform point specified the offset percentage (0.0 to 1.0) relative to the target object the animation path motion starts.
| offsetPoint | is the offset percent point to set. |