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

#include <IDuplicatePreflightProfileCmdData.h>

Inheritance diagram for IDuplicatePreflightProfileCmdData:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IDUPLICATEPREFLIGHTPROFILECMDDATA }
 

Public Member Functions

virtual void SetDestinationDatabase (IDataBase *iDB)=0
 
virtual IDataBaseGetDestinationDatabase () const =0
 
virtual void SetSourceProfile (const UIDRef &srcRef)=0
 
virtual UIDRef GetSourceProfile () const =0
 
virtual void SetDestinationProfile (const UIDRef &dstRef)=0
 
virtual UIDRef GetDestinationProfile () 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

This interface provides the settings to accompany a DuplicatePreflightProfile command.

See Also
IPreflightProfile. Note that you may find it easier to use IPreflightFacade::DuplicateProfile() than to build a command directly.

Member Function Documentation

virtual IDataBase* IDuplicatePreflightProfileCmdData::GetDestinationDatabase () const
pure virtual
Returns
the database where you want the new profile to exist. If left nil the new profile will appear in the defaults database.
virtual UIDRef IDuplicatePreflightProfileCmdData::GetDestinationProfile () const
pure virtual
Returns
the destination (copy) profile. This is only valid AFTER the command has been processed.
virtual UIDRef IDuplicatePreflightProfileCmdData::GetSourceProfile () const
pure virtual
Returns
the source profile (ie the one that will be duplicated).
virtual void IDuplicatePreflightProfileCmdData::SetDestinationDatabase (IDataBaseiDB)
pure virtual

Set the database where you want the new profile to exist. If left nil the new profile will appear in the defaults database.

Parameters
iDBIN The database.
virtual void IDuplicatePreflightProfileCmdData::SetDestinationProfile (const UIDRefdstRef)
pure virtual

Set the destination (the copy) profile. This should only be set by the command itself.

Parameters
dstRefIN The UIDRef of the destination.
virtual void IDuplicatePreflightProfileCmdData::SetSourceProfile (const UIDRefsrcRef)
pure virtual

Set the source profile; ie the profile that will be duplicated.

Parameters
srcRefIN The source profile.