InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
HTTPAssetLinkResourceHelperHandler Class Reference

#include <HTTPAssetLinkResourceHelperHandler.h>

Inheritance diagram for HTTPAssetLinkResourceHelperHandler:
CPMUnknown< ILinkResourceHelperHandler >ILinkResourceHelperHandlerIPMUnknownCusHttpLnkLinkResourceHelperHandler

Public Types

typedef CPMUnknown
< ILinkResourceHelperHandler
inherited
 

Public Member Functions

 HTTPAssetLinkResourceHelperHandler (IPMUnknown *boss)
 
virtual
ILinkResourceHelper::IconStatus 
GetIcon (const UIDRef &ref, const URI &uri, const ILink *link) const
 
virtual
ILinkResourceHelper::IconStatus 
GetPageItemAdornmentIcon (const UIDRef &ref, const URI &uri, const ILink *link) const
 
virtual bool CanDoDoubleClickInaccessibleAction () const
 
virtual void DoubleClickInaccessibleAction () const
 
virtual void ReplaceWithOriginalAsset () const
 
virtual bool IsInaccessibleActionSupportedURIScheme () const
 
virtual void InaccessibleActionOnOpenDoc () const
 
virtual PMString InaccessibleLinksWarningMessage (int32 count) const
 
virtual bool CanProvideSupportedApplicationList (const UIDRef &ref, const URI &uri) const
 
virtual void GetSupportedApplicationList (const UIDRef &ref, const URI &uri, AppInfoList &appList, bool16 bDefaultEditorOnly=false) const
 
- Public Member Functions inherited from CPMUnknown< ILinkResourceHelperHandler >
IPMUnknownQueryInterface (PMIID interfaceID) const
 
void AddRef () const
 
void Release () const
 
void PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
void PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
 CPMUnknown (const CPMUnknown &)=delete
 
CPMUnknownoperator= (const CPMUnknown &)=delete
 

Additional Inherited Members

- Protected Member Functions inherited from CPMUnknown< ILinkResourceHelperHandler >
 CPMUnknown (IPMUnknown *boss)
 
- Protected Attributes inherited from CPMUnknown< ILinkResourceHelperHandler >
HelperInterface fHelperInterface
 

Detailed Description

Experimental header - will be modified/documented in future.

Member Function Documentation

virtual bool HTTPAssetLinkResourceHelperHandler::CanProvideSupportedApplicationList (const UIDRefref,
const URIuri 
) const
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.

Parameters
ref[IN] UID reference of the link resource.
uri[IN] URI of the link resource.
Returns
true if the resource can provide the list. List will be extracted using function GetSupportedApplicationList() in case this function returns true.

Implements ILinkResourceHelperHandler.

virtual void HTTPAssetLinkResourceHelperHandler::GetSupportedApplicationList (const UIDRefref,
const URIuri,
AppInfoListappList,
bool16 bDefaultEditorOnly = false 
) const
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.

Parameters
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

Implements ILinkResourceHelperHandler.