InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IApplyMotionToPageItemCmdData Class Referenceabstract

#include <IApplyMotionToPageItemCmdData.h>

Inheritance diagram for IApplyMotionToPageItemCmdData:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IAPPLYMOTIONTOPAGEITEMCMDDATA }
 

Public Member Functions

virtual void SetMotionPresetRef (const UIDRef &presetRef, uint32 whichAnimation=0)=0
 
virtual UIDRef GetMotionPresetRef () const =0
 
virtual void SetForceCreateNewPreset (bool doForceCreate)=0
 
virtual bool GetForceCreateNewPreset () const =0
 
virtual uint32 GetWhichAnimation () const =0
 
virtual void SetAutoOffsetPath (bool offsetPath)=0
 
virtual bool GetAutoOffsetPath () const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Data interface for apply motion preset command.

Member Function Documentation

virtual bool IApplyMotionToPageItemCmdData::GetAutoOffsetPath () const
pure virtual
Returns
true if offset path.
virtual bool IApplyMotionToPageItemCmdData::GetForceCreateNewPreset () const
pure virtual
Returns
true if force to create new document preset regardless whether or similarly named preset already exists.
virtual UIDRef IApplyMotionToPageItemCmdData::GetMotionPresetRef () const
pure virtual

Gets the motion preset to apply

Returns
the presetRef to apply
virtual uint32 IApplyMotionToPageItemCmdData::GetWhichAnimation () const
pure virtual

Gets which animation to apply preset to.

Returns
which animation.
virtual void IApplyMotionToPageItemCmdData::SetAutoOffsetPath (bool offsetPath)
pure virtual

Sets whether or not to automatically offset preset motion path.

Parameters
offsetPathis true if automatically offset motion path.
virtual void IApplyMotionToPageItemCmdData::SetForceCreateNewPreset (bool doForceCreate)
pure virtual

Sets whether or not to force to create new document preset. By default, always use the one already exist in the document.

Parameters
doForceCreateis true if create new doc preset first.
virtual void IApplyMotionToPageItemCmdData::SetMotionPresetRef (const UIDRefpresetRef,
uint32 whichAnimation = 0 
)
pure virtual

Sets the motion preset to apply

Parameters
presetRefis the UIDRef of the motion preset to apply
whichAnimationis the animation to apply to.