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

Public Types | |
| enum | { kDefaultIID = IID_ILINKRESOURCEHELPERHANDLER } |
Public Member Functions | |
| virtual ILinkResourceHelper::IconStatus | GetIcon (const UIDRef &ref, const URI &uri, const ILink *link) const =0 |
| virtual ILinkResourceHelper::IconStatus | GetPageItemAdornmentIcon (const UIDRef &ref, const URI &uri, const ILink *link) const =0 |
| virtual bool | CanDoDoubleClickInaccessibleAction () const =0 |
| virtual void | DoubleClickInaccessibleAction () const =0 |
| virtual void | ReplaceWithOriginalAsset () const =0 |
| virtual bool | IsInaccessibleActionSupportedURIScheme () const =0 |
| virtual void | InaccessibleActionOnOpenDoc () const =0 |
| virtual PMString | InaccessibleLinksWarningMessage (int32 count) const =0 |
| virtual bool | CanProvideSupportedApplicationList (const UIDRef &ref, const URI &uri) const =0 |
| virtual void | GetSupportedApplicationList (const UIDRef &ref, const URI &uri, AppInfoList &appList, bool16 bDefaultEditorOnly=false) const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Experimental interface - will be modified/documented in future.
| pure virtual |
Determines if a resource can provide the list of supported applications which can be used to open resource. This list is shown in the context menu of this resource. Remeber to override function GetSupportedApplicationList too if returning true here.
| ref | [IN] UID reference of the link resource. |
| uri | [IN] URI of the link resource. |
Implemented in HTTPAssetLinkResourceHelperHandler, and CusDtLnkLinkResourceHelperHandler.
| pure virtual |
Get the list of applications supported by resource. This list is shown in the context menu of this link. This function is called only if CanProvideSupportedApplicationList return true. This function will genreally be used when user want to customize/add/delete to the list of softwares which can be used to edit this resource.
| ref | [IN] UID reference of the link resource. |
| uri | [IN] URI of the link resource. |
| bDefaultEditorOnly | [IN] if to fill the list with only default editor |
| appList | [OUT] list which will be filled with supported applications |
Implemented in HTTPAssetLinkResourceHelperHandler, and CusDtLnkLinkResourceHelperHandler.