InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IMotionPresetData Class Referenceabstract
Inheritance diagram for IMotionPresetData:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IMOTIONPRESETDATA }
 

Public Member Functions

virtual bool IsValid () const =0
 
virtual const WideStringGetRawMotionData () const =0
 
virtual void SetRawMotionData (const WideString &ss)=0
 
virtual void Set (uint8 const *data, size_t count)=0
 
virtual uint8 const * Get (size_t &count) const =0
 
virtual BIBSharedBuffer * GetBuffer () const =0
 
virtual void SetBlendMode (int32 blendmode)=0
 
virtual int32 GetBlendMode () const =0
 
virtual void SetDescription (const PMString &description)=0
 
virtual PMString GetDescription () const =0
 
virtual void SetName (const PMString &name)=0
 
virtual PMString GetName () const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Member Function Documentation

virtual uint8 const* IMotionPresetData::Get (size_t & count) const
pure virtual

Returns the buffer the size of the buffer containing the motion XML.

Parameters
coutis the size of the buffer.
Returns
the pointer to the buffer.
virtual int32 IMotionPresetData::GetBlendMode () const
pure virtual
Returns
the blending mode.
virtual BIBSharedBuffer* IMotionPresetData::GetBuffer () const
pure virtual
Returns
the buffer containing the motion XML for SWF.
virtual PMString IMotionPresetData::GetDescription () const
pure virtual
Returns
the description for this preset.
virtual PMString IMotionPresetData::GetName () const
pure virtual
Returns
the name of the preset
virtual const WideString& IMotionPresetData::GetRawMotionData () const
pure virtual
Returns
the raw motion data as a wide string.
virtual bool IMotionPresetData::IsValid () const
pure virtual
Returns
true if the data is valid.
virtual void IMotionPresetData::Set (uint8 const * data,
size_t count 
)
pure virtual

Set the size and the buffer containing the motion XML for SWF.

Parameters
datais the buffer containing the motion XML.
countis the size of the buffer.
virtual void IMotionPresetData::SetBlendMode (int32 blendmode)
pure virtual

Sets the blend mode

Parameters
blenmodeis the blend mode to set.
virtual void IMotionPresetData::SetDescription (const PMStringdescription)
pure virtual

Set the description for the preset.

Parameters
descriptionis the preset description to set.
virtual void IMotionPresetData::SetName (const PMStringname)
pure virtual

Sets the name of the preset. This will modify the preset name in the xml data as well.

Parameters
nameis the preset name to set.
virtual void IMotionPresetData::SetRawMotionData (const WideStringss)
pure virtual

Sets the raw motion preset data as a wide string.

Parameters
ssthe the wide string containing the raw motion data.