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

Public Types | |
| enum | { kDefaultIID = IID_IMETADATA } |
Public Member Functions | |
| virtual IMetaData * | CloneForRendition (const PMString &renditionClass, const metadata::MIMEType &format) const =0 |
| virtual IMetaData * | Clone (IDataBase *db=nil, const ClassID &classID=kMetaDataBoss) const =0 |
| virtual void | Copy (const IMetaData *srcMetaData)=0 |
| virtual void | LinkedResourceAdded (ILink *iLink, bool16 useFileURL=kTrue)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Interface for replicating MetaData
| pure virtual |
Clones new object of classID and returns IID_IMETADATA interface on newly created object. If db is non-nil, new object is created persistently. Otherwise it is non-persistent. Returns nil if the object cannot be created or IID_IMETADATA interface does not exist.
| db | IN DataBase |
| classID | IN Boss class |
| pure virtual |
Creates a clone metadata object for a rendition. Clears the 'xapMM:Manifest' property of the cloned object. The 'xapMM:RenditionClass' property of the cloned object is set to renditionClass. And the 'xap:Format' property of the cloned object is set to format.
| renditionClass | IN The rendition class name. |
| format | IN The resource format. |
| pure virtual |
Fills this metadata boss with metadata from 'srcMetaData'
| srcMetaData | IN The source MetaData |
| pure virtual |
Adds a reference of the link to xmpMM:Manifest The reference of the link in the Manifest is obtained through asset management system or the link's XMP data. If neither of them are avilable and useFileURL is kTrue, the link's file location is used as the reference.
| iLink | IN Pointer to the ILink instance that can be used to obtain the metadata. |
| useFileURL | IN whether to use link's file location as the reference, if the reference of the link is not obtained through both asset management system and the link's XMP data |