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

Public Member Functions | |
| CDataExchangeHandler_Extensible (IPMUnknown *boss) | |
| virtual void | CreateScrapStorage ()=0 |
| virtual ServiceID | GetDEHandlerHelperServiceID () const =0 |
Support for Extensibility | |
The following methods have been overridden to delegate to the flavor helpers associated with this handler. Framework use only - subclasses should not override these methods. | |
| virtual DataExchangeResponse | CanInternalizeData (IPMDataObject *whichItem) const |
| virtual bool16 | CanConvertExternalFlavor (ExternalPMFlavor fromWhichFlavor) const |
| virtual void | AddInternalizeableFlavorsToList (OrderedFlavorList &flavorList) const |
| virtual void | AddExternalizeableFlavorsToList (OrderedFlavorList &flavorList) const |
| virtual ErrorCode | ExternalizePromises (IPMDataObject *whichItem) |
| virtual ErrorCode | Externalize (IPMDataObject *whichItem, ExternalPMFlavor toWhichFlavor, IPMStream *s) |
| virtual ErrorCode | Internalize (IPMDataObject *whichItem) |
| virtual ErrorCode | Internalize (IPMDataObject *whichItem, ExternalPMFlavor fromWhichFlavor, IPMStream *s) |
Protected Member Functions | |
| ErrorCode | Delegate_ExternalizePromises (IPMDataObject *whichItem, OrderedPromiseList &orderedPromiseList) |
| IDataExchangeHandlerFlavorHelper * | QueryBestHelperForInternalize (IPMDataObject *whichItem, DataExchangeResponse &bestHelperResponse) const |
| IDataExchangeHandlerFlavorHelper * | QueryHelper_ForAction (eActionType action, ExternalPMFlavor whichFlavor, DataExchangeResponse &bestHelperResponse) const |
eActionType | |
enumeration of the different actions an IDataExchHandlerFlavorHelper can be called upon to perform | |
| enum | eActionType { kInternalizeFlavorAction, kExternalizeFlavorAction } |
| virtual void | Clear ()=0 |
| virtual bool16 | IsEmpty () const =0 |
| virtual PMFlavor | GetFlavor () const =0 |
Additional Inherited Members | |
Public Types inherited from IDataExchangeHandler | |
| enum | { kDefaultIID = IID_IDATAEXCHANGEHANDLER } |
Extensible implementation of the IDataExchangeHandler interface used in data exchange operations. Implementors of non-trivial IDataExchangeHandlers should derive from CDataExchangeHandler_Extensible, unless they have a good reason to avoid extensibility.
| virtual |
Get the external flavors that can be produced in Externalize.
Implements IDataExchangeHandler.
| virtual |
Get the external flavors that can be converted during Internalize.
Implements IDataExchangeHandler.
| virtual |
Can this handler convert from an external flavor to it's internal flavor?
Implements IDataExchangeHandler.
| virtual |
Can this handler convert the data to it's internal flavor?
Implements IDataExchangeHandler.
| pure virtual |
| pure virtual |
Create handler specific initial data (colors, styles, etc.) required for a new scrap database.
Implements IDataExchangeHandler.
| protected |
Gather the promises to be externalized from the helpers
| virtual |
Externalize the contents into the given flavor on a stream.
Implements IDataExchangeHandler.
| virtual |
Make Externalization promises.
Implements IDataExchangeHandler.
| pure virtual |
Get the Internal flavor (data type) this handler deals with.
Implements IDataExchangeHandler.
| virtual |
Internalize the data item.
Implements IDataExchangeHandler.
| virtual |
Internalize the contents of a stream as the given flavor.
Implements IDataExchangeHandler.
| pure virtual |
Does the handler contain data, or is it empty.
Implements IDataExchangeHandler.
| protected |
Find the best helper for internalization
| protected |
Find the best helper for a specific flavor conversion