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

Public Types | |
| enum | UserType { kImageType = 0, kEPSType, kPDFType, kGeometryType, kPageType, kTextType, kStructureType, kInDesignFileType } |
Public Member Functions | |
| virtual void | SetName (const PMString &name)=0 |
| virtual PMString | GetName () const =0 |
| virtual void | SetUserType (const UserType userType)=0 |
| virtual UserType | GetUserType () const =0 |
| virtual void | SetDescription (const PMString &description)=0 |
| virtual PMString | GetDescription () const =0 |
| virtual GlobalTime | GetCreationTime () const =0 |
| virtual void | SetCreationTime (GlobalTime t)=0 |
| virtual PMPoint | GetPosition () const =0 |
| virtual void | SetPosition (PMPoint &pt)=0 |
| virtual void | SetGenericProperty (PMString &propName, UIDRef &propValue)=0 |
| virtual UIDRef | GetGenericProperty (PMString &propName)=0 |
| virtual void | InitializeCreationTime ()=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 secondary interface on the LibraryAsset boss controls reading and writing of the "meta" data of the asset (name, description, etc.). Note that this is NOT XMP data, but instead a format used internally by the Library palette.
What type an asset is. Determined by a heuristic algorithm, and ca be reassigned by the user. Do not change the order of the items in this enum, or logic that handles the dropdown menu will break.
| pure virtual |
Get the creation time (and date) of the asset
| pure virtual |
Get the asset's description.
Get a generic property.
| propName | IN the name of the property |
| pure virtual |
Get the asset's name.
| pure virtual |
Get the asset's position on page when it was created. DEPRECATED
| pure virtual |
Get the asset's User Type. NOTE: User Type is just for user classification. It may or may not be accurate.
| pure virtual |
Initializes the creation time (and date) of the asset to the current date and time. * For Internal Use Only *
| 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.
| t | IN the time to assign to the asset's creation time |
| pure virtual |
Sets the asset's description.
| description | IN string containing a new description for the asset |
| pure virtual |
Set a generic property for the asset. The property must have previously been created.
| propName | IN the name of the property |
| propValue | IN UIDRef for the property value |
| pure virtual |
Set the asset's name.
| name | IN string containing a new name for the asset |
| pure virtual |
Assign the asset's position on page when it was created. DEPRECATED
| pt | IN the position (upper left) of the item |
| pure virtual |
Set the asset's User Type
| userType | IN User Type to assign to the asset |