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

#include <INewLinkConverter.h>

Inheritance diagram for INewLinkConverter:
IPMUnknownCPMUnknown< INewLinkConverter >CusDtLnkNewLinkConverter

Public Types

enum  { kDefaultIID = IID_INEWLINKCONVERTER }
 

Public Member Functions

virtual ErrorCode DoConvert (const UIDRef &oldLinkRef)=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Protected Member Functions

virtual UID CreateNewLinkObject (const UIDRef &oldLinkRef)=0
 
virtual ErrorCode DoCustomConversion (const UIDRef &oldLinkRef)=0
 

Detailed Description

Member Function Documentation

virtual UID INewLinkConverter::CreateNewLinkObject (const UIDRefoldLinkRef)
protectedpure virtual

Called create an ILinkObject. Default is to assume direct reference to the link object from data link.

Parameters
oldLinkRef[IN] UIDRef of an ILinkObjectReference object.
Returns
UID of the resulting link object.

Implemented in CusDtLnkNewLinkConverter.

virtual ErrorCode INewLinkConverter::DoConvert (const UIDRefoldLinkRef)
pure virtual

Called convert a link.

Parameters
oldLinkRef[IN] UIDRef of an ILinkObjectReference object.
Returns
kSuccess if the conversion succeded, else an error code.

Implemented in CusDtLnkNewLinkConverter.

virtual ErrorCode INewLinkConverter::DoCustomConversion (const UIDRefoldLinkRef)
protectedpure virtual

Called perform custom conversion as needed. Default is to do nothing.

Parameters
oldLinkRef[IN] UIDRef of an ILinkObjectReference object.
Returns
kSuccess if the custom conversion succeded, else an error code.

Implemented in CusDtLnkNewLinkConverter.