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

#include <ISetMetaDataCmdData.h>

Inheritance diagram for ISetMetaDataCmdData:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ISETMETADATACMDDATA }
 

Public Member Functions

virtual IPMUnknownGetLibraryAsset () const =0
 
virtual void SetLibraryAsset (IPMUnknown *asset)=0
 
virtual void SetName (const PMString &name)=0
 
virtual PMString GetName () const =0
 
virtual void SetUserType (const ILibraryAssetMetaData::UserType userType)=0
 
virtual
ILibraryAssetMetaData::UserType 
GetUserType () const =0
 
virtual void SetDescription (const PMString &description)=0
 
virtual PMString GetDescription () const =0
 
virtual void SetCreationTime (GlobalTime t)=0
 
virtual GlobalTime GetCreationTime () 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 the command (kSetMetaDataCmdBoss) to set meta data of Library Assets.

Member Function Documentation

virtual GlobalTime ISetMetaDataCmdData::GetCreationTime () const
pure virtual

Get the creation time (and date) of the asset

Returns
the timestamp for the asset's creation
virtual PMString ISetMetaDataCmdData::GetDescription () const
pure virtual

Get the asset's description.

Returns
the description given the asset
virtual IPMUnknown* ISetMetaDataCmdData::GetLibraryAsset () const
pure virtual

Get library asset's pointer.

Returns
the pointer to the library asset this command is being executed against.
virtual PMString ISetMetaDataCmdData::GetName () const
pure virtual

Get the asset's name.

Returns
the name given the asset
virtual ILibraryAssetMetaData::UserType ISetMetaDataCmdData::GetUserType () const
pure virtual

Get the asset's User Type. NOTE: User Type is just for user classification. It may or may not be accurate.

Returns
the UserType given the asset
virtual void ISetMetaDataCmdData::SetCreationTime (GlobalTime t)
pure virtual

Set the creation time of the asset. This method is intended for use by code converters; clients in general should not re-set an existing creation time for an asset.

Parameters
tIN the time to assign to the asset's creation time
virtual void ISetMetaDataCmdData::SetDescription (const PMStringdescription)
pure virtual

Sets the asset's description.

Parameters
descriptionIN string containing a new description for the asset
virtual void ISetMetaDataCmdData::SetLibraryAsset (IPMUnknownasset)
pure virtual

Set the library asset that this command is going to be executed against.

Parameters
assetIN pointer to the library asset
virtual void ISetMetaDataCmdData::SetName (const PMStringname)
pure virtual

Set the asset's name.

Parameters
nameIN string containing a new name for the asset
virtual void ISetMetaDataCmdData::SetUserType (const ILibraryAssetMetaData::UserType userType)
pure virtual

Set the asset's User Type

Parameters
userTypeIN User Type to assign to the asset